...
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 name | Description | |||||||
---|---|---|---|---|---|---|---|---|
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.
| |||||||
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.
| |||||||
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.
| |||||||
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.
| |||||||
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>".
|
...
Center | ||||||
---|---|---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
| ||||
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):
...