close
--切VLAN
#vlan database
#vlan 2 name test2 //新增一個vid 2 name 叫 test2
#exit
#configure terminal
#int Gi1/0/25 //指定25PORT為vlan2
#switchport mode access
#switchport access vlan 2
#end
//儲存結果
#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
--設定default gateway
ip default-gateway 1.1.1.1
全站熱搜