Implementing multi-as vpn through multi-hop pw, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 194

Advertising
background image

183

[NPE3-vsi-aaa-ldp] quit

[NPE3-vsi-aaa] quit

# Create service instance on interface GigabitEthernet 3/1/1 connected to CE 3, and bind the

VPLS instance.

[NPE3] interface GigabitEthernet 3/1/1

[NPE3-GigabitEthernet3/1/1] service-instance 1000

[NPE3-GigabitEthernet3/1/1-srv1000] encapsulation s-vid 10

[NPE3-GigabitEthernet3/1/1-srv1000] xconnect vsi aaa

[NPE3-GigabitEthernet3/1/1-srv1000] quit

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

Implementing multi-AS VPN through multi-hop PW

Network requirements

Each CE is connected to a PE through an Ethernet.
Create a VPLS instance that supports P2P on ASBR 1 and ASBR 2, so as to set up a multi-hop PW

between PE 1 and PE 2.

Figure 46 Network diagram

Configuration procedure

1.

Configurations on PE 1.
# Configure basic MPLS.

<Sysname> system-view

[Sysname] sysname PE1

[PE1] interface loopback 0

[PE1-LoopBack0] ip address 1.1.1.1 32

[PE1-LoopBack0] quit

[PE1] mpls lsr-id 1.1.1.1

[PE1] mpls

[PE1-mpls] quit

[PE1] mpls ldp

[PE1-mpls-ldp] quit

# Configure basic MPLS for the interface connecting ASBR 1.

[PE1] interface GigabitEthernet 3/1/2

[PE1-GigabitEthernet3/1/2] ip address 10.1.1.1 24

[PE1-GigabitEthernet3/1/2] mpls

Advertising