White Papers

Table Of Contents
Example of Fetching MAC Addresses Learned on the Default VLAN Using SNMP
Example of Fetching MAC Addresses Learned on a Non-default VLAN Using SNMP
Example of Fetching MAC Addresses Learned on a Port-Channel Using SNMP
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 Force10 System-------------------
DellEMC(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 EMC Networking OS assigns an interface index to each (configured and unconfigured) physical and logical interface,
and displays it in the output of the show interface command.
The interface index is a binary number with bits that indicate the slot number, port number, interface type, and card type of
the interface. Dell EMC 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
The Slot-Port Number value the slotId and portId parameters as follows: slotPortNum = ((slotId +1) *
IFM_IFINDEX_MAX_PORTS_PER_SLOT + portId).
On the Z9500, the IFM_IFINDEX_MAX_PORTS_PER_SLOT value is 192 (10G). For backward compatibility, the
IFM_IFINDEX_MAX_PORTS_PER_SLOT value is 128 on other Dell EMC Networking switches.
For example, the index 72925242 is 100010110001100000000111010 in binary. The binary interface index for TeGigabitEthernet
1/21 of a 48-port 10/100/1000Base-T line card with RJ-45 interface. Notice that the physical/logical bit and the final, unused bit
are not given. The interface is physical, so represent this type of interface by a 0 bit, and the unused bit is always 0. These 2
bits are not given because they are the most significant bits, and leading zeros are often omitted.
The slotId value is derived as follows: slotId = (slotPortNum / IFM_IFINDEX_MAX_PORTS_PER_SLOT) -1.
The portId value is derived as follows: portId = slotPortNum % IFM_IFINDEX_MAX_PORTS_PER_SLOT.
For example, the interface index 51528196 for the FortyGigE 0/4 port is 0000 0011 0001 0010 0100 0010 0000 0100 in binary
format as shown in the following figure.
To display the interface number, use the following command.
Display the interface index number.
EXEC Privilege mode
show interface
To view the system image on Flash Partition A, use the chSysSwInPartitionAImgVers object or, to view the system image on
Flash Partition B, use the chSysSwInPartitionBImgVers object.
792
Simple Network Management Protocol (SNMP)