configure iproute priority

configure iproute {ipv4} priority [auto-peering | 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 | evpn] priority {vr vrname}

Description

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

Syntax Description

auto-peering Specifies the auto-peering route.
blackhole Specifies the blackhole route.
bootp Specifies BOOTP.
ebgp Specifies E-BGP routes.
host-mobility Host-Mobility route.
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.
evpn Specifies EVPN 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.

Table 1. Relative Route Priorities
Route Origin Priority
Direct 10
MPLS 20
Blackhole 50
Static 1100
HostMobility 1150
ICMP 1200
EVPN 1698
Autopeering 1699
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 priorities can be changed, you should not attempt to do so unless you are certain of the possible consequences of the change. 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.

The evpn option was added in ExtremeXOS 30.7.

Platform Availability

This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.