EasyManua.ls Logo

Huawei AR150 series - Page 171

Huawei AR150 series
221 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Step 3 Configure the address assignment method for VLANIF interfaces.
# Adds Ethernet 0/0/0 and Ethernet 0/0/1 to the corresponding VLANs.
[Router] vlan batch 10 20
[Router] interface ethernet 0/0/0
[Router-Ethernet0/0/0] port hybrid pvid vlan 10
[Router-Ethernet0/0/0] port hybrid untagged vlan 10
[Router-Ethernet0/0/0] quit
[Router] interface ethernet 0/0/1
[Router-Ethernet0/0/1] port hybrid pvid vlan 20
[Router-Ethernet0/0/1] port hybrid untagged vlan 20
[Router-Ethernet0/0/1] quit
# Configure the clients connected to VLANIF 10 to obtain IP addresses from the global address
pool.
[Router] interface vlanif 10
[Router-Vlanif10] ip address 10.1.1.1 255.255.255.128
[Router-Vlanif10] dhcp select global
[Router-Vlanif10] quit
# Configure the clients connected to VLANIF 20 to obtain IP addresses from the global address
pool.
[Router] interface vlanif 20
[Router-Vlanif20] ip address 10.1.1.129 255.255.255.128
[Router-Vlanif20] dhcp select global
[Router-Vlanif20] quit
Step 4 Verify the configuration.
Run the display ip pool command on the Router. You can view the configurations of the IP
address pool.
[Router] display ip pool
-----------------------------------------------------------------------
Pool-name : pool1
Pool-No : 0
Position : Local Status : Unlocked
Gateway-0 : 10.1.1.1
Mask : 255.255.255.128
Vpn instance : --
-----------------------------------------------------------------------
Pool-name : pool2
Pool-No : 1
Position : Local Status : Unlocked
Gateway-0 : 10.1.1.129
Mask : 255.255.255.128
Vpn instance : --
IP address Statistic
Total :250
Used :0 Idle :248
Expired :0 Conflict :0 Disable :2
----End
Configuration Files
Configuration file of the Router
#
sysname Router
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 6 DHCP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
159

Table of Contents

Other manuals for Huawei AR150 series

Related product manuals