The following example shows viewing VLAN ports using SNMP with no ports assigned.
> snmpget -v2c -c mycommunity 10.11.131.185 .
1.3.6.1.2.1.17.7.1.4.3.1.2.1107787786
SNMPv2-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 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
The table that the Dell Networking system sends in response to the
snmpget
request is a table that
contains hexadecimal (hex) pairs, each pair representing a group of eight ports.
• Seven hex pairs represent a stack unit. Seven pairs accommodate the greatest number of ports
available — 64 ports on the device. The last stack unit begins on the 66th bit.
The first hex pair, 00 in the previous example, represents ports 1 to 7 in Stack Unit 0. The next pair to the
right represents ports 8 to 15. To resolve the hex pair into a representation of the individual ports, convert
the hex pair 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 1
indicates VLAN membership.
All hex pairs are 00, indicating that no ports are assigned to VLAN 10. In the following example, Port 0/2 is
added to VLAN 10 as untagged; the first hex pair changes from 00 to 04.
The following example shows viewing VLAN ports using SNMP with ports assigned.
[Dell Networking OS system output]
R5(conf)#do show vlan id 10
Codes: * - Default VLAN, G - GVRP VLANs
Q: U - Untagged, T - Tagged
x - Dot1x untagged, X - Dot1x tagged
G - GVRP tagged, M - Vlan-stack
NUM Status Description Q Ports
10 Inactive U Te 0/2
[Unix system output]
> snmpget -v2c -c mycommunity 10.11.131.185 .
1.3.6.1.2.1.17.7.1.4.3.1.2.1107787786
SNMPv2-SMI::mib-2.17.7.1.4.3.1.2.1107787786 = Hex-STRING: 40 00 00 00 00 00 00
00 00 00 00
The value 40 is in the first set of 7 hex pairs, indicating that these ports are in Stack Unit 0. The hex value
40 is 0100 0000 in binary. As described, the left-most position in the string represents Port 1. The next
position from the left represents Port 2 and has a value of 1, indicating that Port 0/2 is in VLAN 10. The
remaining positions are 0, so those ports are not in the VLAN.
NOTE: The table contains none of the other information the command provides, such as port speed
or whether the ports are tagged or untagged.
946
Simple Network Management Protocol (SNMP)
Summary of Contents for S4820T
Page 1: ...Dell Configuration Guide for the S4820T System 9 8 0 0 ...
Page 282: ...Dell 282 Control Plane Policing CoPP ...
Page 622: ...Figure 81 Configuring Interfaces for MSDP 622 Multicast Source Discovery Protocol MSDP ...
Page 623: ...Figure 82 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 623 ...
Page 629: ...Figure 86 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 629 ...
Page 630: ...Figure 87 MSDP Default Peer Scenario 3 630 Multicast Source Discovery Protocol MSDP ...
Page 751: ...10 11 5 2 00 00 05 00 02 04 Member Ports Te 1 2 1 PIM Source Specific Mode PIM SSM 751 ...
Page 905: ...Figure 112 Single and Double Tag First byte TPID Match Service Provider Bridging 905 ...
Page 979: ...6 Member not present 7 Member not present Stacking 979 ...
Page 981: ...storm control Storm Control 981 ...
Page 1103: ...Figure 134 Setup OSPF and Static Routes Virtual Routing and Forwarding VRF 1103 ...