configure iproute priority

configure iproute {ipv4} priority [blackhole | bootp | ebgp | ibgp | icmp | isis | isis-level-1 | isis-level-1-external | isis-level-2 | isis-level-2-external | mpls | ospf-as-external | ospf-extern1 | ospf-extern2 | ospf-inter | ospf-intra | rip | static] priority {vr vrname}

Description

Changes the priority for all routes from a particular route origin.

Syntax Description

blackhole Specifies the blackhole route.
bootp Specifies BOOTP.
ebgp Specifies E-BGP routes
ibgp Specifies I-BGP routes
icmp Specifies ICMP.
isis Specifies IS-IS and applies only to blackhole routes installed for summary addresses.
isis-level-1 Specifies IS-IS Level 1 routing.
isis-level-1-external Specifies IS-IS Level 1 External routing.
isis-level-2 Specifies IS-IS Level 2 routing.
isis-level-2-external Specifies IS-IS Level 2 External routing.
mpls Specifies MPLS routing.
ospf-as-external Specifies OSPF as External routing.
ospf-extern1 Specifies OSPF External 1 routing.
ospf-extern2 Specifies OSPF External 2 routing.
ospf-inter Specifies OSPFInter routing.
ospf-intra Specifies OSPFIntra routing.
rip Specifies RIP.
static Specifies static routes.
priority Specifies a priority number in the range of 11 to 65534.
vrname Specifies a VR or VRF name.

Default

The following table lists the relative priorities assigned to routes depending upon the learned source of the route.

expand icon

Relative Route Priorities

Route Origin Priority
Direct 10
MPLS 20
Blackhole 50
Static 1100
ICMP 1200
EBGP 1700
IBGP 1900
OSPFIntra 2200
OSPFInter 2300
IS-IS 2350
IS-IS L1 2360
IS-IS L2 2370
RIP 2400
OSPFAsExt 3100
OSPF External 1 3200
OSPF External 2 3300
IS-IS L1 Ext 3400

IS-IS L2 Ext

3500
BOOTP 5000

Usage Guidelines

Although these priorities can be changed, do not attempt any manipulation unless you are expertly familiar with the possible consequences. If you change the route priority, you must save the configuration and reboot the system.

Note

Note

The priority for a blackhole route cannot overlap with the priority of any other route origin.

Example

The following example sets IP route priority for static routing to 1200:

configure iproute priority static 1200

History

This command was first available in ExtremeXOS 10.1.

The route priority restrictions were added in ExtremeXOS 11.1.

The ipv4 keyword was added in ExtremeXOS 11.2.

The vr option was added in ExtremeXOS 12.1.2.

Platform Availability

This command is available on all platforms.