6-2
[Sysname-route-policy] apply cost 120
apply preference
Syntax
apply preference
preference
undo apply preference
View
Route policy view
Default Level
2: System level
Parameters
preference
: Routing protocol preference, in the range of 1 to 255.
Description
Use the
apply preference
command to set a preference for a routing protocol.
Use the
undo apply preference
command to remove the clause configuration.
No preference is set for a routing protocol by default.
If you have set preferences for routing protocols with the
preference
command, using the
apply
preference
command will set a new preference for the matching routing protocol. Non-matching
routing protocols still use the preferences set by the
preference
command.
Examples
# Configure node 10 in permit mode of route policy
policy1
: If a route matches existing ACL 2000, set
the preference for the routing protocol to 90.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match acl 2000
[Sysname-route-policy] apply preference 90
apply tag
Syntax
apply tag
value
undo apply tag
View
Route policy view
Default Level
2: System level
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...