address-family (OSPF)
To enter address family configuration mode for Open Shortest Path First (OSPF), use the address-family command in the appropriate mode. To disable address family configuration mode, use the no form of this command.
address-family ipv4 [unicast]
no address-family ipv4 [unicast]
Syntax Description
ipv4 |
Specifies IP Version 4 (IPv4) address prefixes. |
unicast |
(Optional) Specifies unicast address prefixes. |
Command Default
An address family is not specified.
Command Modes
Router configuration
Command History
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
OSPF version 2 automatically provides routing services for IPv4 unicast topologies, so this command is redundant.
Task ID
Task ID |
Operations |
---|---|
ospf |
read, write |
Examples
The following example shows how to configure the OSPF router process with IPv4 unicast address prefixes:
RP/0/RP0/CPU0:router(config)# router ospf 1
RP/0/RP0/CPU0:router(config-ospf)# address-family ipv4 unicast