×

交换机如何实现ip-mac绑定

hqy hqy 发表于2020-06-10 14:00:34 浏览2835 评论0

抢沙发发表评论

  1. 思科2950

    #进入配置模式

    Switch#config terminal

    #进入具体端口配置模式

    Switch(config)#Interface fastethernet 0/1

    #配置端口安全模式

    Switch(config-if)#Switchport port-secruity

    #配置该端口要绑定的主机的MAC地址

    Switch(config-if )#switchport port-security mac-address MAC(主机的MAC地址) ip-address 192.168.x.x

  2. 2

    华为S5700

    #进入端口配置

    interface GigabitEthernet 1/0/1

    #绑定该端口的mac和IP

    user-bind mac-addr 001a-4d1e-3981 ip-addr 10.100.11.2


 您阅读本篇文章共花了: 

打赏

本文链接:https://kinber.cn/post/1381.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

群贤毕至

访客