close





switch>en
switch#conf t
switch(config)# interface fastethernet0/1 ==>設定interface,也可以設定range
switch(config-if)# switchport mode access ==>將這個port設成access port
switch(config-if)# switchport port-security ==>啟用 port-security
switch(config-if)# switchport port-security maximum 1 ==>一個port只能允許一台電腦
switch(config-if)# switchport port-security violation shutdown ==>違反規定者即shutdown
switch(config-if)# switchport port-security mac-address sticky ==>自動學習mac,我們也可以看動輸入。
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 鵝 的頭像

    mini鵝的天地

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