1.6.2 Configuring an IP Address for an Interface
The IP address of the interface must be on the same network segment as the IP addresses in the
associated VLAN.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface { ethernet | eth-trunk } interface-number.sub-interface-number
The sub-interface view is displayed.
Or, run:
interface vlanif vlan-id
The VLANIF interface view is displayed.
Intra-VLAN proxy ARP can be enabled on VLANIF interfaces, Ethernet sub-interfaces, and
Eth-Trunk sub-interfaces.
Step 3 Run:
ip address ip-address { mask | mask-length }
An IP address is configured for the interface.
The IP address of the interface must be on the same network segment as the IP addresses in the
associated VLAN.
----End
1.6.3 (Optional) Configuring the VLAN ID of a Sub-interface
This section describes how to configure the VLAN ID of a sub-interface.
Context
NOTE
You must complete this task before you enable intra-VLAN proxy ARP on Ethernet sub-interfaces, or Eth-
Trunk sub-interfaces. You can skip step when you are enabling intra-VLAN proxy ARP on the VLANIF
interface.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface { ethernet | eth-trunk } interface-number.sub-interface-number
The sub-interface view is displayed.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 1 ARP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
14