185
13.
Disable route target based
filtering of VPNv4 routes.
undo policy vpn-target
By default, the PE filters received
VPNv4 routes by route targets.
The routes surviving the filtering
are added to the routing table, and
the others are discarded.
Configuring inter-AS option C
To configure inter-AS option C, configure PEs and ASBRs.
• PE configuration:
ï‚¡ Configure basic MPLS L3VPN, and specify the PE in another AS as an MP-EBGP peer. The
route targets for the VPN instances on the PEs in different ASs must match for the same
VPN.
ï‚¡ Execute the peer ebgp-max-hop command to enable the local router to establish an EBGP
session to an indirectly-connected peer because the PEs are not directly connected.
ï‚¡ Specify the ASBR in the same AS as an IBGP peer, and enable BGP to exchange labeled
IPv4 unicast routes with the ASBR.
• ASBR configuration:
ï‚¡ Configure a routing protocol, and enable MPLS and LDP on the interface connecting to an
internal router of the AS.
ï‚¡ Specify the PE in the same AS as an IBGP peer, and the ASBR in a different AS as an
EBGP peer.
ï‚¡ Enable BGP to exchange labeled IPv4 unicast routes with the PE in the same AS and the
ASBR in different AS.
ï‚¡ Enable MPLS on the interface connected to the remote ASBR. There is no need to
configure a label distribution protocol, for example, MPLS LDP.
ï‚¡ Configure a routing policy to determine which IPv4 unicast routes are advertised to the
IBGP or EBGP peer with MPLS labels.
In addition, configure BGP to advertise routes destined for a PE on PEs or ASBRs. For more
information, see Layer 3—IP Routing Configuration Guide.
Configuring a PE
For basic MPLS L3VPN configurations on a PE, see "Configuring basic MPLS L3VPN." The
following table describes inter-AS option C specific configurations.
To configure a PE for inter-AS option C:
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp
as-number N/A
3.
Configure the ASBR in the
same AS as an IBGP peer.
peer
{ group-name | ip-address
[ mask-length ] }
as-number
as-number
By default, n
created.
4. Configure the PE of another
AS as an EBGP peer.
peer
{ group-name | ip-address
[ mask-length ] }
as-number
as-number
By default, n
created.
5. Create the BGP IPv4 unicast
address family and enter its
view.
address-family ipv4
[
unicast
]
By default, the BGP IPv4 unicast
address family is not created.