×

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

hqy hqy 发表于2020-06-10 14:00:34 浏览3982 评论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




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

image.png

本文链接:https://www.jinbel.cn/post/1381.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏

群贤毕至

访客

您的IP地址是: