Apply Preferred-Value; Apply Tag - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1194
C
78: R
HAPTER
OUTING
Description
Examples

apply preferred-value

Syntax
View
Parameters
Description
Examples

apply tag

Syntax
P
C
C
OLICY
OMMON
ONFIGURATION
Use the
apply preference
Use the
undo apply preference
No preference is set for a routing protocol by default.
If you set preferences for routing protocols with the preference command, using
the apply preference command will set a new preference for a matched routing
protocol. Other routing protocols not satisfying criteria still use the preferences set
by the preference command.
# Create routing policy policy1 with node 10, matching mode as permit. If a route
matches OSPF external route type, set the preference for the routing protocol to
90.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match route-type external-type1or2
[Sysname-route-policy] apply preference 90
apply preferred-value preferred-value
undo apply preferred-value
Routing policy view
preferred-value: Preferred value, in the range of 0 to 65535.
Use the
apply preferred-value
routes.
Use the
undo apply preferred-value
configuration.
No preferred value is set for BGP routes by default.
# Create routing policy policy1 with node 10, matching mode as permit. If a BGP
route matches AS-path-ACL 1, set the preferred value 66 for the BGP route.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply preferred-value 66
apply tag value
undo apply tag
C
OMMANDS
command to set a preference for a routing protocol.
command to remove the clause configuration.
command to apply a preferred value to BGP
command to remove the clause

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents