194 | Simple Network Management Protocol (SNMP)w w w . d e l l . c o m | s u p p o r t . d e l l . c o mDisplaying the Ports in a VLAN Using SNMPFTOS identifies VLAN interfaces using an interface index number that is displayed in the output of thecommand show interface vlan, as shown in Figure 16-5.Figure 16-5. Identifying the VLAN Interface Index NumberTo display the ports in a VLAN, send an snmpget request for the object dot1qStaticEgressPorts using theinterface index as the instance number, as shown in Figure 16-6.Figure 16-6. Display the Ports in a VLAN in SNMPThe table that the Aggregator system sends in response to the snmpget request is a table that containshexadecimal (hex) pairs, each pair representing a group of eight ports.• 7 hex pairs represents a stack unit. Seven pairs accommodates the greatest number of ports availableon an Aggregator, 56 ports. The last stack unit is assigned 8 pairs; the eighth pair is unused.The first hex pair, 00 in Figure 16-6, represents ports 1-7 in Stack Unit 0. The next pair to the rightrepresents ports 8-15. To resolve the hex pair into a representation of the individual ports, convert the hexpair to binary. Consider the first hex pair 00, which resolves to 0000 0000 in binary:• Each position in the 8-character string is for one port, starting with Port 1 at the left end of the string,and ending with Port 8 at the right end. A 0 indicates that the port is not a member of the VLAN; a 1indicates VLAN membership.FTOS(conf)#do show interface vlan 10Vlan 10 is down, line protocol is downAddress is 00:01:e8:cc:cc:ce, Current address is 00:01:e8:cc:cc:ceInterface index is 1107787786Internet address is not setMTU 1554 bytes, IP MTU 1500 bytesLineSpeed autoARP type: ARPA, ARP Timeout 04:00:00Last clearing of "show interface" counters 00:12:42Queueing strategy: fifoTime since last interface status change: 00:12:42> snmpget -v2c -c mycommunity 10.11.131.185 .1.3.6.1.2.1.17.7.1.4.3.1.2.1107787786SNMPv2-SMI::mib-2.17.7.1.4.3.1.2.1107787786 = Hex-STRING:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00 00 00 00 00