3Com 8807 Configuration Manual page 628

8800 series
Hide thumbs Also See for 8807:
Table of Contents

Advertisement

628
C
51: MPLS VLL
HAPTER
[PE-A] bgp 100
[PE-A-bgp] group 100 internal
[PE-A-bgp] peer 100 connect-interface loopback0
[PE-A-bgp] peer 3.3.3.3 group 100
[PE-A-bgp] l2vpn-family
[PE-A-bgp-af-l2vpn] peer 100 enable
# Create and configure the VPN.
[PE-A] mpls l2vpn vpn1 encapsulation ethernet
[PE-A-mpls-l2vpn-vpn1] route-distinguisher 100:1
[PE-A-mpls-l2vpn-vpn1] vpn-target 100:1
# Create CE1 and configure the corresponding connection.
[PE-A-mpls-l2vpn-vpn1] ce ce1 id 1 range 200
[PE-A-mpls-l2vpn-vpn1-ce1] connection ce-offset 2 interface vlan-
interface 212
[PE-A-mpls-l2vpn-vpn1-ce1] quit
# Enable OSPF.
[PE-A] ospf 1 router-id 1.1.1.1
[PE-A-ospf-1] area 0.0.0.0
[PE-A-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[PE-A-ospf-1-area-0.0.0.0] network 5.5.5.0 0.0.0.255
2 Configure PE-B.
# Enable MPLS globally.
[PE-B] mpls lsr-id 3.3.3.3
[PE-B] mpls
[PE-B-mpls] quit
[PE-B] mpls ldp
# Configure an IP address for the Loopback interface.
[PE-B] interface loopback 0
[PE-B-LoopBack0] ip address 3.3.3.3 32
# Enable MPLS L2VPN globally.
[PE-B] mpls l2vpn
# Configure VLAN 212.
[PE-B] vlan 212
[PE-B-vlan212] port gigabitethernet 2/1/2
[PE-B-vlan212] interface vlan-interface 212
[PE-B-Vlan-interface 212] quit
# Enable MPLS on the interface of VLAN 22.
[PE-B] vlan 22
[PE-B-vlan22] port gigabitethernet 2/1/4
[PE-B-vlan22] quit
[PE-B] interface vlan-interface 22

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

88108814

Table of Contents