Huawei S9300 Configuration Manual page 93

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
[Quidway] ip pool 1
[Quidway-ip-pool-1] network 20.20.20.0 mask 24
[Quidway-ip-pool-1] quit
# Configure a static route from the address pool to the DHCP relay agent to ensure that the DHCP
server has a reachable route to the network segment 20.20.20.0/24.(The configuration procedure
is not provided here.)
Step 5 Verify the configuration.
# Run the display dhcp relay command on SwitchA to view the DHCP relay configuration on
the interface.
[Quidway] display dhcp relay interface vlanif100
DHCP relay agent running information of interface Vlanif100 :
Server group name
Gateway address in use : 100.10.10.1
# Run the display ip pool command on SwitchB to view the address pool configuration.
[Quidway] display ip pool
Pool-Name
Pool-No
Position
Gateway-0
Mask
Vpn instance
IP address Statistic
----End
Configuration Files
Configuration file of SwitchA
#
sysname Quidway
#
vlan 100
#
dhcp enable
#
dhcp server group dhcpgroup1
dhcp-server 100.10.10.1
#
interface Vlanif100
ip address 20.20.20.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcpgroup1
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 100
#
return
Configuration file of SwitchB
#
sysname Quidway
#
vlan batch 20
#
dhcp enable
#
Issue 01 (2012-03-15)
-----------------------------------------------------------------------
: 1
: 0
: Local
: -
: 255.255.255.0
: --
Total
:250
Used
:0
Expired
:0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
: dhcpgroup1
Status
Idle
:248
Conflict
:0
3 DHCP Configuration
: Unlocked
Disable
:2
82

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents