59. Open Shortest Path First (OSPF) Command List
59.Open Shortest Path First (OSPF)
Command List
OSPF is a function to determine packet destinations dynamically. While RIP
decides a route based on the number of routers passed through, OSPF
determines an optimum route from the total number of cost values based
on the route bandwidth. This allows for efficient routing even in a large-size
network.
You need to configure the cost value for each output port of a L3 Switching Hub or
router. It can be configured manually, as well as automatically based on bandwidth.
Manual configuration allows you to set up distributing traffic to multiple routes
according to the conditions.
The cost value is calculated based on a network configuration created by exchanging
route information (LSA) with neighbor Switching Hubs. The larger a configuration
becomes, the higher a calculation load becomes. If a configuration is too large,
configure "areas" - multiple regions into which the network is divided.
config ospf [ipif <ipif_name 12> | all] {area <area_id> | priority <value> | hello_interval <sec 1-
65535> | dead_interval <sec 1-65535> | authentication [none | simple <password 8>] |
metric <value 1-65535> | state [enable | disable] | passive [enable | disable]}(1)
create ospf aggregation <area_id> <network_address> lsdb_type [summary {advertise [enable |
disable]} | nssa_ext {advertise [enable | disable]}]
config ospf aggregation <area_id> <network_address> lsdb_type [summary {advertise [enable |
disable]} | nssa_ext {advertise [enable | disable]}]
delete ospf aggregation <area_id> <network_address> lsdb_type [summary | nssa_ext]
show ospf aggregation {<area_id>}
create ospf area <area_id> type [normal | [stub | nssa {translate [enable | disable]}]
{stub_summary [enable | disable] | metric <value 0-65535>}]
config ospf area <area_id> type [normal | [stub | nssa {translate [enable | disable]}]
{stub_summary [enable | disable] | metric <value 0-65535>}]
delete ospf area <area_id>
Figure 59-1 OSPF overview
646