configure iproute priority

configure iproute {ipv4} priority [blackhole | bootp | ebgp |host-mobility | 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}


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 (Border Gateway Protocol) routes.
host-mobility Host-Mobility route.
ibgp Specifies I-BGP routes.
icmp Specifies ICMP (Internet Control Message Protocol).
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 (Multiprotocol Label Switching) routing.
ospf-as-external Specifies OSPF (Open Shortest Path First) 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 (Routing Information Protocol).
static Specifies static routes.
priority Specifies a priority number in the range of 11 to 65534.
vrname Specifies a VR or VRF name.


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

Click to expand in new window

Relative Route Priorities

Route Origin Priority
Direct 10
Blackhole 50
Static 1100
HostMobility 1150
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

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.



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


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

configure iproute priority static 1200


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 the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.