292
Configuring VLANs
Additional References
Configuring an Access Port in a VLAN: Example
This example shows how to configure a port as an access port in VLAN 2:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface GigabitEthernet1/17
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 2
Switch(config-if)# end
Configuring an Extended-Range VLAN: Example
This example shows how to create a new extended-range VLAN with all default characteristics:
Switch(config)# vtp mode transparent
Switch(config)# vlan 2000
Switch(config-vlan)# end
Switch# copy running-config startup config
Configuring a Trunk Port: Example
This example shows how to configure a port as an IEEE 802.1Q trunk. The example assumes that the neighbor interface
is configured to support IEEE 802.1Q trunking.
Switch(config)# interface GigabitEthernet1/18
Switch(config-if)# switchport mode dynamic desirable
Switch(config-if)# end
Removing a VLAN: Example
This example shows how to remove VLAN 2 from the allowed VLAN list on a port:
Switch(config)# interface GigabitEthernet1/17
Switch(config-if)# switchport trunk allowed vlan remove 2
Switch(config-if)# end
Show VMPS Output: Example
This is an example of output for the show vmps privileged EXEC command:
Switch# show vmps
VQP Client Status:
--------------------
VMPS VQP Version: 1
Reconfirm Interval: 60 min
Server Retry Count: 3
VMPS domain server: 172.20.128.86 (primary, current)
172.20.128.87
Reconfirmation status
---------------------
VMPS Action: other
Additional References
The following sections provide references related to switch administration: