华为交换机常用命令-根据情况更新
一、显示某一VLAN段(VLAN4) IP地址池所有IP状态。
]dis ip pool name vlan4 <em>all </em>| conflict | idle | disable
]dis ip pool name vlan4 <em>all </em>| conflict | idle | disable
all 表示所有,会显示该ip段的所有ip,并在后面备注状态。
conflict 表示冲突。
Disable 表示禁止,也就是在ip vlan4中,使用 excluded-ip-address (ip) 排除在DHCP地址池的。
idle 表示闲置,可以使用。
二、查看vlan下DHCP池使用数
display ip pool name vlan6
[outcenterswitch]display ip pool name vlan6
Pool-Name : vlan6
Pool-No : 1
Lease : 1 Days 0 Hours 0 Minutes
DNS-Suffix : -
DNS-Server0 : 202.98.224.68
DNS-Server1 : 202.98.224.69
NBNS-Server0 : -
Netbios-type : -
Position : Local Status : Unlocked
Gateway-0 : 192.168.6.254
Mask : 255.255.255.0
Vpn instance : --
Start End Total Used Idle Conflict Disable
192.168.6.1 192.168.6.254 253 0 253 0 0
发表回复
要发表评论,您必须先登录。