![Huawei AR150 series Configuration Manual Download Page 52](http://html.mh-extra.com/html/huawei/ar150-series/ar150-series_configuration-manual_169290052.webp)
segments. To allow the AR150/200 to communicate with all the hosts on the physical network,
configure a primary IP address and a secondary IP address for the interface.
NOTE
Layer 2 interfaces on the AR150/200 cannot be allocated IP addresses.
Pre-configuration Tasks
Before configuring IP addresses for an interface, complete the following tasks:
l
Connecting interfaces and setting physical parameters of each interface so that the physical
status of the interfaces is Up
l
Setting link layer protocol parameters for interfaces to ensure that the link layer protocol
status on the interfaces is Up
Data Preparation
To configure IP addresses for an interface, you need the following data.
No.
Data
1
Number of the interface
2
Primary IP address and subnet mask of the
interface
3
(Optional) Secondary IP address and subnet
mask of the interface
2.3.2 Configuring a Primary IP Address for an Interface
An interface has only one primary IP address.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Step 3
Run:
ip address
ip-address
{
mask
|
mask-length
}
A primary IP address is configured for the interface.
An interface has only one primary IP address. If you configure a new primary address on an
interface that already has a primary IP address, the new IP address overrides the original one.
----End
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
2 IP Address Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
40