3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-81
[prov_pe2-Pos3/1/0] ip binding vpn-instance customer_vpn
[prov_pe2-Pos3/1/0] link-protocol ppp
[prov_pe2-Pos3/1/0] ip address 2.1.1.2 255.0.0.0
[prov_pe2-Pos3/1/0] mpls
[prov_pe2-Pos3/1/0] quit
Configure cust_pe1
<SW8800> system-view
[SW8800] sysname cust_pe1
[cust_pe1] interface LoopBack0
[cust_pe1-LoopBack0] ip address 6.6.6.6 255.255.255.255
[cust_pe1-LoopBack0] quit
[cust_pe1] mpls lsr-id 6.6.6.6
[cust_pe1] interface pos 1/1/0
[cust_pe1-Pos1/1/0] link-protocol ppp
[cust_pe1-Pos1/1/0] ip address 1.1.1.1 255.0.0.0
[cust_pe1-Pos1/1/0] mpls
[cust_pe1-Pos1/1/0] quit
Configure cust_pe2
<SW8800> system-view
[SW8800] sysname cust_pe2
[cust_pe2] interface LoopBack0
[cust_pe2-LoopBack0] ip address 7.7.7.7 255.255.255.255
[cust_pe2-LoopBack0] quit
[cust_pe2] mpls lsr-id 7.7.7.7
[cust_pe2] interface pos 1/1/0
[cust_pe2-Pos1/1/0] link-protocol ppp
[cust_pe2-Pos1/1/0] ip address 2.1.1.1 255.0.0.0
[cust_pe2-Pos1/1/0] mpls
[cust_pe2-Pos1/1/0] quit
3)
Configure EBGP between provider PE and customer PE.
Configure prov_pe1 to access the corresponding Customer PE.
[prov_pe1] route-policy comm permit node 10
[prov_pe1-route-policy-comm-10] if-match vpn-target 1:1
[prov_pe1-route-policy-comm-10] quit
[prov_pe1] bgp 100
[prov_pe1-bgp] ipv4-family vpn-instance customer_vpn
[prov_pe1-bgp-af-vpn-instance] group ebgp external
[prov_pe1-bgp-af-vpn-instance] undo peer ebgp enable
[prov_pe1-bgp-af-vpn-instance] peer 1.1.1.1 group ebgp as-number 600
[prov_pe1-bgp] ipv4-family vpnv4
[prov_pe1-bgp-af-vpn] nesting-vpn