Assigning ospf areas, Resetting ospf – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 197

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

179

53-1002603-01

Configuring OSPF

Brocade(config-ospf-router)#no router ospf

router ospf mode now disabled. All ospf config data will be lost when writing to

flash!

If you have disabled the protocol but have not yet saved the configuration to the startup-config file
and reloaded the software, you can restore the configuration information by re-entering the
command to enable the protocol (for example, router ospf). If you have already saved the
configuration to the startup-config file and reloaded the software, the information is gone.

If you are testing an OSPF configuration and are likely to disable and re-enable the protocol, you
might want to make a backup copy of the startup-config file containing the protocol configuration
information. This way, if you remove the configuration information by saving the configuration after
disabling the protocol, you can restore the configuration by copying the backup copy of the
startup-config file onto the flash memory.

Resetting OSPF

The clear ip ospf all command globally resets (disables then re-enables) OSPF without deleting the
OSPF configuration information. This command is equivalent to entering the commands no router
ospf followed by router ospf. Whereas the no router ospf command disables OSPF and removes all
the configuration information for the disabled protocol from the running-config, the router ospf
command re-enables OSPF and restores the OSPF configuration information.

The clear ip ospf all command is useful If you are testing an OSPF configuration and are likely to
disable and re-enable the protocol. This way, you do not have to save the configuration after
disabling the protocol, and you do not have to restore the configuration by copying the backup copy
of the startup-config file onto the flash memory.

To reset OSPF without deleting the OSPF configuration, enter the following command at the Global
CONFIG level or at the Router OSPF level of the CLI.

Brocade#clear ip ospf all

Syntax: clear ip ospf all

Assigning OSPF areas

Once OSPF is enabled on the system, you can assign areas. Assign an IP address or number as the
area ID for each area. The area ID is representative of all IP addresses (subnets) on a router port.
Each port on a router can support one area.

An area can be normal, a stub, or a Not-So-Stubby Area (NSSA):

Normal – OSPF routers within a normal area can send and receive External Link State
Advertisements (LSAs).

Stub – OSPF routers within a stub area cannot send or receive External LSAs. In addition,
OSPF routers in a stub area must use a default route to the area Area Border Router (ABR) or
Autonomous System Boundary Router (ASBR) to send traffic out of the area.

Advertising