background image
134
Chapter 3
VLANs
Commands Used in This Chapter
Access Layer Switch Commands
(1900 Switch in This Book)
Meaning
interface
Used to select an interface
trunk
Turns trunking on or off of
interface fa0/26 and fa0/27
no trunk-vlan
Removes VLANs from a trunked
link
vlan
Sets VLAN information
vlan-membership
Sets an interface to a VLAN
vtp name
Configures the VTP domain name
vtp mode
Changes the VTP mode to server,
transparent, or client
vtp password
Sets an optional vtp password
show vtp
Shows the switches' VTP
configuration
Distribution Layer switch
command (5000 Series in
This Book)
Meaning
set vlan
Creates a VLAN and also assigns
port to a VLAN
set trunk
Configures trunking on a port
clear trunk
Clears VLANs from a trunked
port
set vtp domain
Sets the VTP domain name
set vtp mode
Sets the VTP mode of the switch
set vtp passwd
Sets the optional VTP password
show vlan
Shows the configured VLANs
show vtp domain
Shows the VTP domain
configurations
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com