Microsoft ES4625 Manuel D’Utilisation

Page de 674
IP Routing Commands
4-265
4
router ospf
This command enables Open Shortest Path First (OSPF) routing for all IP interfaces 
on the router. Use the no form to disable it.
Syntax 
[no] router ospf
Command Mode 
Global Configuration
Default Setting 
Disabled
Command Usage 
• OSPF is used to specify how routers exchange routing table information.
• This command is also used to enter router configuration mode.
Example
Related Commands
router-id
This command assigns a unique router ID for this device within the autonomous 
system. Use the no form to use the default router identification method (i.e., the 
lowest interface address).
Syntax 
router-id
 
ip-address
no router-id
ip-address - Router ID formatted as an IP address. 
Command Mode 
Router Configuration
Default Setting 
Lowest interface address
show ip ospf neighbor
Displays neighbor information
PE
show ip ospf 
summary-address
Displays all summary address redistribution information
PE
show ip ospf virtual-links Displays parameters and the adjacency state of virtual links
PE
Console(config)#router ospf
Console(config-router)#
Table 4-89   Open Shortest Path First Commands (Continued)
Command
Function
Mode Page