網路城邦
上一篇 回創作列表 下一篇   字體:
單一interface設定port-security三組MAC
2012/08/16 15:57:20瀏覽320|回應0|推薦0

預設 port-security maximum 為1
switch #conf t
switch (config)#interface fastEthernet 0/24 (例如在24埠設定)
switch (config-if)#switchport mode access (Port改成Access Mode)
switch (config-if)#switchport port-security (啟用Port Security)
switch (config-if)#switchport port-security maximum 3 (設定最大的MAC數量為3)
switchport port-security mac-address 001b.ad94.6d34(第一組)
switchport port-security mac-address 002b.bd94.7d34(第二組)
switchport port-security mac-address 003b.cd94.8d34(第三組)
switchport port-security violation {protect | restrict | shutdown(預設)}

( 知識學習隨堂筆記 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=lazybone1981&aid=6718839