Huawei quidway s7700 Configuration Manual page 639

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
# Configure PE1.
[PE1] mpls ldp remote-peer 4.4.4.4
[PE1-mpls-ldp-remote-4.4.4.4] remote-ip 4.4.4.4
[PE1-mpls-ldp-remote-4.4.4.4] quit
[PE1] mpls ldp remote-peer 5.5.5.5
[PE1-mpls-ldp-remote-5.5.5.5] remote-ip 5.5.5.5
[PE1-mpls-ldp-remote-5.5.5.5] quit
# Configure PE2.
[PE2] mpls ldp remote-peer 1.1.1.1
[PE2-mpls-ldp-remote-1.1.1.1] remote-ip 1.1.1.1
[PE2-mpls-ldp-remote-1.1.1.1] quit
# Configure PE3.
[PE3] mpls ldp remote-peer 1.1.1.1
[PE3-mpls-ldp-remote-1.1.1.1] remote-ip 1.1.1.1
[PE3-mpls-ldp-remote-1.1.1.1] quit
After the configuration, run the display mpls ldp session command on PEs. You can see that
the LDP peer relation is in Operational state. This indicates that the LDP sessions are set up.
Take the display on PE1 for example.
<PE1> display mpls ldp session
LDP Session(s) in Public Network
Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM)
A '*' before a session means the session is being deleted.
------------------------------------------------------------------------------
PeerID
------------------------------------------------------------------------------
2.2.2.2:0
3.3.3.3:0
4.4.4.4:0
5.5.5.5:0
------------------------------------------------------------------------------
TOTAL: 4 session(s) Found.
Step 5 Configure PWs on PEs by using PW templates.
# Configure PE1.
[PE1] mpls l2vpn
[PE1-l2vpn] quit
[PE1] pw-template 1to2
[PE1-pw-template-1to2] peer-address 4.4.4.4
[PE1-pw-template-1to2] control-word
[PE1-pw-template-1to2] quit
[PE1] pw-template 1to3
[PE1-pw-template-1to3] peer-address 5.5.5.5
[PE1-pw-template-1to3] control-word
[PE1-pw-template-1to3] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] mpls l2vc pw-template 1to2 100
[PE1-Vlanif10] mpls l2vc pw-template 1to3 200 secondary
[PE1-Vlanif10] quit
# Configure PE2.
[PE2] mpls l2vpn
[PE2-l2vpn] quit
Issue 01 (2011-07-15)
NOTE
If the PEs are directly connected, you do not need to manually configure remote LDP sessions between
them.
Status
Operational DU
Operational DU
Operational DU
Operational DU
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
LAM
SsnRole
SsnAge
Passive
000:00:06
Passive
000:00:05
Passive
000:00:00
Passive
000:00:00
6 PWE3 Configuration
KASent/Rcv
27/27
24/24
3/3
2/2
624

Advertisement

Table of Contents
loading

Table of Contents