我的交換機型號 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)
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明