disable ospf export

disable ospf export [bgp | direct | e-bgp | host-mobility |i-bgp | rip | static | isis | isis-level-1| isis-level-1-external | isis-level-2 | isis-level-2-external]


Disables redistribution of routes to OSPF.

Syntax Description

bgp Specifies BGP routes.
direct Specifies direct routes.
e-bgp Specifies E-BGP routes.
host-mobility Specifies host-mobility routes.
i-bgp Specifies I-BGP routes.
rip Specifies RIP routes.
static Specifies static routes.
isis Specifies IS-IS routes.
isis-level-1 Specifies ISIS Level 1 routes.
isis-level-1-external Specifies ISIS Level 1 External routes.
isis-level-2 Specifies ISIS Level 2 routes.
isis-level-2-external Specifies ISIS Level 2 External routes.


The default setting is disabled.

Usage Guidelines

Use this command to stop OSPF from exporting routes derived from other protocols.


The following command disables OSPF to export BGP-related routes to other OSPF routers:

disable ospf export bgp


This command was first available in ExtremeXOS 10.1.

The host-mobility option was added in ExtremeXOS 16.2.

Platform Availability

This command is available on platforms with an Advanced Edge or Core license as described in the Feature License Requirements document.