no (router-mode-config-command)

Removes this OSPF router settings or reverts them to default values

Supported in the following platforms:

Syntax

no [area|auto-cost|default-information|ip|network|ospf|passive|redistribute|
route-limit|router-id]

Parameters

no <PARAMETERS>
no <PARAMETERS> Negates a command or set its defaults

Usage Guidelines

The no command negates any command associated with it. Wherever required, use the same parameters associated with the command getting negated.

Examples

The following example shows the OSPF router interface settings before the ‘no‘ commands are executed:

nx9500-6C8809(config-profile default-ap8533-router-ospf)#show context
 router ospf
  network 1.2.3.0/24 area 4.5.6.7
  area 0.0.0.4
  auto-cost reference-bandwidth 1
  default-information originate metric 1 metric-type 2
  redistribute static metric-type 1
  passive vlan1
  route-limit num-routes 10 reset-time 10
  ip default-gateway priority 1
nx9500-6C8809(config-profile default-ap8533-router-ospf)#
nx9500-6C8809(config-profile default-ap8533-router-ospf)#no area 4
nx9500-6C8809(config-profile default-ap8533-router-ospf)#no auto-cost reference-bandwidth
nx9500-6C8809(config-profile default-ap8533-router-ospf)#no network 1.2.3.0/24 area 4.5.6.7

The following example shows the OSPF router interface settings after the ‘no‘ commands are executed:

nx9500-6C8809(config-profile default-ap8533-router-ospf)#show context
 router ospf
  default-information originate metric 1 metric-type 2
  redistribute static metric-type 1
  passive vlan1
  route-limit num-routes 10 reset-time 10
  ip default-gateway priority 1
nx9500-6C8809(config-profile default-ap8533-router-ospf)#