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:
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...