When a Layer 3 switch connects to users located in different VLANs through a Layer 3 Ethernet interface, configure Dot1q termination sub-interfaces on this Layer 3 Ethernet interface to implement inter-VLAN communication. This allows the users to communicate with each other.
To implement inter-VLAN communication, hosts in each VLAN must use the IP address of the corresponding sub-interface as the default gateway address.
The system view is displayed.
The interface view is displayed.
The link type of the interface is set.
Exit from the interface view.
The sub-interface view is displayed.
An IP address is assigned to the sub-interface.
Dot1q termination is configured on the sub-interface.
Sub-interfaces of different main interfaces can be associated with the same VLAN, whereas sub-interfaces of the same main interface cannot be associated with the same VLAN.
ARP broadcast is enabled on the sub-interface.
When you enable or disable ARP broadcast on a sub-interface, the routing status of the sub-interface alternates between Down and Up. This may result in route flapping on the entire network, affecting normal operation of services.