Simple Network Management Protocol | 997Manage VLANs using SNMPThe qBridgeMIB managed objects in the Q-BRIDGE-MIB, defined in RFC 2674, enable you to use SNMPmanage VLANs.Create a VLANUse the dot1qVlanStaticRowStatus object to create a VLAN. The snmpset operation in Figure 48-15creates VLAN 10 by specifying a value of 4 for instance 10 of the dot1qVlanStaticRowStatus object.Figure 48-15. Creating a VLAN using SNMPAssign a VLAN AliasWrite a character string to the dot1qVlanStaticName object to assign a name to a VLAN, as shown inFigure 48-16.Figure 48-16. Assign a VLAN Alias using SNMPDisplay the Ports in a VLANFTOS identifies VLAN interfaces using an interface index number that is displayed in the output of thecommand show interface vlan, as shown in Figure 48-17.> snmpset -v2c -c mycommunity 123.45.6.78 .1.3.6.1.2.1.17.7.1.4.3.1.5.10 i 4SNMPv2-SMI::mib-2.17.7.1.4.3.1.5.10 = INTEGER: 4[Unix system output]> snmpset -v2c -c mycommunity 10.11.131.185 .1.3.6.1.2.1.17.7.1.4.3.1.1.1107787786 s "MyVLAN"SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1107787786 = STRING: "My VLAN"[FTOS system output]FTOS#show int vlan 10Vlan 10 is down, line protocol is downVlan alias name is: My VLANAddress 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 01:01:00Queueing strategy: fifoTime since last interface status change: 01:01:00