【正文】
configif)exitSwitch2(config)int f0/24Switch2(configif)switchport mode trunk(紅色的是交換機(jī)自動生成的參數(shù)代碼)%LINEPROTO5UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down%LINEPROTO5UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to upSwitch2(configif)end%SYS5CONFIG_I: Configured from console by consoleSwitch2show vlan四臺PC機(jī)的配置省略?。?!測試:分別去測試PC1和PC3是通的,PC2和PC4是通的,其他都不通。