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


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 fireyoyo 的頭像
    fireyoyo

    火星爸爸

    fireyoyo 發表在 痞客邦 留言(0) 人氣()