ospf

Enables OSPF routing on a profile or device

Supported in the following platforms:

Syntax

ospf enable

Parameters

ospf enable
ospf enable Enables OSPF routing on devices using this profile. This option is disabled by default.

Examples

nx9500-6C8809(config-profile default-ap8533-router-ospf)#ospf enable
nx9500-6C8809(config-profile default-ap8533-router-ospf)#show context
 router ospf
  ospf enable
  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
  ip default-gateway priority 1
nx9500-6C8809(config-profile default-ap8533-router-ospf)#

Related Commands

no (router-mode-config-command) Disables OSPF routing on a profile or device