4. 实验配置及监测结果
电缆连接完成后。给所有设备加电,开始进行实验。
监测清单记录了本实验的操作。
第1段:在SW1和SW2上配置VTP
SW1912#conft Enter configuration commands,one per line.End with CNTL/Z SW1912(config)#hostn SW1 SW1(config)#vtp? clientVTP client domainSet VTP domanin name passowrd Set VTP password pruning VTP pruning serverVTP server transparent VTP transparent trap VTP trap SW1(config-if)#tnmk on SW1(config-if)# ( Ctrl+Shift+6,x ) Term_Server>2 [Resuming connection 2 to switch2...] >en #conft Enter configuration commands,one per line,End with CNTL/Z (config)#hostn SW2 SW2(config)#vtp domain cisco SW2(config)#vtp client SW2(config)# |
第2段:配置VLAN Trunk
( Ctrl+Shift+6,x ) Term_Server>2 [Resuming connection 2 to switch2...] SW1(config)#int fa0/26 SW1(config-if)#trunk? autoSet DISL state to AUTO desirable Set DISL state to DESIRABLE nonegotiate Set DISL state to NONEGOTIATE off Set DISL state to OFF on Set DISL state to ON SW1(config-if)#trunk on SW1(config-if)# (Ctrl+Shift+6,x) Term_Server>2 [Resuming connection 2 to switch2...] SW2(config)#int fa0/26 SW2(config-if)#trunk? SW2(config-if)# SW2#sh trunk a DISL state:On,Trunking:on,Encapsulation type:ISL SW2#sh trunk b DISL state:Off,Trunking:Off,Encapsulation type:Unknown SW2#sh trunk a allowed-vlans 1-1005 |