38-80
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter38 Configuring IP Unicast Routing
Configuring Multi-VRF CE
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.
Configuring Multicast VRFs
Beginning in privileged EXEC mode, follow these steps to configure a multicast within a VRF table. For
complete syntax and usage information for the commands, see the switch command reference for this
release and the Cisco IOS Switching Services Command Reference, Release 12.2.
Step5 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.
Step6 import map route-m ap (Optional) Associate a route map with the VRF.
Step7 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 an
SVI.
Step8 ip vrf forwarding vrf-name Associate the VRF with the Layer 3 interface.
Step9 end Return to privileged EXEC mode.
Step10 show ip vrf [brief | detail | interfaces]
[vrf-name]
Verify the configuration. Display information about the configured
VRFs.
Step11 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 ip routing Enable IP routing mode.
Step3 ip vrf vrf-name Name the VRF, and enter VRF configuration mode.
Step4 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 an
arbitrary number (A.B.C.D:y)
Step5 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.
Step6 import map route-m ap (Optional) Associate a route map with the VRF.
Step7 ip multicast-routing vrf vrf-name
distributed
(Optional) Enable global multicast routing for VRF table.
Step8 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 an
SVI.