
LineSpeed auto
ARP type: ARPA, ARP Timeout 04:00:00
To display the ports in a VLAN, send an
snmpget
request for the object dot1qStaticEgressPorts using the interface index as the
instance number, as shown for an S-Series.
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 1. 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 1/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 1. 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 1/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.
Add Tagged and Untagged Ports to a VLAN
The value dot1qVlanStaticEgressPorts object is an array of all VLAN members.
The dot1qVlanStaticUntaggedPorts object is an array of only untagged VLAN members. All VLAN members that are not in
dot1qVlanStaticUntaggedPorts are tagged.
•
To add a tagged port to a VLAN, write the port to the dot1qVlanStaticEgressPorts object.
Simple Network Management Protocol (SNMP)
813
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...