. .
SwitchX#
NOTE By default, all ports are members of VLAN 1.
Example 2-4 Con?¬?guring VLAN Port Assignment
SwitchX# ccoonnffiigguurree tteerrmmiinnaall
SwitchX(config)# iinntteerrffaaccee rraannggee ffaasstteetthheerrnneett 00//22 -- 44
SwitchX(config-if)# sswwiittcchhppoorrtt aacccceessss vvllaann 2
SwitchX# sshhooww vvllaann
VLAN Name Status Ports
---- -------------------------------- --------- ----------------------
1 default active Fa0/1
2 switchlab99 active Fa0/2, Fa0/3, Fa0/4
Example 2-3 Displaying VLAN Information (Continued)
38 Chapter 2: Medium-Sized Switched Network Construction
Use the show vlan brief privileged EXEC command to display the VLAN assignment and
membership type for all switch ports, as demonstrated in Example 2-5.
Alternatively, use the show interfaces interface switchport privileged EXEC command to
display the VLAN information for a particular interface, as demonstrated in Example 2-6.
Adds, Moves, and Changes for VLANs
As network topologies, business requirements, and individual assignments change, VLAN
requirements also change.
To add, change, or delete VLANs, the switch must be in VTP server or transparent mode.
Pages:
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78