Users Guide

Layer 3 Routing Commands 1862
vrf-name—The name of a VRF. The name must consist of printable ASCII
characters other than a question mark and may not have leading or trailing
spaces. Spaces may be included if the name is enclosed in quotes. The
maximum length of a VRF name is 32 characters.
Default Configuration
A single global VRF is created when routing is enabled.
Command Mode
Global Configuration mode
User Guidelines
This command is only available on the N3000-ON/N3100-ON/N3200-ON
switches.
Up to 12 VRFs may be configured on the N3000-ON, N3100-ON, and N3200-
ON. If sufficient resources requested by the VRF instance, such as routes, are
not available to create the router instance, a warning is shown and the VRF is
not created.
The ARP table, among others, is a shared resource and is not allocated or
partitioned on a VRF basis. Global commands such as arp cachesize still limit
the physical router’s shared resources.
Example
The following example creates two virtual router instances. The routing in the
virtual router instance is enabled only when the ip routing command is issued
at the virtual router level.
(Console) (Config)#ip vrf Red
(Console) (Config-vrf-Red)#ip routing
(Console) (Config-vrf-Red)#exit
(Console) (Config)#ip vrf Blue
(Console) (Config-vrf-Blue)#ip routing
(Console) (Config-vrf-Blue)#exit
ip vrf forwarding
This command associates an interface with a VRF instance. Use the no form
of the command to associate the interface with the global routing table.