HP 12500 Series Configuration Manual page 238

Mpls, routing switch series
Table of Contents

Advertisement

To configure an ASBR PE for inter-AS option C:
To do...
Enter system view
Enter BGP view
Configure each PE in the same AS
as the iBGP peer
Enable the ASBR PE to exchange
labeled IPv4 routes with the PEs in
the same AS
Configure the ASBR PE to change
the next hop to itself when
advertising routes to PEs in the
same AS
Configure the remote ASBR PE as
the eBGP peer
Enable the ASBR PE to exchange
labeled IPv4 routes with the peer
ASBR PE
Apply a routing policy to the routes
advertised by peer ASBR PE
Configuring the routing policy
After you configure and apply a routing policy on an ASBR PE, it does the following:
Assigns MPLS labels to the routes received from the PEs in the same AS before advertising them to
the peer ASBR PE.
Assigns new MPLS labels to the labeled IPv4 routes to be advertised to the PEs in the same AS.
Which IPv4 routes are to be assigned with MPLS labels depends on the routing policy. Only routes that
satisfy the criteria are assigned with labels. All the other routes are still common IPv4 routes.
To configure a routing policy for inter-AS option C on an ASBR PE:
To do...
Enter system view
Enter routing policy view
Configure the switch to match IPv4
routes with labels
Configure the switch to assign
labels to IPv4 routes
Use the command...
system-view
bgp as-number
peer { group-name | ip-address }
as-number as-number
peer { group-name | ip-address }
label-route-capability
peer { group-name | ip-address }
next-hop-local
peer { group-name | ip-address }
as-number as-number
peer { group-name | ip-address }
label-route-capability
peer { group-name | ip-address }
route-policy route-policy-name
export
Use the command...
system-view
route-policy policy-name permit
node seq-number
if-match mpls-label
apply mpls-label
230
Remarks
Required
Required
By default, the switch does not
advertise labeled routes to the IPv4
peer or peer group.
Required
By default, a BGP speaker does not
use its address as the next hop
when advertising a route to its
iBGP peer or peer group.
Required
Required
By default, the switch does not
advertise labeled routes to the IPv4
peer.
Required
By default, no routing policy is
applied to a peer or peer group.
Remarks
Required
Required
Required
By default, an IPv4 route does not
carry any label.

Advertisement

Table of Contents
loading

Table of Contents