華為中有三種模式
用戶視圖<2F-A>:基本操作,查看基本信息
系統(tǒng)視圖[2F-A]:進階操作,能看信息也可以配置
接口模式[2F-A-GigabitEthernet0/0/1]:文章來源:http://www.zghlxwxcb.cn/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網(wǎng)段的DHCP是基于接口地址池
關(guān)于華為配置DHCP請查看:https://support.huawei.com/enterprise/zh/doc/EDOC1100212349/6946084b文章來源地址http://www.zghlxwxcb.cn/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提示已經(jīng)正在使用,70.70.70.88未使用,接下來取消IP使用狀態(tài)
注意此時是在“用戶視圖”
<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靜態(tài)綁定后保存配置文件
<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.
到了這里,關(guān)于華為交換機S5700解除ip/Mac綁定的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!