HP MSR2000/3000/4000 Router Series MPLS Configuration Guide

137
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Configure the ASBR PE in the
same AS as an IBGP peer.
peer { group-name | ip-address }
as-number as-number
By default, no BGP peer is created.
4. Configure the PE of another
AS as an EBGP peer.
peer { group-name | ip-address }
as-number as-number
By default, no BGP peer is created.
5. Enter BGP IPv4 unicast
address family view.
address-family ipv4 [ unicast ] N/A
6. Enable the PE to exchange
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 the PE to exchange
labeled IPv4 routes with the
ASBR PE in the same AS.
peer { group-name | ip-address }
label-route-capability
By default, BGP does not advertise
labeled routes to any IPv4 peer or
peer group.
8. Return to BGP view.
quit N/A
9. Enter BGP-VPNv4 address
family view.
address-family vpnv4 N/A
10. Enable the PE to exchange
VPNv4 routes with the peer or
peer group.
peer { group-name | ip-address }
enable
By default, BGP does not exchange
VPNv4 routes with any peer.
11. (Optional.) Configure the PE
to not change the next hop of
routes advertised to the EBGP
peer.
peer { group-name | ip-address }
next-hop-invariable
Configure this command on the RR
so the RR does not change the next
hop of advertised VPNv4 routes.
Configuring an ASBR PE
In the inter-AS option C solution, an inter-AS LSP is required, and the public network routes advertised
between the relevant PEs and ASBRs must carry MPLS label information.
An ASBR-PE establishes common IBGP peer relationships with PEs in the same AS, and a common EBGP
peer relationship with the peer ASBR PE. All of them can exchange labeled IPv4 routes.
Public network routes carrying MPLS labels are advertised through MP-BGP. According to RFC 3107
"Carrying Label Information in BGP-4," the label mapping information for a particular route is
piggybacked in the same BGP update message that is used to distribute the route. This capability is
implemented through BGP extended attributes and requires that BGP peers can handle labeled IPv4
routes.
To configure an ASBR PE for inter-AS option C:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Configure the PE in the same
AS as an IBGP peer.
peer { group-name | ip-address }
as-number as-number
By default, no BGP peer is created.
4. Configure the peer ASBR PE
as an EBGP peer.
peer { group-name | ip-address }
as-number as-number
By default, no BGP peer is created.