R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

461
Examples
# Apply IPsec policy policy001 to IPv6 BGP peer 1212::1111.
<Sysname] system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1212::1111 ipsec-policy policy001
peer keep-all-routes (IPv6 address family view)
Use peer keep-all-routes to save the original routing information from a peer or peer group, including
even routes that failed to pass the inbound policy.
Use undo peer keep-all-routes to disable this function.
Syntax
peer { group-name | ipv4-address | ipv6-address } keep-all-routes
undo peer { group-name | ipv4-address | ipv6-address } keep-all-routes
Default
The function is not enabled.
Views
IPv6 address family view
Default command level
2: System level
Parameters
group-name: Specifies the name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: Specifies the IPv4 address of a peer.
ipv6-address: Specifies the IPv6 address of a peer.
Examples
# Save routing information from peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 keep-all-routes
peer label-route-capability (IPv6 address family view)
Use peer label-route-capability to enable exchange of labeled IPv6 routes with the peer or peer group.
Use undo peer label-route-capability to disable exchange of labeled IPv6 routes with the peer or peer
group.
Syntax
peer { ipv4-group-name | ipv4-address } label-route-capability
undo peer { ipv4-group-name | ipv4-address } label-route-capability