28-82
Catalyst 3750 Metro Switch Software Configuration Guide
78-15870-01
Chapter 28      Configuring IP Unicast Routing
Configuring Multi-VRF CE
Multi-VRF CE Configuration Example
Figure 28-7 is a simplified example of the physical connections in a network similar to that in 
Figure 28-6. OSPF is the protocol used in VPN1, VPN2, and the global network. BGP is used in the 
CE-to-PE connections. The examples following the illustration show how to configure a Catalyst 3750 
Metro switch as CE Switch A and the VRF configuration for customer switches D and F. Commands for 
configuring CE Switch C and the other customer switches are not included, but would be similar to those 
shown. The example also includes commands for configuring traffic to Switch A for a Catalyst 6000 or 
Catalyst 6500 switch acting as PE router. 
Figure 28-7 Multi-VRF CE Configuration Example
Configuring Switch A
On Switch A, enable routing, and configure VRF.
Switch# configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)# ip routing 
Switch(config)# ip vrf v11
Switch(config-vrf)# rd 800:1
Switch(config-vrf)# route-target export 800:1
Switch(config-vrf)# route-target import 800:1
Switch(config-vrf)# exit
Switch(config)# ip vrf v12
Switch(config-vrf)# rd 800:2
Switch(config-vrf)# route-target export 800:2
Switch(config-vrf)# route-target import 800:2
Switch(config-vrf)# exit
Switch A
Switch D
VPN1
VPN2
CE1
Global network
208.0.0.0
Fast
Ethernet
8
Gigabit
Ethernet
1
101386
PE CE2
Switch E
108.0.0.0
Fast
Ethernet
7
Switch F
118.0.0.0
Fast
Ethernet
11
Switch G
168.0.0.0
Fast
Ethernet
3
VPN1
VPN2
Global network
Switch H
Switch J
Switch K
CE = Customer-edge device
PE = Provider-edge device
Switch B Switch C