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.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...