华为中有三种模式
用户视图<2F-A>:基本操作,查看基本信息
系统视图[2F-A]:进阶操作,能看信息也可以配置
接口模式[2F-A-GigabitEthernet0/0/1]:文章来源:https://www.toymoban.com/news/detail-769575.html
- 交换机解除绑定的IP地址提示地址在使用
[2F-A-Vlanif70]undo dhcp server static-bind ip-address 70.70.70.72
Error: The IP address is being used by a static-MAC user.
- 查询配置信息知道70.70.70.0/24网段的DHCP是基于接口地址池
关于华为配置DHCP请查看:https://support.huawei.com/enterprise/zh/doc/EDOC1100212349/6946084b文章来源地址https://www.toymoban.com/news/detail-769575.html
[2F-A]dis ip pool interface Vlanif70 ?
X.X.X.X Start IP address
all Detail information
conflict Information of conflict IP address
expired Information of expired IP address
used Information of used IP address
| Matching output
<cr>
[2F-A]dis ip pool interface Vlanif70 all
Pool-name : Vlanif70
Pool-No : 2
Lease : 1 Days 0 Hours 0 Minutes
Domain-name : -
DNS-server0 : 223.5.5.5
DNS-server1 : 223.6.6.6
NBNS-server0 : -
Netbios-type : -
Position : Interface Status : Unlocked
Gateway-0 : -
Network : 70.70.70.0
Mask : 255.255.255.0
VPN instance : --
Logging : Disable
71 70.70.70.72 7c8a-e17f-b685 DHCP - Static-bind used
72 70.70.70.73 - - - Conflict
73 70.70.70.74 72e4-3652-11b1 DHCP 70889 Used
74 70.70.70.75 - - - Conflict
75 70.70.70.76 6619-4db5-9491 DHCP 81796 Used
76 70.70.70.77 - - - Conflict
77 70.70.70.78 - - - Conflict
78 70.70.70.79 - - - Conflict
79 70.70.70.80 c20f-a605-8bd8 DHCP 78011 Used
80 70.70.70.81 7af0-3ccc-8030 DHCP 70574 Used
81 70.70.70.82 569f-b6e0-1b65 DHCP 80945 Used
82 70.70.70.83 - - - Conflict
83 70.70.70.84 3aeb-b4ea-83f2 DHCP 62812 Used
84 70.70.70.85 f44e-e3a7-b8f4 DHCP 80607 Used
85 70.70.70.86 8aff-618e-d654 DHCP 66800 Used
86 70.70.70.87 - - - Conflict
87 70.70.70.88 7c8a-e185-1a18 DHCP - Static-bind
88 70.70.70.89 ec63-d777-f975 DHCP 81356 Used
- 70.70.70.72提示已经正在使用,70.70.70.88未使用,接下来取消IP使用状态
注意此时是在“用户视图”
<2F-A>reset ip pool interface vlanif70 ?
X.X.X.X Start IP address
all All IP address
conflict Conflict IP address
expired Expired IP address
used Used IP address
<2F-A>reset ip pool interface vlanif70 70.70.70.88
Warning: If the IP addresses that are being used are reclaimed, may influence normal user in the network. Are you sure to continue?[Y/N]:y
<2F-A>reset ip pool interface vlanif70 70.70.70.72
Warning: If the IP addresses that are being used are reclaimed, may influence normal user in the network. Are you sure to continue?[Y/N]:y
- 取消IP静态绑定后保存配置文件
<2F-A>sys
Enter system view, return user view with Ctrl+Z.
[2F-A]int vlanif 70
[2F-A-Vlanif70]undo dhcp server static-bind ip-address 70.70.70.72
[2F-A-Vlanif70]undo dhcp server static-bind ip-address 70.70.70.88
[2F-A-Vlanif70]dis this
interface Vlanif70
ip address 70.70.70.1 255.255.255.0
dhcp select interface
dhcp server dns-list 223.5.5.5 223.6.6.6
[2F-A-vlanif70]q
[2F-A]q
<2F-A>save
The current configuration (excluding the configurations of unregistered boards or cards) will be written to flash:/vrpcfg.zip.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0........
Save the configuration successfully.
到了这里,关于华为交换机S5700解除ip/Mac绑定的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!