Assign routed router interface Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
interface [INTERFACE]
vrf forwarding [VRF-NAME]
ip address [IP-ADDRESS][SUBNET-MASK]
ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VRF-NAME]
Local VRF name; align it with the task.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
Assign L3 switch routed port Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
ip routing
ipv6 unicast-routing
interface [INTERFACE]
no switchport
vrf forwarding [VRF-NAME]
ip address [IP-ADDRESS][SUBNET-MASK]
ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VRF-NAME]
Local VRF name; align it with the task.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
IPv4 VRF static route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
ip route vrf [VRF-NAME][NETWORK][SUBNET-MASK][NEXT-HOP]
end
Command parameters
[VRF-NAME]
Local VRF name; align it with the task.
[NETWORK]
IPv4 destination or matching network address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
[NEXT-HOP]
IPv4 next-hop address.
IPv6 VRF static route Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
enable
configure terminal
ipv6 route vrf [VRF-NAME][IPV6-PREFIX]/[PREFIX-LENGTH][NEXT-HOP-IPV6]
end
Command parameters
[VRF-NAME]
Local VRF name; align it with the task.
[IPV6-PREFIX]
IPv6 destination network prefix without slash length.
[PREFIX-LENGTH]
IPv6 prefix length without slash.
[NEXT-HOP-IPV6]
IPv6 next-hop address; a link-local next hop needs an exit interface.
Define IPV4 VRF Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
Router IPV4 VRF interface Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
Define the required VRF address family first. Moving an interface to a VRF can remove existing addresses; restore all required addresses and apply no switchport only on physical routed switchports.
enable
configure terminal
interface [INTERFACE]
vrf forwarding [VRF-NAME]
ip address [IP-ADDRESS][SUBNET-MASK]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VRF-NAME]
Local VRF name; align it with the task.
[IP-ADDRESS]
Local IPv4 interface address.
[SUBNET-MASK]
IPv4 dotted-decimal subnet mask.
Router IPV6 VRF interface Task-specific configuration — essential if selected
Start in privileged EXEC; block enters and exits configuration mode.Section link
Define the required VRF address family first. Moving an interface to a VRF can remove existing addresses; restore all required addresses and apply no switchport only on physical routed switchports.
enable
configure terminal
ipv6 unicast-routing
interface [INTERFACE]
vrf forwarding [VRF-NAME]
ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VRF-NAME]
Local VRF name; align it with the task.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.
Start in privileged EXEC; block enters and exits configuration mode.Section link
Define the required VRF address family first. Moving an interface to a VRF can remove existing addresses; restore all required addresses and apply no switchport only on physical routed switchports.
enable
configure terminal
ip routing
interface [INTERFACE]
no switchport
vrf forwarding [VRF-NAME]
ip address [IP-ADDRESS][SUBNET-MASK]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
Start in privileged EXEC; block enters and exits configuration mode.Section link
Define the required VRF address family first. Moving an interface to a VRF can remove existing addresses; restore all required addresses and apply no switchport only on physical routed switchports.
enable
configure terminal
ip routing
ipv6 unicast-routing
interface [INTERFACE]
no switchport
vrf forwarding [VRF-NAME]
ipv6 address [IPV6-ADDRESS]/[PREFIX-LENGTH]
no shutdown
exit
end
Command parameters
[INTERFACE]
Local interface name including type and number, or an SVI as appropriate.
[VRF-NAME]
Local VRF name; align it with the task.
[IPV6-ADDRESS]
Local IPv6 interface address without the prefix length.