Configuring hub-spoke vpls, Network requirements – H3C Technologies H3C SR8800 User Manual

Page 186

Advertising
background image

175

[NPE3] mpls ldp

[NPE3–mpls-ldp] quit

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

[NPE3] interface GigabitEthernet3/1/1

[NPE3-GigabitEthernet3/1/1] ip address 11.1.1.2 24

[NPE3-GigabitEthernet3/1/1] mpls

[NPE3-GigabitEthernet3/1/1] mpls ldp

[NPE3-GigabitEthernet3/1/1] quit

# Configure the remote LDP session.

[NPE3] mpls ldp remote-peer 1

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

[NPE3-mpls-remote-1] quit

# Enable L2VPN and MPLS L2VPN.

[NPE3] l2vpn

[NPE3-l2vpn] mpls l2vpn

[NPE3-l2vpn] quit

# Configure the VPLS instance aaa that uses LDP signaling.

[NPE3] vsi aaa static

[NPE3-vsi-aaa] pwsignal ldp

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

[NPE3-vsi-aaa-ldp] peer 2.2.2.9

[NPE3-vsi-aaa-ldp] quit

[NPE3-vsi-aaa] quit

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

[NPE3] interface GigabitEthernet 3/1/2

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

[NPE3-GigabitEthernet3/1/2] quit

After completing previous configurations, issue the display vpls connection command on the PEs. You will
see that a PW connection in up state has been established.

Configuring hub-spoke VPLS

Network requirements

Create a PW between Spoke-PE 1 and Hub-PE and another PW between Spoke-PE 2 and Hub-PE.
Create VPLS instance aaa and configure it to support hub-spoke networking.

Advertising