正在加载图片...
Switch A(config-if)#end Switch B(config)#interface fastethernet 0/1 Switch B(config-if)#switchport mode trunk Switch B(config-if)#switchport trunk encapsulation dot1q Switch B(config-if)#end Step13测试 dotlq trunk 三.VLAN的VTP配置 本实验需要2900交换机两台,PC机两台, console线一条 FA0/12 FAO/1 FAO/1 Switch 1 Trunk 802.1q 2/FAO/12 Switch Switch Enable Enable, VTY, VLAN 1 IP Subnet VLAN Names Switch Port Designation Name Secret and Console Address Mask and Numbers Assignments Password Passwords Switch witchA cass 192168122552552550VLAN1 Native/2.03 Accounting VLAN 20 faon7·09 Switch 2 Switch_B class 102168132552552550VAN1 Native fao2.03 VLAN 1 fa014-06 VLAN 2 fao/7.09 VLAN 30 fa0/100/12 Serial cable step1配置交换机 参考上面的实验 step2为PC配置正确的IP地址,子网掩码和缺省网关 Step3测试连接性 由 switch ping两台PC机,检测连通性 step4显示VAN接口信息 Switch a#showⅴ1 step5配置vTP服务器端 Switch a#vlan database Switch A(vlan)#vtp server Switch A(vlan)#vtp domain groupl Switch A(vlan)#exit Step6创建,命名VANs Switch a#ylan databaseSwitch_A(config-if)#end Switch_B(config)#interface fastethernet 0/1 Switch_B(config-if)#switchport mode trunk Switch_B(config-if)#switchport trunk encapsulation dot1q Switch_B(config-if)#end Step 13 测试dot1q trunk 三.VLAN 的 VTP 配置 本实验需要 2900 交换机两台,PC 机两台,console 线一条 Step 1 配置交换机 参考上面的实验 Step 2 为PC配置正确的IP地址,子网掩码和缺省网关 Step 3 测试连接性 由switch ping两台PC机,检测连通性 Step 4 显示VLAN接口信息 Switch_A#show vlan Step 5 配置VTP服务器端 Switch_A#vlan database Switch_A(vlan)#vtp server Switch_A(vlan)#vtp domain group1 Switch_A(vlan)#exit Step 6 创建,命名VLANs Switch_A#vlan database
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有