Huawei S Series Quick Configuration page 17

Campus switches
Hide thumbs Also See for S Series:
Table of Contents

Advertisement

Configuring DHCP
Configure the DHCP server on CORE to allocate IP addresses to user devices in
department A (VLAN 10) and department B (VLAN 20).
Department A is used in the example below.
In this section, a global address pool is configured. You can also
configure an interface-based address pool. For details on this process,
see the corresponding
version of the device.
Create a global address pool, configure the egress gateway and lease (the default
1
lease, one day, is used, so no command is executed), and allocate fixed IP address
10.10.10.254 to the printer with MAC address a-b-c.
<CORE> system-view
[CORE] dhcp enable
[CORE] ip pool 10
[CORE-ip-pool-10] network 10.10.10.0 mask 24
range that is used to allocate IP addresses to users in department A.
[CORE-ip-pool-10] gateway-list 10.10.10.1
address for users in department A.
[CORE-ip-pool-10] static-bind ip-address 10.10.10.254 mac-address a-b-c
//Allocate fixed IP address to the printer.
[CORE-ip-pool-10] quit
Configure the global address pool to allocate IP addresses to user devices in
2
department A.
[CORE] interface vlanif 10
[CORE-Vlanif10] dhcp select global
to allocate IP addresses to users in department A.
[CORE-Vlanif10] quit
Configuration Guide - IP Service
//Configure the global address pool
14
based on the
//Specify the address pool
//Configure the gateway

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S2750S5700

Table of Contents