An IP address is assigned to the VLANIF interface for communication at the network layer.
If IP addresses assigned to VLANIF interfaces belong to different network segments, a routing
protocol must be configured on the device to provide reachable routes. Otherwise, VLANIF
interfaces cannot communicate with each other at the network layer.
Step 4 (Optional) Run:
damping time delay-time
The delay period of VLAN damping is configured.
The delay-time value ranges from 0 to 20, in seconds. By default, the delay is 0 second, indicating
that VLAN damping is disabled.
Step 5 (Optional) Run:
mtu mtu
The MTU value of the VLANIF interface is configured.
By default, the value is 1500.
Step 6 (Optional) Run:
bandwidth bandwidth
The bandwidth of the VLANIF interface is configured.
----End
3.6.2.2 Configuring Sub-Interfaces for Inter-VLAN Communication
Context
Users belong to different VLANs and are located on different network segments can
communicate with each other by configuring sub-interfaces.
NOTE
To implement communication between VLANs, hosts in each VLAN must use the IP address of the
corresponding sub-interface as the gateway address.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number.subinterface-number
The sub-interface view is displayed.
Step 3 Run:
ip address ip-address { mask | mask-length } [ sub ]
The IP address of the sub-interface is set.
Step 4 Run:
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
3 VLAN Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
97