|
Command |
Command Description |
Command Syntax |
2.3.1 |
router ospf process-id |
To configure an OSPF routing process, use the router ospf global
configuration command. To terminate an OSPF routing process, use the
no form of this command. |
router ospf process-id |
|
network address wildcard-mask area
area-id |
To define the interfaces on which OSPF runs and to define the area ID
for those interfaces, use the network area router configuration
command. |
network address wildcard-mask area
area-id |
2.3.2 |
interface loopback number |
Use the interface global configuration command to configure an
interface type and enter interface configuration mode. |
interface type number |
|
ip ospf priority number |
To set the router priority, which helps determine the designated
router for this network, use the ip ospf priority interface
configuration command. To return to the default value, use the no form
of this command. |
ip ospf priority number |
|
show ip ospf interface type number |
Displays statistics and status information of running ospf processes. |
show ip ospf { [process-id] | border-routers | database |
interface | virtual-links } |
2.3.3 |
ip ospf cost number |
To explicitly specify the cost of sending a packet on an interface,
use the ip ospf cost interface configuration command. To reset the
path cost to the default value, use the no form of this command. |
ip ospf cost cost |
2.3.4 |
ip ospf authentication-key password |
To assign a password to be used by neighboring routers that are using
OSPF's simple password authentication, use the ip ospf
authentication-key interface configuration command. To remove a
previously assigned OSPF password, use the no form of this command. |
ip ospf authentication-key
password |
|
area area-number authentication |
Use the area command to configure area parameters such as
authentication and summarization. |
area area-id { authentication [message-digest] | stub [no-summary]
| nssa [no-redistribution] [default- information-originate] |
default-cost cost | range address mask [advertise | not-advertise] |
virtual-link router-id } |
|
ip ospf message-digest-key key-id
md5 encryption-type key |
To enable OSPF Message Digest 5 (MD5) authentication, use the ip ospf
message-digest-key interface configuration command. To remove an old
MD5 key, use the no form of this command. |
ip ospf message-digest-key key-id
md5 key |
2.3.5 |
ip ospf hello-interval seconds |
To specify the interval between hello packets that the Cisco IOS
software sends on the interface, use the ip ospf hello-interval
interface configuration command. |
ip ospf hello-interval seconds |
|
ip ospf dead-interval seconds |
|
|
2.3.6 |
default-information originate |
To generate a default route into RIP, use the default-information
originate router configuration command. To disable this feature, use
the no form of this command. |
default-information originate [route-map mapname] |
2.3.8 |
show ip ospf interface |
Displays statistics and status information of running ospf processes. |
show ip ospf { [process-id] | border-routers | database |
interface | virtual-links } |
|
show ip ospf |
Displays statistics and status information of running ospf processes. |
show ip ospf { [process-id] | border-routers | database |
interface | virtual-links } |
|
show ip ospf neighbor detail |
Displays detailed list of neighbors, their priorities, and their
state. |
show ip ospf neighbor detail |
|
show ip ospf database |
Displays statistics and status information of running ospf processes. |
show ip ospf { [process-id] | border-routers | database |
interface | virtual-links } |