[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Creating a Single OSPFv2 Interface
To create a single OSPFv2 interface:
- Create an OSPF routing process.
- Create the OSPF interface associated with the IP interface
at the specified address.
Each router running OSPF has a database describing
a map of the routing domain. This map needs to be identical in all
participating routers.
address area
- Use to create an interface in an area on which OSPFv2
runs, on top of the IP interface at the specified IP address.
- You can specify either an IP address or an unnumbered
interface.
- Configures OSPFv2 with the default values. You can configure
the interface with a nondefault value by using the other address commands. You must first issue the address area command before issuing any other address commands. See Configuring OSPF Interfaces for more information.
- Example
- host1(config-router)#address 10.10.32.100
area 0.0.0.0
- Use the no version to delete the OSPFv2 interface.
- See address area
ospf enable
- Use to enable OSPF on the router.
- OSPF is enabled by default.
- Example
- host1(config-router)#ospf enable
- The no version of this command
is deprecated and might be removed in a future release. Use the ospf shutdown command to disable OSPF on the router.
- See ospf enable
router ospf
- Use to set an OSPF process ID.
- The process ID can be any positive integer in the range
1–65535.
- You must assign a unique ID for each OSPF routing process.
- Example
- host1(config)#router ospf 5
- Use the no version to end the
designated OSPF routing process.
- See router ospf
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]