Huawei S9300 Configuration Manual page 85

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
[Quidway-ip-pool-1] gateway-list 10.1.1.126
[Quidway-ip-pool-1] excluded-ip-address 10.1.1.2
[Quidway-ip-pool-1] excluded-ip-address 10.1.1.4
[Quidway-ip-pool-1] lease day 10
[Quidway-ip-pool-1] quit
# Set the attributes of IP address pool 2, including the address pool range, DNS address, egress
gateway address, NetBIOS address, and address lease.
[Quidway] ip pool 2
[Quidway-ip-pool-2] network 10.1.1.128 mask 255.255.255.128
[Quidway-ip-pool-2] dns-list 10.1.1.2
[Quidway-ip-pool-2] nbns-list 10.1.1.4
[Quidway-ip-pool-2] gateway-list 10.1.1.254
[Quidway-ip-pool-2] lease day 2
[Quidway-ip-pool-2] quit
Step 3 Set the address allocation mode on the VLANIF interfaces.
# Add GE 1/0/1 to VLAN 10 and GE 1/0/2 to VLAN 20.
[Quidway] vlan batch 10 20
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port hybrid pvid vlan 10
[Quidway-GigabitEthernet1/0/1] port hybrid untagged vlan 10
[Quidway-GigabitEthernet1/0/1] quit
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port hybrid pvid vlan 20
[Quidway-GigabitEthernet1/0/2] port hybrid untagged vlan 20
[Quidway-GigabitEthernet1/0/2] quit
# Configure the clients on VLANIF 10 to obtain IP addresses from the global address pool.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 10.1.1.1 255.255.255.128
[Quidway-Vlanif10] dhcp select global
[Quidway-Vlanif10] quit
# Configure the clients on VLANIF 20 to obtain IP addresses from the global address pool.
[Quidway] interface vlanif 20
[Quidway-Vlanif20] ip address 10.1.1.129 255.255.255.128
[Quidway-Vlanif20] dhcp select global
[Quidway-Vlanif20] quit
Step 4 Verify the configuration.
Run the display ip pool command on the S9300&S9300E, and you can view the configuration
of the IP address pool.
[Quidway] display ip pool
Pool-name
Pool-No
Position
Gateway-0
Mask
VPN instance
-----------------------------------------------------------------------
Pool-name
Pool-No
Position
Gateway-0
Mask
VPN instance
Issue 01 (2012-03-15)
-----------------------------------------------------------------------
: 2
: 0
: Local
: 10.1.1.254
: 255.255.255.128
: --
: 1
: 2
: Local
: 10.1.1.126
: 255.255.255.128
: --
IP address Statistic
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Status
: Unlocked
Status
: Unlocked
3 DHCP Configuration
74

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents