User's Manual

Table Of Contents
484
Users Manual of CS-6306R
48.2.3.4 Testifying the VRF Connectivity Between PE and CE
Use the PING command with the VRF option to testify the VRF connectivity of PE and CE.
Command Purpose
Switch# ping vrfvrf-nameip-address
Conducts the PING operation to the addresses in VRF.
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.
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