Huawei AR1200 Series Configuration Manual - Mpls page 108

Enterprise routers
Hide thumbs Also See for AR1200 Series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - MPLS
[LSRB] ip ip-prefix FilterOnTransit permit 4.4.4.4 32
Step 3 Configure basic MPLS functions and MPLS LDP functions globally and on the interfaces.
# Configure LSRA.
[LSRA] mpls lsr-id 1.1.1.1
[LSRA] mpls
[LSRA-mpls] lsp-trigger all
[LSRA-mpls] quit
[LSRA] mpls ldp
[LSRA-mpls-ldp] quit
[LSRA] interface gigabitethernet 1/0/0
[LSRA-GigabitEthernet1/0/0] mpls
[LSRA-GigabitEthernet1/0/0] mpls ldp
[LSRA-GigabitEthernet1/0/0] quit
# Configure LSRB.
[LSRB] mpls lsr-id 2.2.2.2
[LSRB] mpls
[LSRB-mpls] lsp-trigger all
[LSRB-mpls] quit
[LSRB] mpls ldp
[LSRB-mpls-ldp] propagate mapping for ip-prefix FilterOnTransit
[LSRB-mpls-ldp] quit
[LSRB] interface gigabitethernet 1/0/0
[LSRB-GigabitEthernet1/0/0] mpls
[LSRB-GigabitEthernet1/0/0] mpls ldp
[LSRB-GigabitEthernet1/0/0] quit
[LSRB] interface gigabitethernet 2/0/0
[LSRB-GigabitEthernet2/0/0] mpls
[LSRB-GigabitEthernet2/0/0] mpls ldp
[LSRB-GigabitEthernet2/0/0] quit
The configurations of LSRC and LSRD are similar to that of LSRA and LSRB, and the
configurations are not mentioned here.
Step 4 Verify the configuration.
Run the display mpls ldp lsp command to view the establishment of LSPs.
# Display the LDP LSP on LSRA.
[LSRA] display mpls ldp lsp
LDP LSP Information
-------------------------------------------------------------------------------
DestAddress/Mask
-------------------------------------------------------------------------------
1.1.1.1/32
2.2.2.2/32
2.2.2.2/32
4.4.4.4/32
4.4.4.4/32
192.168.1.0/24
*192.168.1.0/24
192.168.2.0/24
192.168.2.0/24
-------------------------------------------------------------------------------
TOTAL: 8 Normal LSP(s) Found.
TOTAL: 1 Liberal LSP(s) Found.
TOTAL: 0 Frr LSP(s) Found.
A '*' before an LSP means the LSP is not established
A '*' before a Label means the USCB or DSCB is stale
A '*' before a UpstreamPeer means the session is in GR state
A '*' before a NextHop means the LSP is FRR LSP
# Display the LDP LSP on LSRB.
Issue 01 (2011-12-30)
In/OutLabel
3/NULL
NULL/3
1024/3
NULL/1026
1026/1026
3/NULL
Liberal
NULL/3
1027/3
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
UpstreamPeer
NextHop
2.2.2.2
127.0.0.1
-
192.168.1.2
2.2.2.2
192.168.1.2
-
192.168.1.2
2.2.2.2
192.168.1.2
2.2.2.2
192.168.1.1
-
192.168.1.2
2.2.2.2
192.168.1.2
2 MPLS LDP Configuration
OutInterface
InLoop0
GE1/0/0
GE1/0/0
GE1/0/0
GE1/0/0
GE1/0/0
GE1/0/0
GE1/0/0
101

Advertisement

Table of Contents
loading

Table of Contents