我的交换机型号 S5120V2-28P,版本是 Version 7.1.070 Release 6126P13
请问配端口绑定终端的命令要怎么配置,谢谢。
(0)
最佳答案
IP+MAC方法一:
在全局模式使用arp static方式进行绑定,命令如下:
arp static 1.1.1.1 0023-24a1-0605
IP+MAC方法二:
进入接口使用arp filter方式进行绑定,命令如下:
int GigabitEthernet1/0/1
arp filter binding 1.1.1.1 0023-24a1-0605
IP+MAC方法三:
进入接口使用动态绑定表项的方式进行绑定,命令如下:
Int GigabitEthernet1/0/1
ip source binding ip-address 1.1.1.1 mac-address 0023-24a1-0605
ip verify source ip-address mac-address
IP+MAC方法四:
如果本设备配置为DHCP服务器,且需要实现IP+MAC的静态绑定,命令如下:
dhcp enable
dhcp server ip-pool 123
static-bind ip-address 1.1.1.1 24
static-bind mac-address 0023-24a1-0605
(0)
我想MAC+端口绑定就行,不用IP
ip source binding mac-address 0023-24a1-0605 ip verify source ip-address mac-address
端口绑定配置
表2-1 端口绑定配置 操作 命令 说明
进入系统视图 system-view -
将用户的MAC地址和IP地址绑定到指定端口上
系统视图下
am user-bind mac-addr mac-address ip-addr ip-address interface interface-type interface-number
二者必选其一
缺省情况下,未将用户的MAC地址和IP地址绑定到指定端口上 以太网端口视图下
interface interface-type interface-number
am user-bind mac-addr mac-address ip-addr ip-address
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明