Configuring Multi-VRF CE
Multi-VRF CE Configuration Example
Figure 28-7
Figure
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
Switch D
Switch E
Switch F
Global network
Switch G
Configuring Switch A
On Switch A, enable routing, and configure VRF.
Switch# configure terminal
Enter configuration commands, one per line.
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
Catalyst 3750 Metro Switch Software Configuration Guide
28-82
is a simplified example of the physical connections in a network similar to that in
28-6. OSPF is the protocol used in VPN1, VPN2, and the global network. BGP is used in the
VPN1
208.0.0.0
Fast
Ethernet
8
108.0.0.0
Fast
Ethernet
7
VPN2
118.0.0.0
Fast
Ethernet
11
168.0.0.0
Fast
Ethernet
3
Switch A
Switch B
CE1
PE
Gigabit
Ethernet
1
CE = Customer-edge device
PE = Provider-edge device
End with CNTL/Z.
Chapter 28
Configuring IP Unicast Routing
Switch C
VPN1
Switch H
VPN2
Switch J
CE2
Global network
Switch K
78-15870-01