CCNA综合实验
第一步:配置总部交换网络
Switch(config)#hos core-sw-3560
core-sw(config)#interface range f0/20 - 24
core-sw(config-if-range)#switchport mode trunk
在2960上配置
Switch(config)#hos sw2-2960
sw2-2960(config)#int range f0/23 - 24
sw2-2960(config-if-range)#switchport mode trunk
Switch(config)#hos sw3-2960
sw3-2960(config)#int range f0/23 - 24
sw3-2960(config-if-range)#switchport mode trunk
查看
core-sw-3560#show interface trunk
Port Mode Encapsulation Status Native vlan
Fa0/20 on trunking 1
Fa0/21 on trunking 1
Fa0/23 on trunking 1
Fa0/24 on trunking 1
core-sw-3560(config)#vtp domain cisco
Changing VTP domain name from NULL to cisco
core-sw-3560(config)#vtp mode server(可以不做,默认是server模式)
Device mode already VTP SERVER.
core-sw-3560(config)#vtp password cisco
Setting device VLAN database password to cisco
sw2-2960(config)#vtp domain cisco
Domain name already set to cisco.
sw2-2960(config)#vtp mode client
Setting device to VTP CLIENT mode.
sw2-2960(config)#vtp password cisco
Setting device VLAN database password to cisco
sw3-2960(config)#vtp domain cisco
Domain name already set to cisco.
sw3-2960(config)#vtp mode client
Setting device to VTP CLIENT mode.
sw3-2960(config)#vtp password cisco
Setting device VLAN database password to cisco
core-sw-3560(config)#vlan 2
core-sw-3560(config-vlan)#name serve
CCNA综合实验 来自淘豆网m.daumloan.com转载请标明出处.