Huawei quidway s7700 Configuration Manual page 47

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
# Take the display on PE1 as an example:
[PE1] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
127.255.255.255/32
255.255.255.255/32
Step 2 Enable the basic MPLS capability on the MPLS backbone and establish an LDP LSP.
# Configure PE1.
[PE1] mpls lsr-id 1.1.1.1
[PE1] mpls
[PE1-mpls] label advertise non-null
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] mpls
[PE1-Vlanif10] mpls ldp
[PE1-Vlanif10] quit
# Configure PE2.
[PE2] mpls lsr-id 2.2.2.2
[PE2] mpls
[PE1-mpls] label advertise non-null
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface vlanif 10
[PE2-Vlanif10] mpls
[PE2-Vlanif10] mpls ldp
[PE2-Vlanif10] quit
# After the configuration, an LDP LSP can be set up between PE1 and PE2. By running the
display tunnel-info all command, you can see the LSP destined for the address 2.2.2.2. By
running the display mpls ldp lsp command, you can view the LSP information.
# Take the display on PE1 as an example:
[PE1] display tunnel-info all
* -> Allocated VC Token
Tunnel ID
----------------------------------------------------------------------
0x1001c
0x1001d
[PE1]display mpls ldp lsp
LDP LSP Information
-------------------------------------------------------------------------------
DestAddress/Mask
-------------------------------------------------------------------------------
1.1.1.1/32
1.1.1.1/32
2.2.2.2/32
Issue 01 (2011-07-15)
Destinations : 10
Proto
1.1.1.1/32
Direct 0
2.2.2.2/32
OSPF
100.1.1.0/30
Direct 0
100.1.1.1/32
Direct 0
100.1.1.2/32
Direct 0
100.1.1.255/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
Direct 0
Type
lsp
lsp
In/OutLabel
1124/NULL
Liberal/1024
NULL/1025
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 VPN Tunnel Management Configuration
Routes : 10
Pre
Cost
Flags
0
D
10
2
D
0
D
0
D
0
D
0
D
0
D
0
D
0
D
0
D
Destination
2.2.2.2
2.2.2.2
UpstreamPeer
2.2.2.2
2.2.2.2
-
NextHop
Interface
127.0.0.1
InLoopBack0
100.1.1.2
Vlanif10
100.1.1.1
Vlanif10
127.0.0.1
InLoopBack0
172.1.1.2
Vlanif10
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
Token
0
1
NextHop
OutInterface
127.0.0.1
InLoop0
100.1.1.2
Vlanif10
32

Advertisement

Table of Contents
loading

Table of Contents