Use this command to enable OSPF routing in a specified virtual router and to enter Router OSPF mode. If no virtual router is specified, OSPF routing is enabled in the default router.
| Format | router ospf [vrf vrf-name] |
| Mode | Global Config |
| Parameter | Description |
|---|---|
| vrf vrf-name | The virtual router on which to enable OSPF routing. |