2、 交换机的配置情况(配置Trunk与VTP) Switchl上的配置: Switch>enable Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vtp domain test Changing VTP domain name from NULL to test Switch(config)#vtp password 123456 Setting device VLAN database password to 123456 Switch(config)#interface f2/1 Switch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on FastEthernet2/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on FastEthernet2/1, changed state to up Switch(config-if)#exit Switch(config)#interface fO/1 Switch(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on FastEthernetO/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on FastEthernetO/1, changed state to up Interface Interface Interface Interface Switch(config-if)#exit Switch(config)#exit Switch# %SYS-5-CONFIGJ: Configured from console by console Switch#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Switch# SwitchO上的配置 Switch>enable S