beautypg.com

Deriving interface indices – Dell PowerEdge FX2/FX2s User Manual

Page 183

background image

>snmpwalk -v 2c -c techpubs 10.11.131.162 .1.3.6.1.2.1.17.4.3.1

SNMPv2-SMI::mib-2.17.4.3.1.1.0.1.232.6.149.172 = Hex-STRING: 00 01 E8 06 95 AC

Example of Fetching Dynamic MAC Addresses on a Non-default VLANs

In the following example, TenGigabitEthernet 0/7 is moved to VLAN 1000, a non-default VLAN. To fetch
the MAC addresses learned on non-default VLANs, use the object dot1qTpFdbTable. The instance
number is the VLAN number concatenated with the decimal conversion of the MAC address.

-----------------------------MAC Addresses on Dell Networking

System-------------------------------

Dell#show mac-address-table

VlanId Mac Address Type Interface State

1000 00:01:e8:06:95:ac Dynamic Tengig 0/7 Active

---------------Query from Management Station----------------

>snmpwalk -v 2c -c techpubs 10.11.131.162 .1.3.6.1.2.1.17.7.1.2.2.1

Example of Fetching MAC Addresses Learned on a Port-Channel

Use dot3aCurAggFdbTable to fetch the learned MAC address of a port-channel. The instance number is
the decimal conversion of the MAC address concatenated with the port-channel number.

-----------------------------MAC Addresses on Dell Networking

System-------------------------------

Dell(conf)#do show mac-address-table

VlanId Mac Address Type Interface State

1000 00:01:e8:06:95:ac Dynamic Po 1 Active

-------------Query from Management Station----------------------

>snmpwalk -v 2c -c techpubs 10.11.131.162 .1.3.6.1.4.1.6027.3.2.1.1.5

SNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.1.1000.0.1.232.6.149.172.1 = INTEGER:

1000

SNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.2.1000.0.1.232.6.149.172.1 = Hex-

STRING: 00 01 E8

06 95 AC

SNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.3.1000.0.1.232.6.149.172.1 = INTEGER: 1

SNMPv2-SMI::enterprises.6027.3.2.1.1.5.1.4.1000.0.1.232.6.149.172.1 = INTEGER: 1

Deriving Interface Indices

The Dell Networking OS assigns an interface number to each (configured or unconfigured) physical and

logical interface. Display the interface index number using the show interfacecommand from EXEC

Privilege mode, as shown in the following example.

The interface index is a binary number with bits that indicate the slot number, port number, interface

type, and card type of the interface. The Dell Networking OS converts this binary index number to

decimal, and displays it in the output of the show interface command.
Starting from the least significant bit (LSB):

• the first 14 bits represent the card type
• the next 4 bits represent the interface type
• the next 7 bits represent the port number
• the next 5 bits represent the slot number
• the next 1 bit is 0 for a physical interface and 1 for a logical interface
• the next 1 bit is unused

For example, the index 44634369 is 10101010010001000100000001 in binary. The binary interface index
for TenGigabitEthernet 0/4 of an Aggregator. Notice that the physical/logical bit and the final, unused bit

Simple Network Management Protocol (SNMP)

183