898
Configuring IP Unicast Routing
Configuring Multi-VRF CE
DETAILED STEPS
Use the
no
ip vrf
vrf-name
global configuration command to delete a VRF and to remove all interfaces from it. Use the
no ip vrf forwarding
interface configuration command to remove an interface from the VRF.
EXAMPLE
The following example shows how to import a route map to a VRF instance named VPN1:
Switch(config)#
ip vrf vpn1
Switch(config-vrf)#
rd 100:2
Switch(config-vrf)#
route-target both 100:2
Switch(config-vrf)#
route-target import 100:1
Configuring VRF-Aware Services
IP services can be configured on global interfaces, and these services run within the global routing instance. IP services
are enhanced to run on multiple routing instances; they are VRF-aware. Any configured VRF in the system can be
specified for a VRF-aware service.
VRF-aware services are implemented in platform-independent modules. VRF means multiple routing instances in Cisco
IOS. Each platform has its own limit on the number of VRFs it supports.
VRF-aware services have the following characteristics:
The user can ping a host in a user-specified VRF.
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
ip routing
Enable IP routing.
3.
ip vrf
vrf-name
Name the VRF, and enter VRF configuration mode.
4.
rd
route-distinguisher
Create a VRF table by specifying a route distinguisher. Enter
either an AS number and an arbitrary number (xxx:y) or an IP
address and arbitrary number (A.B.C.D:y).
5.
route-target
{
export
|
import
|
both
}
route-target-ext-community
Create a list of import, export, or import and export route target
communities for the specified VRF. Enter either an AS system
number and an arbitrary number (xxx:y) or an IP address and
an arbitrary number (A.B.C.D:y). The
route-target-ext-community
should be the same as the
route-distinguisher
entered in Step 4.
6.
import map
route-map
(Optional) Associate a route map with the VRF.
7.
interface
interface-id
Specify the Layer 3 interface to be associated with the VRF, and
enter interface configuration mode. The interface can be a
routed port or SVI.
8.
no shutdown
Enable the interface if necessary. By default, UNIs and ENIs are
disabled and NNIs are enabled.
9.
ip vrf forwarding
vrf-name
Associate the VRF with the Layer 3 interface.
10.
end
Return to privileged EXEC mode.
11.
show ip vrf
[
brief
|
detail
|
interfaces
] [
vrf-name
]
Verify the configuration. Display information about the
configured VRFs.
12.
copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...