HP MSR2000/3000/4000 Router Series MPLS Configuration Guide
138
Ste
p
Command
Remarks
5. Enter BGP IPv4 unicast
address family view.
address-family ipv4 [ unicast ] N/A
6. Enable exchange of IPv4
unicast routes with the peer or
peer group.
peer { group-name | ip-address }
enable
By default, BGP does not exchange
IPv4 unicast routes with any peer.
7. Enable exchange of labeled
IPv4 routes with the PE in the
local AS and the peer ASBR
PE.
peer { group-name | ip-address }
label-route-capability
By default, BGP does not advertise
labeled routes to any IPv4 peer or
peer group.
8. Configure the ASBR PE to set
itself as the next hop of routes
advertised to the PE in the
local AS.
peer { group-name | ip-address }
next-hop-local
By default, BGP does not use its
address as the next hop of routes
advertised to an IBGP peer or peer
group.
Configuring a routing policy on an ASBR PE
A routing policy on an ASBR PE does the following:
• Assigns MPLS labels to routes received from the PEs in the local AS before advertising them to the
peer ASBR PE.
• Assigns new MPLS labels to labeled IPv4 routes advertised to PEs in the local AS.
Which IPv4 routes are assigned with MPLS labels depends on the routing policy. Only routes that meet
the criteria are assigned with labels. All other routes are still common IPv4 routes.
To configure a routing policy for inter-AS option C on an ASBR PE:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a routing policy and
enter routing policy view.
route-policy policy-name permit
node seq-number
By default, no routing policy is
created.
3. Match IPv4 routes carrying
labels.
if-match mpls-label
By default, no match criterion is
configured.
4. Set labels for IPv4 routes.
apply mpls-label
By default, no apply clause is
configured.
Configuring nested VPN
For a network with many VPNs, nested VPN is a good solution to implement layered management of
VPNs and to conceal the deployment of internal VPNs.
To build a nested VPN network, perform the following configurations:
• Configurations between customer PE and customer CE—Configure VPN instances on the customer
PE and configure route exchange between customer PE and customer CE.
• Configurations between customer PE and provider CE—Configure BGP VPNv4 route exchange
between them.
• Configurations between provider CE and provider PE—Configure VPN instances and enable
nested VPN on the provider PE and configure BGP VPNv4 route exchange between the provider CE