Administrator Guide

Layer 3 Routing Commands 1829
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
User Guidelines
The VRF identified in the parameter must have been previously created or an
error is returned.
This command is only available on the N3000/N3100/N4000 switches.