3com S7906E 참조 가이드
1-45
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test route-policy test-policy export
preference (MBGP family view)
Syntax
preference { external-preference internal-preference local-preference |
route-policy
route-policy-name }
undo preference
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
external-preference: Preference of EBGP routes, in the range 1 to 255.
internal-preference: Preference of IBGP routes, in the range 1 to 255.
local-preference: Preference of local routes, in the range 1 to 255.
route-policy-name: Route policy name, a string of 1 to 19 characters. Using a route policy can set
preferences for the routes matching it. As for the unmatched routes, the default preferences are
adopted.
Description
Use the preference command to configure preferences for external, internal, and local routes.
Use the undo preference command to restore the default.
The default preference values of external, internal and local BGP routes are 255, 255, and 130,
respectively
Examples
# In IPv4 MBGP address family view, configure preferences for EBGP, IBGP, and local IPv4 MBGP
routes as 20, 20, and 200.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] preference 20 20 200
reflect between-clients (MBGP family view)
Syntax
reflect between-clients
undo reflect between-clients
View
IPv4 MBGP address family view