文档介绍:Chapter 10
划分VLAN
Segmentation
Flexibility
Security
3rd floor
2nd floor
1st floor
SALES
HR
ENG
A VLAN = ynchronize
Saved in NVRAM
How VTP Works
VTP advertisements are sent as multicast frames
VTP servers and clients synchronized to latest revision number
VTP advertisement are sent every five minutes or when there is a change
VTP advertisements are sent as multicast frames
VTP servers and clients synchronized to latest revision number
VTP advertisement are sent every five minutes or when there is a change
new VLAN
3 --> Rev 4
Server
Client
Client
3 --> Rev 4
new vlan info
3
3
3 --> Rev 4
new vlan info
How VTP Works
Increases available bandwidth by reducing unnecessary flooded traffic
Example: Station A sends broadcast, broadcast is only flooded toward any switch with ports assigned to the red VLAN
Switch 4
Switch 2
Switch 6
Switch 3
Switch 1
Port 2
Floodedtraffic ispruned
RedVLAN
Port 1
Switch 5
A
B
VTP Pruning
Maximum number of VLANs is switch-dependent
Catalyst 1900 supports 64 VLANs with a separate spanning tree per VLAN
VLAN1 is One of the factory default VLANs
CDP and VTP advertisements are sent on VLAN1
Catalyst 1900 IP address is in the VLAN1 broadcast domain
Must be in VTP server or transparent mode to create, add, or delete VLANs
VLAN配置的一般原那么
Enable VTP (optional)
Enable trunking
Create VLANs
Assign VLAN to ports
VLAN配置步骤
VTP domain name
VTP mode (server/client/transparent)—VTP server mode is the default
VTP pruning
VTP password
VTP trap
VTP配置
Use caution when adding a new switch into an existing domain. A new switch should be added in client mode to prevent the new switch from propagating incorrect VLANs information
Use the delete vtp command to reset the VTP revision number
vtp [server | transparent] [domain domain-name] [trap {enable | disable}]
[password password] [pruning {enable | disable}
wg_sw_a(config)#
Creating a VTP Domain
wg_sw_a#conf terminal