Context
Do as follows on the S7700 where hosts of different VLANs need to communicate.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface { ethernet | gigabitethernet | eth-trunk } interface-number.subinterface-
number
The sub-interface view is displayed.
A sub-interface can be created on an Ethernet interface, a GE interface, or an Eth-Trunk interface.
Step 3 Run:
ip address ip-address { mask | mask-length } [ sub ]
The IP address of the sub-interface is set.
Step 4 Run:
control-vid vid dot1q-termination rt-protocol
The control VLAN ID and encapsulation mode of the sub-interface are set.
Step 5 Run:
dot1q termination vid vid
The VLANs whose packets are allowed to pass through the dot1q sub-interface are specified.
When a sub-interface is used for Layer 3 forwarding, you cannot specify multiple VLANs in
the command.
Step 6 Run:
arp broadcast enable
The ARP broadcast function is enabled on the sub-interface.
When you enable or disable the ARP broadcast function on a sub-interface, the routing status
of the sub-interface becomes Down and then Up. This may result in flapping of routes on the
entire network, affecting the normal operation of services.
----End
3.5.4 Configuring VLAN Switch for Inter-VLAN Communication
Switches enabled with VLAN Switch for inter-VLAN communication do not search the MAC
address table. This improves forwarding efficiency and network security, and prevents broadcast
storms and attacks by using MAC addresses.
Context
VLAN Switch is a forwarding technique based on VLAN tags. VLAN Switch requires a pre-
configured static forwarding path along switches on the network. After receiving VLAN-tagged
frames that meet forwarding requirements, a switch forwards the frames to corresponding ports
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
94