Huawei quidway s7700 Configuration Manual page 653

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Routing Tables: Public
Destination/Mask
127.255.255.255/32
255.255.255.255/32
Step 3 Configure the basic MPLS capabilities on the MPLS backbone network.
# Enable MPLS, and set LSR-ID as the IP address of the Loopback0 interface. Enable MPLS
and MPLS LDP on interfaces on the backbone network.
# Configure PE1.
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface vlanif 20
[PE1-Vlanif20] mpls
[PE1-Vlanif20] mpls ldp
[PE1-Vlanif20] quit
# Configure the P.
[P] mpls lsr-id 2.2.2.9
[P] mpls
[P-mpls] quit
[P] mpls ldp
[P-mpls-ldp] quit
[P] interface vlanif 20
[P-Vlanif20] mpls
[P-Vlanif20] mpls ldp
[P-Vlanif20] quit
[P] interface vlanif 40
[P-Vlanif40] mpls
[P-Vlanif40] mpls ldp
[P-Vlanif40] quit
# Configure PE2.
[PE2] mpls lsr-id 3.3.3.9
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface vlanif 40
[PE2-Vlanif40] mpls
[PE2-Vlanif40] mpls ldp
[PE2-Vlanif40] quit
After the configuration, run the display tunnel-info all command on PEs. You can see that
MPLS LSPs are set up between PE1 and PE2.
Take the display on PE1 for example.
<PE1> display tunnel-info all
* -> Allocated VC Token
Issue 01 (2011-07-15)
Destinations : 11
Proto
1.1.1.9/32
Direct 0
2.2.2.9/32
OSPF
3.3.3.9/32
OSPF
100.1.1.0/30
Direct 0
100.1.1.1/32
Direct 0
100.1.1.255/32
Direct 0
100.2.1.0/30
OSPF
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 11
Pre
Cost
Flags NextHop
0
D
127.0.0.1
10
2
D
100.1.1.2
10
3
D
100.1.1.2
0
D
100.1.1.1
0
D
127.0.0.1
0
D
127.0.0.1
10
2
D
100.1.1.2
0
D
127.0.0.1
0
D
127.0.0.1
0
D
0
D
6 PWE3 Configuration
Interface
InLoopBack0
Vlanif20
Vlanif20
Vlanif20
InLoopBack0
InLoopBack0
Vlanif20
InLoopBack0
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
638

Advertisement

Table of Contents
loading

Table of Contents