R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

176
Default
Prefix prioritization is disabled.
Views
OSPF view
Predefined user roles
network-admin
Parameters
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63
characters, to set a priority for the specified route prefixes.
Usage guidelines
Prefix prioritization enables the device to install prefixes in descending priority order: critical, high,
medium, and low. The prefix priorities are assigned through routing policies. When a route is assigned
multiple prefix priorities, it uses the highest priority.
By default, the 32-bit OSPF host routes have a medium priority and other routes have a low priority.
Examples
# Use a routing policy to assign the medium priority to the specified route prefixes.
<Sysname> system-view
[Sysname] ip prefix-list test index 10 permit 100.1.1.0 24
[Sysname] route-policy pre permit node 10
[Sysname-route-policy-pre-10] if-match ip address prefix-list test
[Sysname-route-policy-pre-10] apply prefix-priority medium
[Sysname-route-policy-pre-10] quit
[Sysname] ospf 100
[Sysname-ospf-100] prefix-priority route-policy pre
prefix-suppression
Use prefix-suppression to disable an OSPF process from advertising all IP prefixes except for the prefixes
of loopback interfaces, secondary IP addresses, and passive interfaces.
Use undo prefix-suppression to restore the default.
Syntax
prefix-suppression
undo prefix-suppression
Default
An OSPF process advertises all prefixes.
Views
OSPF view
Predefined user roles
network-admin