TRUNK PORT
Switch0があります。
●Switch0のfa0/1をトランクポートに設定してください。
●カプセル方式は802.1Qを使用し、VLAN1~10のみ通るように設定してください。
●VTP動作モードをクライアントモードに設定してください。
●デフォルトゲートウェイを192.168.0.1に設定してください。
●省略形コマンド(例「ter len 0」のような)による設定はできません。
「コマンドをすべて達成しました」のダイアログメッセージが表示されたら完了です。
解答
Switch0>enable
Switch0#
Switch0#configure terminal
Switch0(config)#
Switch0(config)#ip default-gateway 192.168.0.1
Switch0(config)#
Switch0(config)#interface fastEthernet 0/1
Switch0(config-if)#switchport mode trunk
Switch0(config-if)#switchport trunk encapsulation dot1q
Switch0(config-if)#switchport trunk allowed vlan 1-10
Switch0(config-if)#end
Switch0#
Switch0#vlan database
Switch0(vlan)#vtp client
Switch0(vlan)#exit
|