3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-79
[prov_pe1-ospf-area-0.0.0.0] network 10.0.0.0 0.255.255.255
Configure prov_pe2
<SW8800> system-view
[SW8800] sysname prov_pe2
[prov_pe2] interface LoopBack0
[prov_pe2-LoopBack0] ip address 4.4.4.4 255.255.255.255
[prov_pe2-LoopBack0] quit
[prov_pe2] interface pos 1/1/0
[prov_pe2-Pos1/1/0] link-protocol ppp
[prov_pe2-Pos1/1/0] ip address 10.1.1.2 255.0.0.0
[prov_pe2] ospf
[prov_pe2-ospf] area 0
[prov_pe2-ospf-area-0.0.0.0] network 4.4.4.4 0.0.0.0
[prov_pe2-ospf-area-0.0.0.0] network 10.0.0.0 0.255.255.255
Configure basic MPLS capability and MPLS LDP on the backbone network.
Configure prov_pe1
[prov_pe1] mpls lsr-id 5.5.5.5
[prov_pe1] mpls ldp
[prov_pe1] interface pos 1/1/0
[prov_pe1-Pos1/1/0] mpls
[prov_pe1-Pos1/1/0] mpls ldp
[prov_pe1-Pos1/1/0] quit
Configure prov_pe2
[prov_pe2] mpls lsr-id 4.4.4.4
[prov_pe2] mpls ldp
[prov_pe2] interface pos 1/1/0
[prov_pe2-Pos1/1/0] mpls
[prov_pe2-Pos1/1/0] mpls ldp
[prov_pe2-Pos1/1/0] quit
Configure IBGP between provider PEs.
Configure prov_pe1
[prov_pe1] bgp 100
[prov_pe1-bgp] group ibgp internal
[prov_pe1-bgp] peer 4.4.4.4 group ibgp
[prov_pe1-bgp] peer 4.4.4.4 connect-interface LoopBack0
[prov_pe1-bgp] ipv4-family vpnv4
[prov_pe1-bgp-af-vpn] peer ibgp enable
[prov_pe1-bgp-af-vpn] peer ibgp next-hop-local
[prov_pe1-bgp-af-vpn] peer 4.4.4.4 group ibgp
[prov_pe1-bgp-af-vpn] quit