Huawei S Series Quick Configuration page 40

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

Advertisement

Configure CORE2 as the standby DHCP server to allocate the second half of all
2
IP addresses in the address pool.
<CORE2> system-view
[CORE2] dhcp enable
[CORE2] ip pool 10
[CORE2-ip-pool-10] gateway-list 192.168.10.3
[CORE2-ip-pool-10] network 192.168.10.0 mask 24
[CORE2-ip-pool-10] excluded-ip-address 192.168.10.1 192.168.10.2
[CORE2-ip-pool-10] excluded-ip-address 192.168.10.4 192.168.10.127
[CORE2-ip-pool-10] lease day 0 hour 20 minute 0
[CORE2-ip-pool-10] dns-list 8.8.8.8
[CORE2-ip-pool-10] quit
The procedure of configuring dynamic IP address allocation in VLAN 20 is similar to
the preceding configuration procedure.
3
Configure users in department A to obtain IP addresses from the global address pool.
[CORE1] interface vlanif 10
[CORE1-Vlanif10] dhcp select global
to obtain IP addresses from the global address pool.
[CORE1-Vlanif10] quit
[CORE2] interface vlanif 10
[CORE2-Vlanif10] dhcp select global
[CORE2-Vlanif10] quit
Run the display ip pool command to view the configuration and IP address
4
allocation in the global address pool 10.
[CORE1] display ip pool name 10
Pool-name
: 10
Pool-No
: 0
Lease
: 0 Days 20 Hours 0 Minutes
Domain-name
: -
DNS-server0
: 8.8.8.8
NBNS-server0
: -
Netbios-type
: -
Position
: Local
Gateway-0
: 192.168.10.3
Network
: 192.168.10.0
Mask
: 255.255.255.0
VPN instance
: --
-----------------------------------------------------------------------------
Start
-----------------------------------------------------------------------------
192.168.10.1
192.168.10.254
-----------------------------------------------------------------------------
Status
End
Total
Used
253
1
View IP address
allocation.
37
//Configure users in department A
: Unlocked
Idle(Expired)
Conflict
125(0)
View the IP
address pool
configuration.
Disable
0
127

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S2750S5700

Table of Contents