Administrator Guide

Layer 3 Routing Commands 1890
Up to 64 VRFs may be configured on the N4000 and up to 16 VRFs may be
configured on the N3000. 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.
Syntax
ip vrf forwarding
vrf-name
no ip vrf forwarding
vrf-name
—The name of the VRF with which to associate the interface.
Default Configuration
All interfaces are members of the global routing instance.
Command Mode
Interface (VLAN) Configuration mode, Interface Range (VLAN)
Configuration mode, Interface (Loopback) Configuration mode
2CSNXXX_SWUM204.book Page 1890 Monday, January 25, 2016 1:25 PM