beautypg.com

Configuring ce 2, Configuring l2vpn management, Importing ce 1 and ce 2 – H3C Technologies H3C Intelligent Management Center User Manual

Page 131

background image

[PE2-mpls] quit

3.

Enable L2VPN and MPLS L2VPN.

[PE2] l2vpn

[PE2-l2vpn] mpls l2vpn

[PE2-l2vpn] quit

4.

Enable LDP globally.

[PE2] mpls ldp

[PE2-mpls-ldp] quit

5.

Establish a remote LDP session to PE 1.

[PE2] mpls ldp remote-peer 2

[PE2-mpls-ldp-remote-2] remote-ip 192.2.2.2

[PE2-mpls-ldp-remote-2] quit

6.

Configure VLAN-interface 26 that connects to the P device, and enable LDP on the interface.

[PE2] interface vlan-interface 26

[PE2-Vlan-interface26] ip address 26.2.2.1 24

[PE2-Vlan-interface26] mpls

[PE2-Vlan-interface26] mpls ldp

[PE2-Vlan-interface26] quit

7.

Configure OSPF for LSP establishment.

[PE2] ospf

[PE2-ospf-1] area 0

[PE2-ospf-1-area-0.0.0.0] network 192.3.3.3 0.0.0.0

[PE2-ospf-1-area-0.0.0.0] network 26.2.2.0 0.0.0.255

[PE2-ospf-1-area-0.0.0.0] quit

[PE2-ospf-1] quit

Configuring CE 2

# Configure an IP address for VLAN-interface 10 that connects to PE 2.

system-view

[Sysname] sysname CE2

[CE2] interface vlan-interface 10

[CE2-Vlan-interface10] ip address 100.1.1.2 24

Configuring L2VPN Management

Importing CE 1 and CE 2

1.

Click the Service tab.

2.

From the navigation tree, select L2VPN Manager > VPN Devices > CE Devices.
The CE Device List page displays all CE devices.

3.

Click Import CE on top of the CE Device List area.
The Import Device page appears.

4.

Click Select Device to select CE 1 and CE 2.

121