Posted on October 23, 2014 12:15 pm
 |  Asked by Peter Frank
 |  8687 views
RESOLVED
0
0
Print Friendly, PDF & Email

I’m using the CISCO-VTP-MIB with OID 1.3.6.1.4.1.9.9.46.1.3.1.1.4 for Cisco switches and I’m looking for an Arista-equivalent. Could you please help me with this?

Thanks in advance

Peter

Marked as spam
1
Posted by Vikram
Answered on October 23, 2014 5:21 pm

Hi Peter,

I believe you could use the Q-BRIDGE-MIB::dot1qVlanFdbId for querying the vlans.

Switch#show snmp mib translate Q-BRIDGE-MIB::dot1qVlanFdbId
.1.3.6.1.2.1.17.7.1.4.2.1.3

Example

Switch#show vlan
VLAN Name Status
----- -------------------------------- ------
1 default active
4 VLAN0004 active
7 VLAN0007 active
11 VLAN0011 active
12 VLAN0012 active
14 VLAN0014 active
15 VLAN0015 active
16 VLAN0016 active

Switch#show snmp mib walk .1.3.6.1.2.1.17.7.1.4.2.1.3
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][1] = Gauge32: 1
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][4] = Gauge32: 4
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][7] = Gauge32: 7
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][11] = Gauge32: 11
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][12] = Gauge32: 12
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][14] = Gauge32: 14
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][15] = Gauge32: 15
Q-BRIDGE-MIB::dot1qVlanFdbId[0:00:00.00][16] = Gauge32: 16

Alternatively you could look at the entire table by using the command
show snmp mib table Q-BRIDGE-MIB::dot1qVlanCurrentTable

Please do let us know if this suffices. Thanks

Thanks Vikram, worked like a charm!

(Peter Frank at October 24, 2014 9:18 am)
0
Posted by daniel salud
Answered on June 11, 2018 6:02 pm

can i use the same to verify how my VLANs are advertised on the Aristas?

0
Posted by daniel salud
Answered on June 11, 2018 7:21 pm

can i use the same to verify how my VLANs are advertised on the Aristas?

Post your Answer

You must be logged in to post an answer.