Administrator Guide
Fetching the Switchport Configuration and the
Logical Interface Configuration
Important Points to Remember
• The SNMP should be configured in the chassis and the chassis management interface should be up with
the IP address.
• If a port is configured in a VLAN, the respective bit for that port will be set to 1 in the specific VLAN.
• In the aggregator, all the server ports and uplink LAG 128 will be in switchport. Hence, the respective bits
are set to 1.
The following output is for the default VLAN.
Example of dot1qVlanCurrentUntaggedPorts output
snmpwalk -Os -c public -v 1 10.16.151.151 1.3.6.1.2.1.17.7.1.4.2.1.5
mib-2.17.7.1.4.2.1.5.0.1107525633 = Hex-STRING: FF FF FF FF 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 01 00
The last byte is free byte . The bit for LAGs starts from 43 byte. If server LAG 1 is created with server ports Te
0/6 and Te 0/7, the respective bit for the ports are unset and the bit for LAG 1 is set in default VLAN. The
corresponding output will be as follows:
snmpwalk -Os -c public -v 1 10.16.151.151 1.3.6.1.2.1.17.7.1.4.2.1.5
mib-2.17.7.1.4.2.1.5.0.1107525633 = Hex-STRING: F9 FF FF FF 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00
00 00 00 00 00 00 00 00 00
01 00
In the above example, the 43rd byte is set to 80. The 43rd byte is for LAG IDs from 1 to 8. But, only one LAG
po 1 is set as switch port. Hence, the binary bits will be 10000000. If this converted to Hexadecimal, the value
will be 80. Similarly, the first byte for Te 0/1 to Te 0/8 server ports, as the 6th and 7th byte are removed from
switch port, the respective bits are set to 0. In binary, the value is 11111001 and the corresponding hex
decimal value is F9.
In standalone mode, there are 4000 VLANs, by default. The SNMP output will display for all 4000 VLANs. To
view a particular VLAN, issue the snmp query with VLAN interface ID.
Dell#show interface vlan 1010 | grep “Interface index”
Interface index is 1107526642
Use the output of the above command in the snmp query.
snmpwalk -Os -c public -v 1 10.16.151.151 1.3.6.1.2.1.17.7.1.4.2.1.4.0.1107526642
mib-2.17.7.1.4.2.1.4.0.1107526642 = Hex-STRING: F9 FF FF FF 00 00 00 00 00 00 00
00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Simple Network Management Protocol (SNMP) 849