R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

490
Views
Routing policy view
Default command level
2: System level
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 of routing policy policy1. If a route has a tag of 8, redistribute the
route to IS-IS level-2.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match tag 8
[Sysname-route-policy] apply isis level-2
apply local-preference
Use apply local-preference to configure the specified local preference for BGP routes.
Use undo apply local-preference to remove the clause configuration.
Syntax
apply local-preference preference
undo apply local-preference
Default
No local preference is configured for BGP routing information.
Views
Routing policy view
Default command level
2: System level
Parameters
preference: Specifies a local preference for BGP routes, in the range of 0 to 4294967295.
Examples
# Configure node 10 in permit mode of routing policy policy1. If a route matches AS path list 1, configure
a local preference of 130 for the route.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply local-preference 130