Simple Network Management Protocol |
999
Figure 48-18
shows the output for an S-Series. All hex pairs are 00, indicating that no ports are assigned to
VLAN 10. In
Figure 48-19
, Port 0/2 is added to VLAN 10 as untagged. And the first hex pair changes
from 00 to 04.
Figure 48-19. Displaying Ports in a VLAN using SNMP
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 above, 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 that the table contains none of the other information provided by the
show vlan
command, 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, as shown in
Figure 48-20
.
•
To add an untagged port to a VLAN, write the port to the dot1qVlanStaticEgressPorts and
dot1qVlanStaticUntaggedPorts objects, as shown in
Figure 48-21
.
In
Figure 48-20
, Port 0/2 is added as an untagged member of VLAN 10.
Note:
Whether adding a tagged or untagged port, you must specify values for both
dot1qVlanStaticEgressPorts and dot1qVlanStaticUntaggedPorts.
[FTOS 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 Gi 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
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
Содержание Force10 E300
Страница 1: ...FTOS Configuration Guide FTOS 8 4 2 7 E Series TeraScale C Series S Series S50 S25 ...
Страница 32: ...32 w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 132: ...132 802 1X w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 310: ...310 Configuration Replace and Rollback w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 330: ...330 Dynamic Host Configuration Protocol w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 402: ...402 High Availability w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 462: ...462 Interfaces w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 482: ...482 IPv4 Addressing w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 506: ...506 IPv6 Addressing w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 540: ...540 Intermediate System to Intermediate System w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 582: ...582 Layer 2 w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 642: ...642 Multicast Source Discovery Protocol w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 662: ...662 Multiple Spanning Tree Protocol w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 690: ...690 Object Tracking w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 746: ...746 Open Shortest Path First OSPFv2 and OSPFv3 w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 754: ...754 PIM Dense Mode w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 784: ...784 PIM Source Specific Mode w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 800: ...800 Power over Ethernet w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 876: ...876 Quality of Service w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 892: ...892 Routing Information Protocol w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1006: ...1006 Simple Network Management Protocol w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1018: ...1018 SONET SDH w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1048: ...1048 Broadcast Storm Control w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1096: ...1096 Uplink Failure Detection UFD w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1098: ...1098 Upgrade Procedures w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1196: ...1196 C Series Debugging and Diagnostics w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1252: ...1252 Standards Compliance w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 1262: ...1262 Index w w w d e l l c o m s u p p o r t d e l l c o m ...