3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-38
[PE2-bgp-af-vpn] peer 2 enable
[PE2-bgp-af-vpn] peer 1.1.1.9 group 2
Globally enable MPLS.
[PE2] mpls lsr-id 2.2.2.9
[PE2] mpls
[PE2] mpls ldp
Configure the public network interface and enable MPLS on it.
[PE2] interface loopback0
[PE2-LoopBack0] ip address 2.2.2.9 255.255.255.255
[PE2-LoopBack0] quit
[PE2] vlan 100
[PE2-vlan100] port GigabitEthernet 3/1/1
[PE2-vlan100] interface vlan-interface 100
[PE2-vlan-interface100] ip address 192.168.1.2 255.255.255.0
[PE2-vlan-interface100] mpls
[PE2-vlan-interface100] mpls ldp enable
[PE2-vlan-interface100] quit
Enable OSPF on the interface connecting PE 1 and PE 2 and on the loopback interface,
import direct routes to allow information exchange between PE 1 and PE 2.
[PE2] ospf 1 route-id 2.2.2.9
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 192.168.1.0 0.255.255.255
[PE2-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] import-route direct