This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@portal:/usr/local/sflow# /usr/local/bin/update-l2databaseRH.pl --debug --vlan 998 | |
-su: /usr/local/bin/update-l2databaseRH.pl: No such file or directory | |
root@portal:/usr/local/sflow# /usr/local/bin/update-l2database.pl --debug --vlan 998 | |
DEBUG174: processing ptk-fabric-nwax-1 | |
DEBUG271 snmpwalk2hash() NWAXv2.0@ptk-fabric-nwax-1 | |
DEBUG284 snmpwalk2hash() HASH(0x89cafd0) | |
DEBUG271 snmpwalk2hash() NWAXv2.0@ptk-fabric-nwax-1 | |
DEBUG284 snmpwalk2hash() HASH(0x8787f3c) | |
DEBUG179: pre-emptively trying Juniper jnxExVlanTag to see if we're on a J-EX box (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ptk-fabric-nwax-1 | |
DEBUG271 snmpwalk2hash() NWAXv2.0@ptk-fabric-nwax-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@portal:/usr/local/ixp# /usr/local/bin/update-l2databaseRH.pl --debug --vlan 998 | |
DEBUG: processing ptk-fabric-nwax-1 | |
DEBUG: pre-emptively trying Juniper jnxExVlanTag to see if we're on a J-EX box (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ptk-fabric-nwax-1 | |
DEBUG: looks like we're running on a Juniper EX box on ptk-fabric-nwax-1 | |
DEBUG: attempting to retrieve dot1qVlanFdbId mapping (.1.3.6.1.2.1.17.7.1.4.2.1.3) on ptk-fabric-nwax-1 | |
DEBUG: got mapping index: 998 maps to 2 on ptk-fabric-nwax-1 | |
DEBUG: attempting Q-BRIDGE-MIB (.1.3.6.1.2.1.17.7.1.2.2.1.2.2) on ptk-fabric-nwax-1 | |
DEBUG: processing ex4500 | |
DEBUG: pre-emptively trying Juniper jnxExVlanTag to see if we're on a J-EX box (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ex4500 | |
DEBUG: looks like we're running on a Juniper EX box on ex4500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@portal:~# /usr/local/bin/update-l2database.pl --debug --vlan 998 | |
DEBUG: processing ptk-fabric-nwax-1 | |
DEBUG: pre-emptively trying Juniper jnxExVlanTag to see if we're on a J-EX box (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ptk-fabric-nwax-1 | |
DEBUG: looks like we're running on a Juniper EX box on ptk-fabric-nwax-1 | |
DEBUG: attempting to retrieve dot1qVlanFdbId mapping (.1.3.6.1.2.1.17.7.1.4.2.1.3) on ptk-fabric-nwax-1 | |
DEBUG: got mapping index: 998 maps to 2 on ptk-fabric-nwax-1 | |
DEBUG: attempting Q-BRIDGE-MIB (.1.3.6.1.2.1.17.7.1.2.2.1.2.2) on ptk-fabric-nwax-1 | |
DEBUG: processing ex4500 | |
DEBUG: pre-emptively trying Juniper jnxExVlanTag to see if we're on a J-EX box (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ex4500 | |
DEBUG: looks like we're running on a Juniper EX box on ex4500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@portal:/usr/local/ixp# /usr/local/bin/update-l2database.pl --debug --vlan 998 | |
DEBUG: processing ptk-fabric-nwax-1 | |
DEBUG: attempting to retrieve dot1qVlanFdbId mapping (.1.3.6.1.2.1.17.7.1.4.2.1.3) on ptk-fabric-nwax-1 | |
DEBUG: that didn't work. let's try Juniper EX jnxExVlanTag mapping instead (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ptk-fabric-nwax-1 | |
DEBUG: got mapping index: 998 maps to 2 on ptk-fabric-nwax-1 | |
DEBUG: attempting Q-BRIDGE-MIB (.1.3.6.1.2.1.17.7.1.2.2.1.2.2) on ptk-fabric-nwax-1 | |
DEBUG: processing ex4500 | |
DEBUG: attempting to retrieve dot1qVlanFdbId mapping (.1.3.6.1.2.1.17.7.1.4.2.1.3) on ex4500 | |
DEBUG: that didn't work. let's try Juniper EX jnxExVlanTag mapping instead (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ex4500 | |
DEBUG: got mapping index: 998 maps to 2 on ex4500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@portal:~# /usr/local/bin/update-l2database.pl --debug --vlan 998 | |
DEBUG: processing ex4500 | |
DEBUG: attempting to retrieve dot1qVlanFdbId mapping (.1.3.6.1.2.1.17.7.1.4.2.1.3) on ex4500 | |
DEBUG: that didn't work. let's try Juniper EX jnxExVlanTag mapping instead (.1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5) on ex4500 | |
DEBUG: got mapping index: 998 maps to 2 on ex4500 | |
DEBUG: attempting Q-BRIDGE-MIB (.1.3.6.1.2.1.17.7.1.2.2.1.2.2) on ex4500 | |
$l2mapping = { | |
'ex4500' => { | |
'ge-0/0/39.0' => [ | |
'00d02b194100' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iso.3.6.1.2.1.2.1.0 = INTEGER: 179 | |
iso.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4 | |
iso.3.6.1.2.1.2.2.1.1.5 = INTEGER: 5 | |
iso.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6 | |
iso.3.6.1.2.1.2.2.1.1.7 = INTEGER: 7 | |
iso.3.6.1.2.1.2.2.1.1.8 = INTEGER: 8 | |
iso.3.6.1.2.1.2.2.1.1.9 = INTEGER: 9 | |
iso.3.6.1.2.1.2.2.1.1.10 = INTEGER: 10 | |
iso.3.6.1.2.1.2.2.1.1.11 = INTEGER: 11 | |
iso.3.6.1.2.1.2.2.1.1.12 = INTEGER: 12 |