559
apply preferred-value
Use
apply preferred-value
to set a preferred value for BGP routes.
Use
undo apply preferred-value
to restore the default.
Syntax
apply preferred-value
preferred-value
undo apply preferred-value
Default
No preferred value is set for BGP routes.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
preferred-value
: Specifies a preferred value in the range of 0 to 65535.
Examples
# Configure node 10 in
permit
mode for routing policy
policy1
to set a preferred value of 66 for BGP
routes matching AS path list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match as-path 1
[Sysname-route-policy-policy1-10] apply preferred-value 66
apply prefix-priority
Use
apply prefix-priority
to set a prefix priority for routes.
Use
undo apply prefix-priority
to restore the default.
Syntax
apply prefix-priority
{
critical
|
high
|
medium
}
undo apply prefix-priority
Default
No prefix priority is set, which means the prefix priority is low.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
critical
: Sets the critical prefix priority for routes.
high
: Sets the high prefix priority for routes.