beautypg.com

Network requirements – H3C Technologies H3C S7500E Series Switches User Manual

Page 186

background image

4-26

system-view

[Sysname] sysname NPE3

[NPE3] interface loopback 0

[NPE3-LoopBack0] ip address 4.4.4.4 32

[NPE3-LoopBack0] quit

[NPE3] mpls lsr-id 4.4.4.4

[NPE3] mpls

[NPE3–mpls] quit

[NPE3] mpls ldp

[NPE3–mpls-ldp] quit

# Configure MPLS basic capability on the interface connected with NPE 1.

[NPE3] interface vlan-interface 15

[NPE3-Vlan-interface15] ip address 15.1.1.2 24

[NPE3-Vlan-interface15] mpls

[NPE3-Vlan-interface15] mpls ldp

[NPE3-Vlan-interface15] quit

# Configure the remote LDP session.

[NPE3] mpls ldp remote-peer 1

[NPE3-mpls-remote-1] remote-ip 2.2.2.2

[NPE3-mpls-remote-1] quit

[NPE3] mpls ldp remote-peer 2

[NPE3-mpls-remote-2] remote-ip 3.3.3.3

[NPE3-mpls-remote-2] quit

# Configure MPLS L2VPN.

[NPE3] mpls l2vpn

# Configure the basic attributes of VPLS instance aaa, which uses LDP.

[NPE3] vsi aaa static

[NPE3-vsi-aaa] pwsignal ldp

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

[NPE3-vsi-aaa-ldp] peer 2.2.2.2

[NPE3-vsi-aaa-ldp] peer 3.3.3.3

[NPE3-vsi-aaa-ldp] quit

[NPE3-vsi-aaa] quit

The configuration of VLAN-interface 15 and VLAN-interface 16 is similar to the configuration of
VLAN-interface 12 and VLAN-interface 13 on UPE. The configuration procedure is omitted.

After completing the above configurations, you can execute the display vpls connection command
on the PEs. There should be a PW connection established and in the state of up.

Configuring BFD in an H-VPLS Network to Detect Errors of the Main Link

Network requirements

z

In the H-VPLS network, Switch A is the UPE, Switch B is the main NPE and Switch C is the
backup NPE. Enable MPLS on the interfaces connecting the switches, and enable OSPF on the
switches to ensure the reachability at the network layer.

z

It is required that when the link between Switch A and Switch B is cut off, BFD detect the link
failure fast and inform the MPLS LDP protocol of the failure, so as to implement fast PW
switchover.