R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

410
# In BGP IPv6 unicast address family view, save all route updates from peer 1::1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv6 unicast
[Sysname-bgp-ipv6] peer 1::1 keep-all-routes
Related commands
peer capability-advertise route-refresh
refresh bgp
peer label-route-capability
Use peer label-route-capability to enable BGP to exchange labeled routes with a peer or peer group.
Use undo peer label-route-capability to disable BGP from exchanging labeled routes with a peer or peer
group.
Syntax
peer { group-name | ip-address } label-route-capability
undo peer { group-name | ip-address } label-route-capability
Default
BGP cannot exchange labeled routes with a peer or peer group.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast
address family view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.
Usage guidelines
On an inter-AS VPN Option C network, you must execute the peer label-route-capability command in
BGP IPv4 unicast or BGP-VPN IPv4 unicast address family view to do the following:
Enable the local router and the peer to assign labels to BGP IPv4 routes.
Exchange the labeled routes for establishing the inter-AS public network LSPs.
On a 6PE network, you must execute the peer label-route-capability command in BGP IPv6 unicast
address family view to do the following:
Enable the local router and the peer to assign labels to BGP IPv6 routes.
Exchange the labeled routes for forwarding IPv6 packets over an IPv4 network.
Examples
# In BGP IPv4 unicast address family view, enable BGP to exchange labeled IPv4 routes with peer
2.2.2.2.
<Sysname> system-view