Changes the priority for all routes from a particular route origin.
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. |
The following table lists the relative priorities assigned to routes depending upon the learned source of the route.
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 |
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
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.
The evpn option was added in ExtremeXOS 30.7.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.