Fix Cisco VLAN membership issue introduced in 3.22 related to capturing port VLANs on Cisco interfaces which are configured for trunking but are not in operational trunking mode
This commit is contained in:
@@ -7,6 +7,12 @@ version 3.23
|
||||
* Update MIB used in L1::Asante
|
||||
* Enhanced STP support for L3::Extreme
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
* Fix Cisco VLAN membership issue introduced in 3.22 related to capturing
|
||||
port VLANs on Cisco interfaces which are configured for trunking but
|
||||
are not in operational trunking mode
|
||||
|
||||
version 3.22 (2014-12-02)
|
||||
|
||||
[ENHANCEMENTS]
|
||||
|
||||
@@ -235,8 +235,8 @@ sub i_vlan_membership {
|
||||
foreach my $port ( keys %$i_vlan ) {
|
||||
my $vlan = $i_vlan->{$port};
|
||||
next unless defined $vlan;
|
||||
my $stat = $trunk_dyn_stat->{$port};
|
||||
if ( defined $stat and $stat =~ /notTrunking/ ) {
|
||||
my $dyn = $trunk_dyn->{$port};
|
||||
unless ($dyn and (($dyn eq 'on') or ($dyn eq 'onNoNegotiate'))) {
|
||||
push( @{ $i_vlan_membership->{$port} }, $vlan );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user