Specifications

CHAPTER 2
VLAN Implementation
Creating a VLAN and Assigning Ports
VLANs must be created before they can be used. Creating VLANs is easy—in global configuration mode just identify the
VLAN number and optionally name it!
(config)#
vlan 12
(config-vlan)#
name MYVLAN
Delete a VLAN by using the same command with no in front of it. There is no need to include the name when deleting.
When statically assigning ports to VLANs, first make the interface an access port, and then assign the port to a VLAN. At
the interface configuration prompt:
(config-if)#
switchport mode access
(config-if)#
switchport access vlan 12
Verifying VLAN Configuration
To see a list of all the VLANs and the ports assigned to them, use the command show vlan. To narrow down the informa-
tion displayed, you can use these keywords after the command: brief, id, vlan-number, or name vlan-name:
ASW# show vlan brief
VLAN Name Status Ports
—— ———————————————— ————- ———————————————
1 default active Fa0/1, Fa0/2, Fa0/3,
Fa0/10,Fa0/11,Fa0/12
20 VLAN0020 active Fa0/5,Fa0/6,Fa0/7
21 VLAN0021 active Fa0/8,Fa0/9
1002 fddi-default active
1003 trcrf-default active
1004 fddinet-default active
1005 trbrf-default active
[ 15 ]
© 2010 Pearson Education, Inc. All rights reserved. This publication is protected by copyright. Please see page 112 for more details.
CCNP SWITCH 642-813 Quick Reference by Denise Donohue