Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The OSPF configuration is performed only via CLI. A separate command shell with several modes is used to configure the OSPF protocol (Figure 1). The transition to each mode is performed using the commands with having the same name as the mode. A detailed description of the commands description is available in in the Technical documentation.

Mode nameDescription
Basic

Basic The basic OSPF mode is used to analyze the output of the diagnostic commands output and to switch to the configuration mode.

Switching to the basic mode is performed from the WANFleX command shell using the "ospf" command.

Code Block
languagetext
themeEmacs
BS_1#1> ospf
OSPF> 
OSPF configuration

Configuration The configuration mode allows to manage the OSPF service running on the device and to proceed to the additional configuration modes, : router, interfaces , or route-maps.

Switching The switching to the OSPF configuration mode is performed from the basic mode using the "config" command.

Code Block
languagetext
themeEmacs
OSPF> config
OSPF(config)#
OSPF router configuration

In the router configuration mode, the basic OSPF settings are made. The can be performed. This mode allows to configure the announced networks, the areas, the router ID, etc.

Switching The switching to the OSPF router configuration mode is performed from the configuration mode using the "router" command.

Code Block
languagetext
themeEmacs
OSPF(config)# router
OSPF(config-router)# 
OSPF interface configuration

The OSPF interface configuration mode allows to configure the protocol settings related to a specific interface.

Switching The switching to the OSPF interface configuration mode is performed from the configuration mode using the "interface IFNAME" command.

Code Block
languagetext
themeEmacs
OSPF(config)# interface rf5.0
OSPF(config-if)# 
Route-maps configuration

RouteThe route-maps configuration mode allows to configure the rules that should be applied to the announced or received OSPF routes.

Switching The switching to the OSPF route-map configuration mode is performed from the configuration mode using the rule creation command "route-map WORD (deny|permit) <1-65535>".

Code Block
languagetext
themeEmacs
OSPF(config)# route-map MAP permit 10
OSPF(config-route-map)# 

...

Center

Gliffy Diagram
nameospf_shell

Figure 1 - Scheme of switching Switching between the OSPF command shell modes

Each OSPF shell modes mode provides help by displaying the full list of supported commands. To display the list use the "help" command.

The routing table can be displayed by using one of the following commands:

Code Block
languagetext
themeEmacs
From WANFleX command shell:
BS_1#1> netstat -r

From OSPF command shell:
OSPF> show route

From ARDA command shell:
ARDA> show route

...

Network scheme with one OSPF area

To demonstrate how to configure the OSPF protocol and analyze the diagnostic commands output, let's look at the example of the scheme with one OSPF area (Figure 2):

...