Huawei quidway s7700 Configuration Manual page 522

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[PE2-mpls-ldp] quit
[PE2] interface vlanif 30
[PE2-Vlanif30] mpls
[PE2-Vlanif30] mpls ldp
[PE2-Vlanif30] quit
Step 4 Set up a remote LDP session between PEs.
# Configure PE1.
[PE1] mpls ldp remote-peer 3.3.3.9
[PE1-mpls-ldp-remote-3.3.3.9] remote-ip 3.3.3.9
[PE1-mpls-ldp-remote-3.3.3.9] quit
# Configure PE2.
[PE2] mpls ldp remote-peer 1.1.1.9
[PE2-mpls-ldp-remote-1.1.1.9] remote-ip 1.1.1.9
[PE2-mpls-ldp-remote-1.1.1.9] quit
After the configuration, run the display mpls ldp session command on PE1 to view the
establishment of the LDP session. You can find that an LDP session is set up between PE1 and
PE2.
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.9:0
3.3.3.9:0
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
Step 5 Enable MPLS L2VPN on the PE and establish VCs.
# Configure PE1: Create a VC on VLANIF 10, which is connected to CE1.
[PE1] mpls l2vpn
[PE1-l2vpn] mpls l2vpn default martini
[PE1-l2vpn] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] mpls l2vc 3.3.3.9 101
[PE1-Vlanif10] quit
# Configure PE2: Create a VC on VLANIF 40, which is connected to CE2.
[PE2] mpls l2vpn
[PE2-l2vpn] mpls l2vpn default martini
[PE2-l2vpn] quit
[PE2] interface vlanif 40
[PE2-Vlanif40] mpls l2vc 1.1.1.9 101
[PE2-vlanif40] quit
Step 6 Verify the configuration.
View the L2VPN connection information on the PEs, and you can see that an L2VC is set up
and is in Up state.
Take the display on PE1 for example.
<PE1> display mpls l2vc interface vlanif 10
*client interface
Issue 01 (2011-07-15)
Status
LAM
Operational DU
Operational DU
: Vlanif10 is up
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
SsnRole
SsnAge
Passive
0000:00:09
Passive
0000:00:09
5 VLL Configuration
KASent/Rcv
40/40
37/37
507

Advertisement

Table of Contents
loading

Table of Contents