2013年4月11日 星期四

Cisco 2960 設置筆記


Cisco 2960 設置筆記

en …. enable
conf t     ….設置介面
int Fa0/1    …… 設置 interface Fa0/1,即是FastEthernet 1port
copy running-config startup-config    ….. 將現行設置至起動設置
show vlan   …把目前interface情況顯示出來
show interface trunk   …因為show vlan不會把trunk mode的interface顯示出來,所以要用這個指令去檢測trunk情況
show interface status    … 目前interface的使用狀態 

設置Trunk Mode
conf t
int Fa0/1
switchport mode trunk
switchport trunk allowed vlan 11
exit

設置Access Mode
conf t
int Fa0/1
switchport mode access
switchport access vlan 11
exit
Google