3Com Switch 8800 Configuration Guide Chapter 37 BGP/MPLS VPN Configuration

37-61

[P1-Vlan-interface206] mpls ldp enable
[P1-Vlan-interface206] ip address 98.98.98.1 255.255.255.0
[P1-Vlan-interface206] quit

Configure IBGP neighbors and EBGP neighbors.

[P1] bgp 100
[P1-bgp] group 1 internal
[P1-bgp] peer 1.1.1.1 group 1
[P1-bgp] peer 1.1.1.1 connect-interface loopback0
[P1-bgp] group 4 external
[P1-bgp] peer 98.98.98.2 group 4 as-number 200
[P1-bgp] ipv4-family vpnv4
[P1-bgp-af-vpn] peer 1 enable
[P1-bgp-af-vpn] peer 1.1.1.1 group 1
[P1-bgp-af-vpn] peer 1 next-hop-local
[P1-bgp-af-vpn] peer 98 enable
[P1-bgp-af-vpn] peer 98.98.98.2 group 98
[P1-bgp-af-vpn] undo policy vpn-target
37.4.7 Cross-Domain BGP/MPLS VPN Configuration Example — Option C
I. Network requirements

CE1 and CE2 belong to the same VPN. CE1 accesses the MPLS network through PE1

in AS100; and CE2 accesses the MPLS network through PE2 in AS200.

The example adopts Option C to implement a cross-domain BGP/MPLS VPN, that is,

the VPN routing is managed by the Multi-hop MP-EBGP which advertise label

VPN-IPv4 routes between PEs.

II. Network diagram
PE2
LSR ID:
162.1.1.2
ASBR-PE2
LSR ID:162.1.1.1
BGP/MPLS Backbone
AS 200
ASBR -PE1
LSR ID:172.1.1.1
PE1
LSR ID:
172.1.1.2
BGP/MPLS Backbone
AS 100
Ethernet2/1/0:
168.1.1.1/16
Loopback0:
202.100.1.2/ 32
Pos1/0/0:
172.1.1.2/16
Pos2/1/0:
192.1.1.1/24
Loopback0:
202.100.1.1/ 32
Pos1/1/0:
172.1.1.1/16
Loopback0:
202.200.1.1/ 32
Pos1/1/0:
162.1.1.1/16
Pos1/0/0:
162.1.1.2/16
Loopback0:
200.200.1.2/ 32
Ethernet2/1/0:
168.2.2.1/16
CE1
AS 65001
CE2
AS 65002
Ethernet1/1/0
168.1.1.2/16 Ethernet1/1/0
168.2.2.2/16
Pos2/1/0:
192.1.1.2/24
PE2
LSR ID:
162.1.1.2
ASBR-PE2
LSR ID:162.1.1.1
BGP/MPLS Backbone
AS 200
ASBR -PE1
LSR ID:172.1.1.1
PE1
LSR ID:
172.1.1.2
BGP/MPLS Backbone
AS 100
Ethernet2/1/0:
168.1.1.1/16
Loopback0:
202.100.1.2/ 32
Pos1/0/0:
172.1.1.2/16
Pos2/1/0:
192.1.1.1/24
Loopback0:
202.100.1.1/ 32
Pos1/1/0:
172.1.1.1/16
Loopback0:
202.200.1.1/ 32
Pos1/1/0:
162.1.1.1/16
Pos1/0/0:
162.1.1.2/16
Loopback0:
200.200.1.2/ 32
Ethernet2/1/0:
168.2.2.1/16
CE1
AS 65001
CE2
AS 65002
Ethernet1/1/0
168.1.1.2/16 Ethernet1/1/0
168.2.2.2/16
Pos2/1/0:
192.1.1.2/24

Figure 37-14 Network diagram for Multihop EBGP cross-domain VPN