H3C DHCP配置使用

1. 查看DHCP IP地址池 IP使用情况

<Core_1#_3F_01_CCTV>dis dhcp server ip-in-use pool vlan113
IP address       Client-identifier/    Lease expiration      Type
                 Hardware address
192.168.13.7     01e0-508b-b3bc-9b     May 13 08:58:59 2023  Auto(C)            
192.168.13.30    01e0-508b-b3bc-98     May 13 09:00:20 2023  Auto(C)            
192.168.13.60    0180-7c62-7dd0-89     May 12 16:06:00 2023  Auto(C)            
192.168.13.61    0180-7c62-7dd0-25     May 12 16:06:00 2023  Auto(C)            
192.168.13.62    0180-7c62-7dd0-9a     May 12 16:06:01 2023  Auto(C) 

2. IP-MAC绑定

static-bind ip-address 192.168.13.1 mask 255.255.255.0 hardware-address 3ce3-6bfb-29a7

3. DHCP启用

dhcp server ip-pool VLAN701
network 10.107.10.0 24 
gateway 10.107.10.254
dns-list 114.114.114.114
vlan 701
int vlan 701
ip add 10.107.10.1 25
dhcp select server
dhcp server apply ip-pool VLAN701
quit
posted @ 2023-05-12 09:06  LeoShi2020  阅读(190)  评论(0编辑  收藏  举报