Accton Technology ES3628C Switch User Manual


 
IP Routing Commands
4-267
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
network area (4-273)
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 4-295
show ip ospf
summary-address
Displays all summary address redistribution information PE 4-296
show ip ospf virtual-links Displays parameters and the adjacency state of virtual links PE 4-296
Console(config)#router ospf
Console(config-router)#
Table 4-89 Open Shortest Path First Commands (Continued)
Command Function Mode Page