H3C S6550X-HI Series Command Reference Manual page 2062

Table of Contents

Advertisement

[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match as-path 1
[Sysname-route-policy-policy1-10] apply origin igp
apply preference
Use
apply preference
Use
undo apply preference
Syntax
apply preference preference
undo apply preference
Default
No preference is set for a routing protocol.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
preference
Usage guidelines
If you have set preferences for routing protocols by using the
preference
routing protocols still use the preferences set by using the
Examples
# Configure node 10 in permit mode for routing policy policy1 to set the preference for OSPF
external routes to 90.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match route-type external-type1or2
[Sysname-route-policy-policy1-10] apply preference 90
apply preferred-value
Use
apply preferred-value
Use
undo apply preferred-value
Syntax
apply preferred-value preferred-value
undo apply preferred-value
Default
No preferred value is set for BGP routes.
Views
Routing policy node view
to set a preference for a routing protocol.
to restore the default.
: Specifies a preference in the range of 1 to 255.
command sets a new preference for the matching routing protocol. Unmatched
to set a preferred value for BGP routes.
preference
preference
to restore the default.
10
command, the
apply
command.

Advertisement

Table of Contents
loading

Table of Contents