1.7.3 (Optional) Configuring the VLAN ID of the Sub-interface
This section describes how to configure the VLAN ID of the sub-interface.
Context
NOTE
You must complete this task before you enable inter-VLAN proxy ARP on Ethernet sub-interfaces, or Eth-
Trunk sub-interfaces. You can skip this task if you are enabling inter-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.
Step 3 Run:
control-vid vid dot1q-termination
The control VLAN and encapsulation mode of the sub-interface are configured.
Step 4 Run:
dot1q termination vid vid
The single VLAN ID for dot1q encapsulation on a sub-interface is configured.
----End
1.7.4 Enabling Inter-VLAN Proxy ARP
To implement communication between users in different sub-VLANs, enable inter-VLAN proxy
ARP on the sub-interface corresponding to the super-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.
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.
18