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

473
[Sysname-bgp-af-ipv6] group test external
[Sysname-bgp-af-ipv6] peer test timer keepalive 0 hold 0
Related commands
timer
preference (IPv6 address family view/IPv6 BGP-VPN instance
view)
Use preference to configure preferences for EBGP, IBGP, and local routes.
Use undo preference to restore the default.
Syntax
preference { external-preference internal-preference local-preference | route-policy route-policy-name }
undo preference
Default
The default values of external-preference, internal-preference, and local-preference are 255, 255, and
13 0 .
Views
IPv6 address family view, IPv6 BGP-VPN instance view
Default command level
2: System level
Parameters
external-preference: Specifies the preference of EBGP route learned from an EBGP peer, in the range of
1 to 255.
internal-preference: Specifies the preference of IBGP route learned from an IBGP peer, in the range of 1
to 255.
local-preference: Specifies the preference of IPv6 BGP local route, in the range of 1 to 255.
route-policy-name: Specifies the routing policy name, a string of 1 to 63 characters. The routing policy
can set a preference for routes passing it. The default value applies to the routes filtered out.
Usage guidelines
The bigger the preference value is, the lower the preference is.
Examples
# Configure preferences for EBGP, IBGP, and local routes as 20, 20 and 200.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] preference 20 20 200
reflect between-clients (IPv6 address family view)
Use reflect between-clients to enable route reflection between clients.