In MPLS VPN traffic injection, a Layer-3 MPLS VPN is established between the cleaning device and the traffic-injection router. Thereby, cleaned traffic is injected to the original link and is finally sent to the Zone.
This function is configured on the AntiDDoS.
As shown in Figure 1, Router1 is a traffic-diversion router. A traffic-diversion channel is established between GE1/0/1 on Router1 and GE2/0/1 on the cleaning device. Inbound traffic is diverted to GE2/0/1 through Router1 GE1/0/1 for cleaning.
A Layer-3 MPLS VPN is established between the cleaning device and Router2. The cleaning device acts as an ingress Provider Edge (PE) device, Router1 as a P device, and Router2 as an egress PE device. Cleaned traffic is injected through GE2/0/2 to GE1/0/1 on Router2 along the dynamically established Label Switched Path (LSP). Cleaned traffic is tagged with two layers of labels and outer labels are stripped after the traffic passes through Router1. Then Router2 searches the corresponding private routing table based on inner private labels to forward the traffic to the Zone.
In practice, the traffic-injection router can be either Router2 or another downstream router.
In the BGP traffic-diversion scenario, MPLS VPN traffic injection directly issues injected traffic to the downstream router that cannot learn the traffic-diversion route, avoiding loops.
As typical dynamic traffic injection, MPLS VPN traffic injection delivers flexible applications and sound scalability, but demands MPLS supported by routers.
lsr-id specifies an LSR ID, in dotted decimal notation. It is used for identifying an LSR.
Setting the LSR ID is the premise of configuring other MPLS commands.
No default LSR ID is available. You are advised to use the IP address of the loopback interface of the LSR as the LSR ID.
To modify the specified LSR ID, run the undo mpls command in the system view to delete all MPLS configurations.
The interface type can be 10GE, GigabitEthernet, POS, Eth-Trunk, IP-Trunk, or the subinterface of 10GE, GigabitEthernet, or Eth-Trunk. However, it cannot be GigabitEthernet 0/0/0 on the MPU.
The interface indicates GE2/0/2 on the cleaning device.
The VPN instance takes effect only after specified with a RD. Before setting the RD, you cannot configure any parameters except for the description.
VPN Target is the attribute of the extended BGP community. VPN Target controls the receiving and advertising of VPN routes. You can configure a maximum of eight VPN targets at a time by running the vpn-target command. A VPN instance can be configured with a maximum of 16 VPN targets.
The interface type can be 10GE, GigabitEthernet, POS, Eth-Trunk, IP-Trunk, or the subinterface of 10GE, GigabitEthernet, or Eth-Trunk. However, it cannot be GigabitEthernet 0/0/0 on the MPU.
The interface indicates GE2/0/1 on the cleaning device.
After the ip binding vpn-instance command is configured, Layer-3 features such as the specified IP address and routing protocol are deleted on the interface. Re-configure them if desired.
The value of number ranges from 0 to 1023.
as-number specifies an AS number. The value ranges from 1 to 65,535.
peer-address specifies the IP address of the peer.
The MP-IBGP peer must be established between PE devices through the the 32-bit IP address of the loopback interface. This avoids route failure due to route aggregation. The route to the loopback interface is advertised to the peer PE device by using IGP on the MPLS backbone network.
In practice, configure EBGP, static route, RIP, or OSPF between the PE device and the CE device.
The following uses Huawei NE80E as an example for describing how to configure Router1 in MPLS VPN traffic injection.
lsr-id specifies an LSR ID, in dotted decimal notation. It is used for identifying an LSR.
Setting the LSR ID is the premise of configuring other MPLS commands.
No default LSR ID is available. You are advised to use the IP address of the loopback interface of the LSR as the LSR ID.
To modify the specified LSR ID, run the undo mpls command in the system view to delete all MPLS configurations.
Interfaces indicate inbound interface GE1/0/2 and outbound interface GE1/0/3.
The following uses Huawei NE80E as an example for describing how to configure Router2 in MPLS VPN traffic injection.
lsr-id specifies an LSR ID, in dotted decimal notation. It is used for identifying an LSR.
Setting the LSR ID is the premise of configuring other MPLS commands.
No default LSR ID is available. You are advised to use the IP address of the loopback interface of the LSR as the LSR ID.
To modify the specified LSR ID, run the undo mpls command in the system view to delete all MPLS configurations.
The interface indicates the inbound interface GE1/0/1 of injected traffic.
The VPN instance takes effect only after specified with a RD. Before setting the RD, you cannot configure any parameters except for the description.
VPN Target is the attribute of the extended BGP community. VPN Target controls the receiving and advertising of VPN routes. You can configure a maximum of eight VPN targets at a time by running the vpn-target command. A VPN instance can be configured with a maximum of 16 VPN targets.
The interface indicates that through which Router2 connects to the Zone network, that is, Router2 GE1/0/2 shown in Figure 1.
After the ip binding vpn-instance command is configured, Layer-3 features such as the specified IP address and routing protocol are deleted on the interface. Re-configure them if desired.
The value of number ranges from 0 to 1023.
The MP-IBGP peer must be established between PE devices through the the 32-bit IP address of the loopback interface. This avoids route failure due to route aggregation. The route to the loopback interface is advertised to the peer PE device by using IGP on the MPLS backbone network.
In practice, configure EBGP, static route, RIP, or OSPF between the PE device and the CE device.