After you configure the VLAN tag termination sub-interface, you need to configure VPN services so as to enable users to communicate with each over an L2VPN or an L3VPN.
Sub-interfaces for VLAN tag termination cannot forward broadcast packets. They automatically discard broadcast packets they receive. To allow VLAN tag termination sub-interfaces to forward broadcast packets, run the arp broadcast enable command on the sub-interfaces to enable the ARP broadcast function.
If the access device supports automatic forwarding of ARP packets, the packets are forwarded even if the ARP broadcast function is disabled on the VLAN tag termination sub-interface.
If the access device does not support automatic forwarding of ARP packets:
The system discards the IP packet if the arp broadcast enable command is not configured on the VLAN tag termination sub-interface. In this case, the route with the VLAN tag termination sub-interface as the outbound interface is considered a black hole route.
If the arp broadcast enable command is configured on the VLAN tag termination sub-interface, the system originates a tagged ARP broadcast packet and forwards it through the VLAN tag termination sub-interface.
When you enable or disable the ARP broadcast function on a VLAN tag termination sub-interface, the routing status of the sub-interface goes Down and then Up. This may result in route flapping on the entire network.
Configure L2VPN.
For detailed information, see the chapters "VPWS Configuration" and "VPLS Configuration" in the HUAWEI NetEngine 8000 F Series Configuration Guide - VPN.
Configure L3VPN.
For detailed information, see the chapter "BGP MPLS IP VPN Configuration" in the HUAWEI NetEngine 8000 F Series Configuration Guide - VPN.
Perform the following steps on the device that supports VPN services:
The system view is displayed.
The view of the VLAN tag termination sub-interface is displayed.
Service Type |
VLAN Tag Termination Sub-interface |
Description |
---|---|---|
VPWS |
Run mpls l2vc { ip-address | pw-template templateName } * pwId [ [ control-word [seq-number]| no-control-word ] |[ip-interworking | ip-layer2] | tunnel-policy policy-name [ endpoint endpoint-address color color-value ] | [ secondary | bypass ]| ignore-standby-state | max-atm-cells max-atm-cell-value| atm-pack-ovetime atm-pack-overtime-value | transmit-atm-cells transmit-atm-cells-value ] * A VPWS connection is created. |
|
VPLS |
Run l2 binding vsi vsi-name A VLAN tag termination sub-interface is bound to a VSI. |
- |
L3VPN |
Run ip binding vpn-instance vpn-instance-name A VLAN tag termination sub-interface is bound to a VPN instance. |
- |
The ARP broadcast function is enabled on the VLAN tag termination sub-interface.
This step takes effect only on QinQ VLAN tag termination sub-interfaces that provide L3VPN access.
The configuration is committed.