xStack DES-3800 Series Layer 3 Stackable Fast Ethernet Managed Switch CLI Manual
211
33
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 [enable | disable]}
delete ospf aggregation
<area_id> <network_address> lsdb_type summary
config ospf aggregation
<area_id> <network_address> lsdb_type summary {advertise [enable | disable]}
show ospf aggregation
<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 <ipif_name 12> | all] {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] | active | passive}
show ospf
{[ipif <ipif_name 12> | all]}
create ospf virtual_link
<area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-
65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>]}
config ospf virtual_link
<area_id> <neighbor_id> {hello_interval <sec 1-65535> | dead_interval <sec 1-
65535> | authentication [none | simple <password 8> | md5 <key_id 1-255>]}
delete ospf virtual_link
<area_id> <neighbor_id>
show ospf virtual_link
<area_id> <neighbor_id>
config ospf
default_information_origina
te
[enable {always [enable | disable] | mettype [1 | 2] | metric <value> | disable]