校园的网络安全

697 0
Honkers 2025-3-3 15:49:14 来自手机 | 显示全部楼层 |阅读模式
<p>🍅 <strong>点击文末小卡片 </strong>,免费获取网络安全全套资料,资料在手,涨薪更快</p>

<p></p>
<h3 id="h0"><strong>1、什么是端口安全</strong></h3>
<p><em>端口安全(Port Security),从基本原理上讲,Port Security特性会通过MAC地址表记录连接到交换机端口的以太网MAC地址(即网卡号),并只允许某个MAC地址通过本端口通信。其他MAC地址发送的数据包通过此端口时,端口安全特性会阻止它。使用端口安全特性可以防止未经允许的设备访问网络,并增强安全性。另外,端口安全特性也可用于防止MAC地址泛洪造成MAC地址表填满</em>。</p>
<h3 id="h1"><em>2、端口配置最大连接数</em></h3>
<p><em><strong>配置交换机端口的最大连接数限制</strong></em>。</p>
<p>Switch#configure terminal</p>
<p>Switch(config)#interface range fastethernet 0/3 进行0模块第3端口的配置模式</p>
<p>Switch(config-if)#switchport port-security 开启交换机的端口安全功能</p>
<p>Switch(config-if)#switchport port-secruity maximum 1 配置端口的最大连接数为1</p>
<p>Switch(config-if)#switchport port-secruity violation shutdown 配置安全违例的处理方式为shutdown</p>
<p><em><strong>验证测试:查看交换机的端口安全配置</strong></em>。</p>
<p>Switch#show port-security</p>
<p>***配置交换机端口的地址绑定 ***</p>
<p>Switch#configure terminal</p>
<p>Switch(config)#interface f astethernet 0/3</p>
<p>Switch(config-if)#switchport port-security</p>
<p>Switch(config-if)#switchport port-security mac-address 00 06.1bde.13b4 ip-address 172.16.1.55 配置IP 地址和MAC 地址的绑定</p>
<p><em><strong>验证测试:查看地址安全绑定配置。</strong></em></p>
<p>Switch#show port-security address</p>
<p>***查看主机的IP 和MAC 地址信息 。在主机上打开CMD 命令提示符窗口,执行ipconfig /all 命令。</p>
<p> </p>
<p><strong>最后感谢每一个认真阅读我文章的人,礼尚往来总是要有的,虽然不是什么很值钱的东西,如果你用得到的话可以直接拿走:</strong></p>
<p>
</p>
<p><strong>上述所有都有配套的资料</strong>,这些资料,对于做【网络安全】的朋友来说应该是最全面最完整的备战仓库,这个仓库也陪伴我走过了最艰难的路程,希望也能帮助到你!凡事要趁早,特别是技术行业,一定要提升技术功底。</p>
<p class="img-center">
</p>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

中国红客联盟公众号

联系站长QQ:5520533

admin@chnhonker.com
Copyright © 2001-2025 Discuz Team. Powered by Discuz! X3.5 ( 粤ICP备13060014号 )|天天打卡 本站已运行