xStack Gigabit Layer 3 Switch Command Line Interface Manual
41
OSPF C
ONFIGURATION
C
OMMANDS
The OSPF configuration commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command Parameters
config ospf router_id
<ipaddr>
enable ospf
disable ospf
show ospf
create ospf area
<area_id> type [normal | stub {stub_summary [enable |
disable] | metric <value 0-65535>}]
delete ospf area
<area_id>
config ospf area
<area_id> type [normal | stub {stub_summary [enable |
disable] | metric <value 0-65535>}]
show ospf area
{<area_id>}
create ospf host_route
<ipaddr> {area <area_id> | metric <value 1-65535>}
delete ospf host_route
<ipaddr>
config ospf host_route
<ipaddr> {area <area_id> | metric <value 1-65535>}
show ospf host_route
<ipaddr>
create ospf aggregation
<area_id> <network_address> lsdb_type summary {advertise
[enabled | disabled]}
delete ospf aggregation
<area_id> <network_address> lsdb_type summary
config ospf aggregation
<area_id> <network_address> lsdb_type summary {advertise
[enable | disable]}
<area_id>
show ospf lsdb
{area <area_id> | advertise_router <ipaddr> | type [rtrlink |
netlink | summary | assummary | asextlink]}
show ospf neighbor
<ipaddr>
show ospf
virtual_neighbor
{<area_id> <neighbor_id>}
config ospf ipif
<ipif_name 12> {area <area_id> | priority <value> |
hello_interval <sec 1-65535 > | dead_interval <sec 1-65535> |
authentication [none | simple <password 8> | md5 <key_id 1-
255>] | metric <value 1-65535> state [enable | disable]
config ospf all
{area <area_id> | priority <value> | hello_interval <1-65535
sec> | dead_interval <1-65535 sec> | authentication [none |
simple <password 8> | md5 <key_id 1-255>] | metric <value
1-65535> state [enable | disable]
show ospf ipif
<ipif_name 12>
show ospf aggregation
309