85、交换机安全MAC层攻击配置实验之Port-Security

时间:2016-01-11 18:32:28   收藏:0   阅读:443

1、Port Security解析

触发Port Security的条件:


触发Port Security后的动作:


2、实验拓扑

技术分享

3、实验配置

正常情况下的连通性

技术分享

在S1上启动端口安全,只让端口学习aaaa.bbbb.cccc的MAC地址,采用protect的动作

interface GigabitEthernet0/31

 switchport mode access

 switchport port-security

 switchport port-security violation protect

 switchport port-security mac-address aaaa.bbbb.cccc

再次测试连通性

技术分享

技术分享此外还可以设置端口可以学习的最大MAC地址个数以及设置粘性粘贴

S1(config-if)#switchport port-security maximum ?

  <1-3072>  Maximum addresses

S1(config-if)#switchport port-security mac-address sticky ?

  <cr>



本文出自 “开源殿堂” 博客,请务必保留此出处http://kaiyuandiantang.blog.51cto.com/10699754/1733833

原文:http://kaiyuandiantang.blog.51cto.com/10699754/1733833

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!