Operation Manual – MPLSH3C S9500 Series Routing Switches Chapter 3 BGP/MPLS VPN Configuration3-67[PE1-vlan201] port gigabitethernet 2/1/1[PE1-vlan201] quit[PE1] interface Vlan-interface 201[PE1-Vlan-interface201] ip binding vpn-instance vpn1[PE1-Vlan-interface201] ip address 10.1.1.2 255.255.255.0[PE1-Vlan-interface201] ospf cost 1[PE1-Vlan-interface201] quit[PE1] vlan 202[PE1-vlan202] port gigabitethernet 2/1/2[PE1-vlan202] quit[PE1] interface Vlan-interface 202[PE1-Vlan-interface202] ip address 168.1.13.1 255.255.255.0[PE1-Vlan-interface202] ospf cost 1[PE1-Vlan-interface202] mpls[PE1-Vlan-interface202] mpls ldp enable[PE1-Vlan-interface202] mpls ldp transport-ip interface[PE1-Vlan-interface202] quit[PE1] interface loopback0[PE1-LoopBack0] ip binding vpn-instance vpn1[PE1-LoopBack0] ip address 1.1.1.1 255.255.255.255[PE1-LoopBack0] quit[PE1] interface loopback1[PE1-LoopBack1] ip address 50.1.1.1 255.255.255.255# Configure BGP Peer.[PE1] bgp 100[PE1-bgp] undo synchronization[PE1-bgp] group fc internal[PE1-bgp] peer 50.1.1.2 group fc[PE1-bgp] peer 50.1.1.2 connect-interface LoopBack1[PE1-bgp] peer 50.1.1.3 group fc# Configure BGP and import OSPF routing and direct-connect route.[PE1-bgp] ipv4-family vpn-instance vpn1[PE1-bgp-af-vpn-instance] import-route ospf 100[PE1-bgp-af-vpn-instance] import-route ospf-ase 100[PE1-bgp-af-vpn-instance] import-route ospf-nssa 100[PE1-bgp-af-vpn-instance] import-route direct[PE1-bgp-af-vpn-instance] undo synchronization# Create and activate Peer in MBGP.[PE1-bgp-af-vpn] ipv4-family vpnv4[PE1-bgp-af-vpn] peer fc enable[PE1-bgp-af-vpn] peer fc advertise-community