Huawei S9300 Configuration Manual page 88

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
Procedure
Step 1 Enable DHCP.
<Quidway> system-view
[Quidway] dhcp enable
Step 2 Add interfaces to VLANs.
# Add GE 1/0/1 to VLAN 10.
[Quidway] vlan batch 10 to 11
[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
# Add GE 1/0/2 to VLAN 11.
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port hybrid pvid vlan 11
[Quidway-GigabitEthernet1/0/2] port hybrid untagged vlan 11
[Quidway-GigabitEthernet1/0/2] quit
Step 3 Allocate IP addresses to VLANIF interfaces.
# Allocate an IP address to VLANIF 10.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 10.1.1.1 24
[Quidway-Vlanif10] quit
# Allocate an IP address to VLANIF 11.
[Quidway] interface vlanif 11
[Quidway-Vlanif11] ip address 10.1.2.1 24
[Quidway-Vlanif11] quit
Step 4 Enable the VLANIF interface address pool.
# Configure the clients on VLANIF 10 to obtain IP addresses from the interface address pool.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] dhcp select interface
[Quidway-Vlanif10] quit
# Configure the clients on VLANIF 11 to obtain IP addresses from the interface address pool.
[Quidway] interface vlanif 11
[Quidway-Vlanif11] dhcp select interface
[Quidway-Vlanif11] quit
Step 5 Configure the DNS service and NetBIOS services of the interface address pool.
# Configure the DNS service and NetBIOS service of VLANIF 10 address pool.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] dhcp server domain-name huawei.com
[Quidway-Vlanif10] dhcp server dns-list 10.1.1.2
[Quidway-Vlanif10] dhcp server nbns-list 10.1.1.3
[Quidway-Vlanif10] dhcp server excluded-ip-address 10.1.1.2
[Quidway-Vlanif10] dhcp server excluded-ip-address 10.1.1.3
[Quidway-Vlanif10] dhcp server netbios-type b-node
Step 6 Set IP address leases of IP address pools.
# Set the IP address lease of VLANIF 10 address pool to 30 days.
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 DHCP Configuration
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents