83-15
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 83      Configuring Easy Virtual Network
Configuring Easy Virtual Networks
Enabling a Subset of VRFs over a Trunk Interface
To create a VRF list and enable only a subset of VRFs over a trunk interface, enter the following 
commands: 
Note This task presumes that the VRF has already been configured.
Step 8
Repeat steps 2 to 7 to configure another VRF instance and associate a vnet 
tag.
Step 9
Switch(config)# interface interface 
number 
Configures an interface type and enters interface configuration mode.
Step 10
Switch(config-if)# ip address ip 
address mask
Sets a primary IP address for the interface.
Step 11
Switch(config-if)# vrf trunk [list 
vrf-list name] 
Defines a trunk interface.
By default, all VRFs defined with the vrf definition command run on all 
trunk interfaces on the router. Therefore, VRF red and VRF blue are now 
running on this interface.
 Use the list vrf-list-name command elements to restrict VRFs running 
on a trunk interface.
Step 12
Switch(config-if)# no shutdown 
Restarts an interface.
Step 13
Switch(config-if)# exit
Returns to global configuration mode.
Step 14
Switch(config)# router ospf process 
ID 
Configures an Open Shortest Path First (OSPF) routing process and 
associates it with a VRF.
 This OSPF instance has no VRF, so it is vnet global.
Step 15
Switch(config-router)# network ip 
address wildcard area area ID 
Defines the interfaces and associated area IDs on which OSPF runs, and 
the area ID for those interfaces.
Step 16
Switch(config-if)# exit
Returns to global configuration mode.
Step 17
Switch(config)# router ospf process 
ID vrf vrf name
Configures an OSPF routing process and associates it with a VRF.
Specifies a different process-id for each VRF because they each need their 
own OSPF instance.
Step 18
Switch(config-router)# network ip 
address wildcard area area ID 
Defines the interfaces and associated area IDs on which OSPF runs, and 
the area ID for those interfaces.
Step 19
Switch(config-router)# end 
Ends the configuration session and returns to privileged EXEC mode.
Command Purpose
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# vrf list vrf list 
name
Defines a list of VRFs and enters VRF list configuration mode.
 The vrf-list-name argument may contain up to 32 characters. Quotation 
marks, spaces, and * are not allowed.