3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-62
III. Configuration procedure
z
Configuring OSPF on the MPLS backbone network
z
Configuring basic MPLS capability on the MPLS backbone network
z
Configuring a VPN instance on PEs.
z
Configuring MP-BGP
1) Configure OSPF as the IGP protocol on the MPLS backbone network; making
OSPFs on PEs can learn routes from each other. Create OSPF neighbor between
ASBR-PE and PE in the same AS.
Configure PE1.
[PE1] interface loopback0
[PE1-LoopBack0] ip address 202.100.1.2 255.255.255.255
[PE1-LoopBack0] quit
[PE1] interface pos1/1/0
[PE1-Pos1/1/0] ip address 172.1.1.2 255.255.0.0
[PE1-Pos1/1/0] quit
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 172.1.0.0 0.0.255.255
[PE1-ospf-1-area-0.0.0.0] network 202.100.1.2 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
Configure ASBR-PE1
[ASBR-PE1] interface loopback0
[ASBR-PE1-LoopBack 0] ip address 202.100.1.1 255.255.255.255
[ASBR-PE1-LoopBack 0] quit
[ASBR-PE1] interface pos1/1/0
[ASBR-PE1-Pos1/1/0] ip address 172.1.1.1 255.255.0.0
[ASBR-PE1-Pos1/1/0] quit
[ASBR-PE1] interface pos 2/1/0
[ASBR-PE1-Pos2/1/0] ip address 192.1.1.1 255.255.255.0
[ASBR-PE1-Pos2/1/0] quit
[ASBR-PE1] ospf
[ASBR-PE1-ospf-1] area 0
[ASBR-PE1-ospf-1-area-0.0.0.0] network 172.1.0.0 0.0.255.255
[ASBR-PE1-ospf-1-area-0.0.0.0] network 202.100.1.1 0.0.0.0
[ASBR-PE1-ospf-1-area-0.0.0.0] quit
[ASBR-PE1-ospf-1] quit
Configure PE2
[PE2] interface loopback0
[PE2-LoopBack0] ip address 202.200.1.2 255.255.255.255
[PE2-LoopBack0] quit