User's Manual

494
Chapter 69 MCE Configuration Example
Figure 2.1 shows a simple VRF network. Both S1 and S2 are the Multi-VRF CE switches. S11, S12 and S13
belong to VPN1, S21 and S22 belong to VPN2, and all of them are customer devices. The OSPF route should
be configured between CE and customer device, while the BGP route is configured between CE and PE.
Figure
2.1 MCE configuration example
69.1 Configuring S11
Set the VLAN attributes of the physical interface that connects CE:
Switch_config# interface gigaEthernet 0/1
Switch_config_g0/1# switchport pvid 11
Switch_config_g0/1# exit
Sets the IP address and the VLAN interface.
Switch_config# interface VLAN11
Switch_config_v11# ip address 11.0.0.2 255.0.0.0
Switch_config_v11# exit
Set the routing protocol between CE and customer's device:
Switch_config# router ospf 101
Switch_config_ospf_101# network 11.0.0.0 255.0.0.0 area 0
Switch_config_ospf_101# exit
69.2 Configuring MCE-S1
Configures VRF on the Multi-VRF CE device.
Switch#config