H3C S5600 SERIES Operation Manual page 645

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

Network diagram
Figure 2-1 Network diagram for DHCP configuration
Configuration procedure
1)
Configure a VLAN and add a port in this VLAN, and then configure the IP address of the VLAN
interface (omitted).
2)
Configure DHCP service.
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Configure the IP addresses that are not dynamically assigned. (That is, the IP addresses of the DNS
server, WINS server, and gateways.)
[SwitchA] dhcp server forbidden-ip 10.1.1.2
[SwitchA] dhcp server forbidden-ip 10.1.1.4
[SwitchA] dhcp server forbidden-ip 10.1.1.126
[SwitchA] dhcp server forbidden-ip 10.1.1.254
# Configure DHCP address pool 0, including address range, domain name suffix of the clients, and
domain name server address.
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
[SwitchA-dhcp-pool-0] domain-name aabbcc.com
[SwitchA-dhcp-pool-0] dns-list 10.1.1.2
[SwitchA-dhcp-pool-0] quit
# Configure DHCP address pool 1, including address range, gateway, WINS server address and lease
time.
[SwitchA] dhcp server ip-pool 1
[SwitchA-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.128
[SwitchA-dhcp-pool-1] gateway-list 10.1.1.126
[SwitchA-dhcp-pool-1] expired day 10 hour 12
[SwitchA-dhcp-pool-1] nbns-list 10.1.1.4
[SwitchA-dhcp-pool-1] quit
# Configure DHCP address pool 2, including address range, gateway and lease time.
2-29

Advertisement

Table of Contents
loading

Table of Contents