User Manual
465
Users Manual of XGS-6350-24X4C
MCE Configuration Example
48.3
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.
S11
S12
VPN2
S21
S1
PE S2
VPN1
S13
VPN2
S22
VPN1
G0/1
G0/3
G0/4
G0/2
CE CE
G0/1
11.0.0.0
G0/2
G0/3
G0/1
G1/1 G1/2
G0/1
Figure 2.1 MCE configuration example
48.3.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










