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

271
internal-preference: Specifies the preference of IBGP routes, in the range of 1 to 255.
local-preference: Specifies the preference of local routes, in the range of 1 to 255.
route-policy-name: Specifies the routing policy name, a case-sensitive string of 1 to 63 characters. Using
the routing policy can set a preference for routes matching it. The default value applies to routes not
matching the routing policy.
Usage guidelines
For external-preference, internal-preference, and local-preference, the greater the preference value is, the
lower the preference is. The default values are 255, 255, and 130.
Examples
# In BGP view, configure preferences for EBGP, IBGP and local routes as 20, 20, and 200.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] preference 20 20 200
# In BGP-VPN instance view, configure preferences for EBGP, IBGP and local routes as 20, 20, and 200.
(The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] preference 20 20 200
reflect between-clients (BGP view/BGP-VPN instance view)
Use reflect between-clients to enable route reflection between clients.
Use undo reflect between-clients to disable this function.
Syntax
reflect between-clients
undo reflect between-clients
Default
Route reflection between clients is enabled.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Usage guidelines
After a route reflector is configured, it reflects the routes of a client to other clients. If the clients of a route
reflector are fully meshed, disable route reflection between clients to reduce routing costs.
Examples
# Disable route reflection between clients.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] undo reflect between-clients