225
Step Command
Remarks
21.
Enable route target filtering
of received VPNv4 routes.
policy vpn-target
By default, route target filtering is
enabled for received VPNv4
routes. Only VPNv4 routes whose
export route target attribute
matches local import route target
attribute are added to the routing
table.
22.
Enable route reflection
between clients.
reflect between-clients
By default, route reflection
between clients is enabled on the
RR.
23.
Configure a cluster ID for the
RR.
reflector cluster-id
{
cluster-id
|
ip-address
}
By default, the RR uses its own
router ID as the cluster ID.
24.
Configure filtering of
reflected routes.
rr-filter
ext-comm-list-number
By default, the RR does not filter
reflected routes.
25.
Configure the SoO attribute
for a BGP peer or peer
group.
peer
{
group-name
|
ipv4-address
[
mask-length
] }
soo
site-of-origin
By default, the SoO attribute is not
configured.
Configuring inter-AS VPN
If the MPLS backbone spans multiple ASs, you must configure inter-AS VPN.
Configuring inter-AS option A
Inter-AS option A applies to scenarios with a few VPNs.
To configure inter-AS option A, create VPN instances on PEs and ASBRs. The VPN instances on
PEs are used to allow CEs to access the network, The VPN instances on ASBRs are used to access
the peer ASBRs. An ASBR considers the peer ASBR as a CE.
The route targets configured on the PEs must match those configured on the ASBRs in the same AS
to make sure VPN routes sent by the PEs (or ASBRs) can be received by the ASBRs (or PEs). Route
targets configured on the PEs in different ASs do not have such requirements.
For more information, see "
Configuring inter-AS option B
To configure inter-AS option B, perform configurations on PEs and ASBRs.
•
PE configuration:
Configure basic MPLS L3VPN, and specify the ASBR in the same AS as an MP-IBGP peer.
The route targets for the VPN instances on the PEs in different ASs must match for the same
VPN. For information about PE configuration, see "
."
•
ASBR configuration:
{
Configure a routing protocol, and enable MPLS and LDP on the interface connected to an
internal router of the AS.
{
Specify the PE in the same AS as an MP-IBGP peer, and the ASBR in a different AS as an
MP-EBGP peer.
{
Disable VPN target filtering for VPNv4 routes so the ASBR can maintain all VPNv4 routes
and advertise the routes to the peer ASBR.