本案例为S5130 IP+MAC绑定的方法
S5130的版本信息如下:
H3C Comware Software, Version 7.1.070, Release 6127P01
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C S5130S-52S-HI uptime is 38 weeks, 3 days, 23 hours, 25 minutes
Last reboot reason : User reboot
Boot image: flash:/s5130s_hi-cmw710-boot-r6127p01.bin
Boot image version: 7.1.070, Release 6127P01
Compiled Jul 10 2019 11:00:00
System image: flash:/s5130s_hi-cmw710-system-r6127p01.bin
System image version: 7.1.070, Release 6127P01
Compiled Jul 10 2019 11:00:00
Feature image(s) list:
flash:/s5130s_hi-cmw710-freeradius-r6127p01.bin, version: 7.1.070
Compiled Jul 10 2019 11:00:00
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 source binding ip-address 1.1.1.1 mac-address 0023-24a1-0605
IP+MAC方法四:
如果本设备配置为DHCP服务器,且需要实现IP+MAC的静态绑定,命令如下:
dhcp enable
dhcp server ip-pool 123
static-bind ip-address 1.1.1.1 24 hardware-address 0023-24a1-0605
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作