xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI 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
{ipif <ipif_name 12> | all}
create ospf area
<area_id> type [normal | [stub | nssa {translate [enable | disable]}]
{stub_summary [enable | disable] | metric <value 0-65535>}]
delete ospf area
<area_id>
config ospf area
<area_id> type [normal | [stub | nssa {translate [enable | disable]}]
{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]} | nssa_ext {advertise [enable | disable]}]
delete ospf aggregation
<area_id> <network_address> lsdb_type [summary | nssa_ext]
config ospf aggregation
<area_id> <network_address> lsdb_type [summary {advertise [enable |
disable]} | nssa_ext {advertise [enable | disable]}]
show ospf aggregation
{<area_id>}
show ospf lsdb
{area <area_id> | advertise_router <ipaddr> | type [rtrlink | netlink | summary |
assummary | asextlink | nssa_ext]}
{<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] | passive [enable | disable]}
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>}
show ospf neighbor
251