Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 184

Advertising
background image

173

Configuration procedure

1.

Configure the IGP protocol (such as OSPF) on the MPLS backbone. (Details not shown)

2.

Configure UPE.
# Configure basic MPLS.

<Sysname> system-view

[Sysname] sysname UPE

[UPE] interface loopback 0

[UPE-LoopBack0] ip address 1.1.1.9 32

[UPE-LoopBack0] quit

[UPE] mpls lsr-id 1.1.1.9

[UPE] mpls

[UPE-mpls] quit

[UPE] mpls ldp

[UPE-mpls-ldp] quit

# Configure basic MPLS on the interface connected to NPE 1.

[UPE] interface GigabitEthernet 3/1/1

[UPE-GigabitEthernet3/1/1] ip address 10.1.1.1 24

[UPE-GigabitEthernet3/1/1] mpls

[UPE-GigabitEthernet3/1/1] mpls ldp

[UPE-GigabitEthernet3/1/1] quit

# Configure the remote LDP session.

[UPE] mpls ldp remote-peer 1

[UPE-mpls-remote-1] remote-ip 2.2.2.9

[UPE-mpls-remote-1] quit

# Enable L2VPN and MPLS L2VPN.

[UPE] l2vpn

[UPE-l2vpn] mpls l2vpn

[UPE-l2vpn] quit

# Configure the VPLS instance aaa that uses LDP signaling.

[UPE] vsi aaa static

[UPE-vsi-aaa] pwsignal ldp

[UPE-vsi-aaa-ldp] vsi-id 500

[UPE-vsi-aaa-ldp] peer 2.2.2.9

[UPE-vsi-aaa-ldp] quit

[UPE-vsi-aaa] quit

# Configure interface GigabitEthernet 3/1/2 and bind VPLS instance aaa to the interface.

[UPE] interface GigabitEthernet 3/1/2

[UPE-GigabitEthernet3/1/2] l2 binding vsi aaa

[UPE-GigabitEthernet3/1/2] quit

3.

Configure NPE 1.
# Configure basic MPLS.

<Sysname> system-view

[Sysname] sysname NPE1

[NPE1] interface loopback 0

[NPE1-LoopBack0] ip address 2.2.2.9 32

[NPE1-LoopBack0] quit

Advertising