R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
489
# Configure node 10 in permit mode of routing policy policy2. If a BGP route matches AS path list 2, add
the SoO extended community attribute 100:3 to the route.
<Sysname> system-view
[Sysname] route-policy policy2 permit node 10
[Sysname-route-policy] if-match as-path 2
[Sysname-route-policy] apply extcommunity soo 100:3 additive
apply ip-precedence
Use apply ip-precedence to set an IP precedence for matching routes.
Use undo apply ip-precedence to remove the configuration.
Syntax
apply ip-precedence ip-precedence-value
undo apply ip-precedence
Default
No IP precedence is set for matching routes.
Views
Routing policy view
Default command level
2: System level
Parameters
ip-precedence-value: Specifies an IP precedence in the range of 0 to 7.
Examples
# Configure node 10 in permit mode of routing policy policy1. Set IP precedence 5 for routes matching
the prefix list abc.
<Sysname> system-view
[Sysname] ip ip-prefix abc index 10 permit 100.1.1.0 24
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match ip-prefix abc
[Sysname-route-policy] apply ip-precedence 5
apply isis
Use apply isis to redistribute routes into a specified ISIS level.
Use undo apply isis to remove the clause configuration.
Syntax
apply isis { level-1 | level-1-2 | level-2 }
undo apply isis
Default
No IS-IS level is set.