H3C SR8800 10G Mpls Configuration Manual page 192

Core routers
Table of Contents

Advertisement

[UPE-GigabitEthernet3/1/4] service-instance 1000
[UPE-GigabitEthernet3/1/4-srv1000] encapsulation s-vid 11
[UPE-GigabitEthernet3/1/4-srv1000] xconnect vsi aaa
[UPE-GigabitEthernet3/1/4-srv1000] quit
Configure NPE 1.
3.
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname NPE1
[NPE1] interface loopback 0
[NPE1-LoopBack0] ip address 2.2.2.2 32
[NPE1-LoopBack0] quit
[NPE1] mpls lsr-id 2.2.2.2
[NPE1] mpls
[NPE1–mpls] quit
[NPE1] mpls ldp
[NPE1–mpls-ldp] quit
# Configure an IP address for the interface connected to UPE, and then enable MPLS and MPLS
LDP.
[NPE1]interface GigabitEthernet 3/1/2
[NPE1-GigabitEthernet3/1/2] ip address 12.1.1.2 255.255.255.0
[NPE1-GigabitEthernet3/1/2]mpls
[NPE1-GigabitEthernet3/1/2]mpls ldp
[NPE1-GigabitEthernet3/1/2]quit
# Configure an IP address for the interface connected to NPE 3, and then enable MPLS and MPLS
LDP.
[NPE1]interface GigabitEthernet 3/1/5
[NPE1-GigabitEthernet3/1/5] ip address 15.1.1.1 255.255.255.0
[NPE1-GigabitEthernet3/1/5]mpls
[NPE1-GigabitEthernet3/1/5]mpls ldp
[NPE1-GigabitEthernet3/1/5]quit
# Configure the remote LDP session with UPE.
[NPE1] mpls ldp remote-peer 2
[NPE1-mpls-remote-2] remote-ip 1.1.1.1
[NPE1-mpls-remote-2] quit
# Configure the remote LDP session with NPE 3.
[NPE1] mpls ldp remote-peer 3
[NPE1-mpls-remote-3] remote-ip 4.4.4.4
[NPE1-mpls-remote-3] quit
# Enable L2VPN and MPLS L2VPN.
[NPE1] l2vpn
[NPE1-l2vpn] mpls l2vpn
[NPE1-l2vpn] quit
# Configure the VPLS instance aaa that uses LDP signaling.
[NPE1] vsi aaa static
[NPE1-vsi-aaa] pwsignal ldp
[NPE1-vsi-aaa-ldp] vsi-id 500
[NPE1-vsi-aaa-ldp] peer 1.1.1.1 upe
181

Advertisement

Table of Contents
loading

Table of Contents