556
Syntax
apply isis
{
level-1
|
level-1-2
|
level-2
}
undo apply isis
Default
No IS-IS level is set.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
level-1
: Redistributes routes into IS-IS Level-1.
level-1-2
: Redistributes routes into both IS-IS Level-1 and Level-2.
level-2
: Redistributes routes into IS-IS Level-2.
Examples
# Configure node 10 in
permit
mode for routing policy
policy1
to redistribute routes that have a tag of
8 to IS-IS level-2.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy-policy1-10] if-match tag 8
[Sysname-route-policy-policy1-10] apply isis level-2
apply local-preference
Use
apply local-preference
to set a local preference for BGP routes.
Use
undo apply local-preference
to restore the default.
Syntax
apply local-preference
preference
undo apply local-preference
Default
No local preference is set for BGP routes.
Views
Routing policy node view
Predefined user roles
network-admin
Parameters
preference
: Specifies a local preference in the range of 0 to 4294967295.
Examples
# Configure node 10 in
permit
mode for routing policy
policy1
to set a local preference of 130 for routes
matching AS path list 1.