address-family (static)
To enter various address family configuration modes while configuring static routes, use the address-family command in the appropriate configuration mode. To disable support for an address family, use the no form of this command.
address-family { ipv4 | ipv6 } { unicast }
no address-family { ipv4 | ipv6 } { unicast }
Syntax Description
ipv4 |
Specifies IP Version 4 address prefixes. |
ipv6 |
Specifies IP Version 6 address prefixes. This option is available only in static router configuration mode. |
unicast |
Specifies unicast address prefixes. |
Command Modes
Router static configuration
Usage Guidelines
Use the address-family command to enter various address family configuration modes while configuring static routing sessions. From address family configuration mode, you can configure static routes using the route command.
Examples
The following example shows how to enter IPv6 unicast address family mode:
Router(config)# router static
Router(config-static)# address-family ipv6 unicast
Router(config-static-afi)#