Prefix-Priority - HP 5920 Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

value: Specifies the preference value in the range of 1 to 255. The smaller the value, the higher the
preference.
Usage guidelines
If multiple routing protocols find routes to the same destination, the router uses the route found by the
protocol with the highest preference.
Examples
# Set a preference of 200 for OSPF external routes.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] preference ase 200
# Use a routing policy to set a preference of 100.
<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] quit
[Sysname] ospf 100
[Sysname-ospf-100] preference route-policy pre 100

prefix-priority

Use prefix-priority to enable prefix prioritization.
Use undo prefix-priority to disable prefix prioritization.
Syntax
prefix-priority route-policy route-policy-name
undo prefix-priority
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.
170

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents