H3C SR8800 10G Mpls Configuration Manual page 191

Core routers
Table of Contents

Advertisement

[UPE] mpls lsr-id 1.1.1.1
[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/2
[UPE-GigabitEthernet3/1/2] ip address 12.1.1.1 255.255.255.0
[UPE-GigabitEthernet3/1/2]mpls
[UPE-GigabitEthernet3/1/2]mpls ldp
[UPE-GigabitEthernet3/1/2]quit
# Configure basic MPLS on the interface connected to NPE 2.
[UPE]interface GigabitEthernet 3/1/3
[UPE-GigabitEthernet3/1/3] ip address 13.1.1.1 255.255.255.0
[UPE-GigabitEthernet3/1/3]mpls
[UPE-GigabitEthernet3/1/3]mpls ldp
[UPE-GigabitEthernet3/1/3]quit
# Configure the remote LDP session with NPE 1.
[UPE] mpls ldp remote-peer 1
[UPE-mpls-remote-1] remote-ip 2.2.2.2
[UPE-mpls-remote-1] quit
# Configure the remote LDP session with NPE 2.
[UPE] mpls ldp remote-peer 2
[UPE-mpls-remote-1] remote-ip 3.3.3.3
[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.2 backup-peer 3.3.3.3
[UPE-vsi-aaa-ldp] dual-npe revertive wtr-time 1
[UPE-vsi-aaa-ldp] quit
[UPE-vsi-aaa] quit
# On the interface connected to CE 1, that is GigabitEthernet 3/1/1, create a service instance
and bind the VSI.
[UPE] interface GigabitEthernet 3/1/1
[UPE-GigabitEthernet3/1/1] service-instance 1000
[UPE-GigabitEthernet3/1/1-srv1000] encapsulation s-vid 10
[UPE-GigabitEthernet3/1/1-srv1000] xconnect vsi aaa
[UPE-GigabitEthernet3/1/1-srv1000] quit
# On the interface connected to CE 2, that is, GigabitEthernet 3/1/4 create a service instance
and bind the VSI.
[UPE] interface GigabitEthernet 3/1/4
180

Advertisement

Table of Contents
loading

Table of Contents