Do the following to enable Layer 3 routing on a VLAN. 
  
 
	 Procedure
-  
		  Enter global configuration mode. 
		   
		  
 
			 device# configure terminal
 
		    
		 -  
		  Create a VLAN. 
		   
		   
		
 -  
		  Create a virtual Ethernet (VE), assign an IP address and mask, and enable the interface. 
		   
		  
 
			 device(config)# interface ve 200
device(config-Ve-200)# ip address 10.2.2.1/24
device(config-Ve-200)# no shutdown
 
		    
		  A VE interface can exist without a VLAN configuration, but it must be provisioned in the VLAN in order to be used. 
		  
 
		 -  
		  Enter the 
			 router-interface command and specify the VLAN. 
		   
		  
 
			 
device(config-vlan-200)# router-interface ve 200