Beruflich Dokumente
Kultur Dokumente
ZTE CORPORATION
ZTE Plaza, Keji Road South,
Hi-Tech Industrial Park,
Nanshan District, Shenzhen,
P. R. China
518057
Tel: (86) 755 26771900 800-9830-9830
Fax: (86) 755 26772236
URL: http://support.zte.com.cn
E-mail: doc@zte.com.cn
LEGAL INFORMATION
Copyright 2006 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or
distribution of this document or any portion of this document, in any form by any means, without the prior written
consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by
contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE
CORPORATION or of their respective owners.
This document is provided as is, and all express, implied, or statutory warranties, representations or conditions
are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,
title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the
use of or reliance on the information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications
covering the subject matter of this document. Except as expressly provided in any written license between ZTE
CORPORATION and its licensee, the user of this document shall not acquire any license to the subject matter
herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
Date
Revision No.
Serial No.
R1.0
sjzl20081966
First edition
ZTE CORPORATION
Values Your Comments & Suggestions!
Your opinion is of great value and will help us improve the quality of our product
documentation and offer better services to our customers.
Please fax to (86) 755-26772236 or mail to Documentation R&D Department, ZTE
CORPORATION, ZTE Plaza, A Wing, Keji Road South, Hi-Tech Industrial Park,
Shenzhen, P. R. China 518057.
Thank you for your cooperation!
Document
Name
ZXR10 GER (V2.6.03C) General Excellent Router User Manual (MPLS Volume)
Product Version
V2.6.03C
Document Revision
Number
Serial No.
sjzl20081966
Equipment
Installation Date
R1.0
Presentation:
(Introductions, Procedures, Illustrations, Completeness, Level of Detail, Organization,
Appearance)
Good
Your evaluation
of this
documentation
Fair
Average
Poor
Bad
N/A
Accessibility:
(Contents, Index, Headings, Numbering, Glossary)
Good
Fair
Average
Poor
Bad
N/A
Intelligibility:
(Language, Vocabulary, Readability & Clarity, Technical Accuracy, Content)
Good
Fair
Average
Poor
Bad
N/A
Please check the suggestions which you feel can improve this documentation:
Your
suggestions for
improvement of
this
documentation
Other suggestions
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
__________________________________________________________________________
# Please feel free to write any comments on an attached sheet.
If you wish to be contacted regarding your comments, please complete the following:
Name
Company
Postcode
Address
Telephone
Contents
About This Manual ............................................................ i
Purpose ................................................................................ i
Intended Audience ................................................................. i
What Is in This User Manual .................................................... i
Related Documentation.......................................................... ii
Conventions ......................................................................... ii
How to Get in Touch............................................................. iii
Chapter 1.......................................................................... 1
Safety Instructions .......................................................... 1
Overview ............................................................................. 1
Safety Introduction ............................................................... 1
Safety Description................................................................. 1
Chapter 2.......................................................................... 3
MPLS Configuration ......................................................... 3
Overview ............................................................................. 3
MPLS Overview..................................................................... 3
Label Distribution Protocol (LDP) ............................................. 4
Operational Principles of MPLS ................................................ 5
MPLS Label Header ............................................................... 6
MPLS LDP ............................................................................ 6
Configuring Static Route ........................................................ 7
Configuring MPLS ................................................................. 8
MPLS Configuration Example .................................................. 9
Configuring MPLS Maintenance and Diagnosis ......................... 11
Chapter 3........................................................................ 17
MPLS VPN Configuration................................................ 17
Overview ........................................................................... 17
MPLS VPN Overview ............................................................ 17
Chapter 4........................................................................33
VPWS Configuration.......................................................33
Overview ...........................................................................33
VPWS ................................................................................33
Configuring VPWS ...............................................................34
Configuring VPWS Maintenance and Diagnosis .........................36
Chapter 5........................................................................39
VPLS Configuration ........................................................39
Overview ...........................................................................39
VPLS .................................................................................39
Configuring VPLS Service......................................................40
Configuring VPLS Diagnosis and Maintenance ..........................44
Chapter 6........................................................................45
Traffic Engineering Configuration .................................45
Overview ...........................................................................45
Traffic Engineering Overview.................................................45
MPLS Engineering Working ...................................................46
Configuring Basic MPLS ........................................................47
MPLS TE Maintenance & Diagnosis .........................................49
MPLS TE Example ................................................................50
Chapter 7........................................................................55
FRR Configuration..........................................................55
Overview ...........................................................................55
FRR Overview .....................................................................55
Configuring Basic FRR ..........................................................56
MPLS TE Configuration Example ............................................56
Configuring FRR Maintenance and Diagnosis............................60
Acronyms and Abbreviations .................................................63
Glossary...................................................
Figures............................................................................ 67
Tables ............................................................................. 69
Intended Audience
This MPLS manual is intended for engineers and technicians who
perform operation activities on ZXR10 GER(V2.6.03C) General
Excellent Router .
Chapter
Summary
Chapter 1 Safety
Instructions
Chapter 2 MPLS
Configuration
Chapter 4 VPWS
Configuration
Chapter 5 VPLS
Configuration
Chapter 6 Traffic
Chapter
Summary
Engineering
Configuration
Chapter 7 FRR
Configuration
Related Documentation
The following documentation is related to this manual:
Hardware
Conventions
Typographical
Conventions
ii
Typeface
Meaning
Italics
Quotes
Links on screens.
Bold
CAPS
Constant width
Typeface
Meaning
[]
Optional parameters.
{}
Mandatory parameters.
Documentation
Support
iii
iv
Chapter
Safety Instructions
Overview
Introduction
Contents
Page No.
Safety Introduction
Safety Description
Safety Introduction
In order to operate the equipment in a proper way, follow these
instructions:
Safety Description
Contents
deserving
special
attention
during
ZXR10
T240G/T160G/T64G/T40G configuration are explained in the
following table.
Convention
Meaning
Note
Important
Result
Example
Chapter
MPLS Configuration
Overview
Introduction
Contents
Page No
MPLS Overview
MPLS LDP
Configuring MPLS
11
MPLS Overview
Intdroduction
Label
switching
Forwarding
Equivalence
Class
Hop- By-Hop
MPLS in frame
relay
Labels
Border Router
MPLS LDP
MPLS LDP
Label space
per interface
Label space
per platform
LDP identity
LDP uses six bytes to name a label space, called LDP identity
(LDP Id), which is composed of two parts:
Rules for
selecting
router ID
First four bytes indicate the router ID of the router that has
the label space.
Last two bytes indicate the internal label space ID of the LSR.
For the label space per platform, the last two bytes are
always 0.
LDP hello
messages
how
To configure transport
following steps.
to
configure
address
transport
parameters,
address
perform
the
END OF STEPS
Result
Configuring MPLS
Purpose
Steps
Function
ZXR10(config)#config
terminal
Function
ZXR10(config)#mpls
ip
Function
ZXR10(configif)#mpls ip
Function
ZXR10(configif)#mpls ldp
discovery
transport-address
{interface|<ipaddress>}
Note:
f
the
the
will
the
Function
ZXR10(config)#mpls
ldp router-id
<interface-number>
[force]
6. To control the LDP to create the FEC item (that is, FEC
filtering policy) for which destination network sections, use
the following command.
Format
Function
ZXR10(config)#mpls
ldp access-fec {for
<prefix-accesslist>|host-routeonly}
Function
ZXR10(config)#mpls
ldp advertiselabels [for <prefixaccess-list> [to
<peer-access-list>]]
Function
ZXR10(config)#mpls ldp
discovery hello
{holdtime
<holdtime>|interval
<interval>}
END OF STEPS
Result
Configuration of R1:
ZXR10_R1(config)#mpls ip
ZXR10_R1(config)#interface Loopback1
ZXR10_R1(config-if)#ip address 10.10.1.1 255.255.255.255
ZXR10_R1(config)#interface fei_1/1
ZXR10_R1(config-if)#ip address 10.10.12.1 255.255.255.0
ZXR10_R1(config-if)#mpls ip
ZXR10_R1(config)#mpls ldp router-id loopback1
ZXR10_R1(config)#router ospf 1
ZXR10_R1(config-router)#network 10.0.0.0 0.255.255.255.255
10
Configuration of R2:
ZXR10_R2(config)#mpls ip
ZXR10_R2(config)#interface Loopback1
ZXR10_R2(config-if)#ip address 10.10.2.2 255.255.255.255
ZXR10_R2(config)#interface fei_1/5
ZXR10_R2(config-if)#ip address 10.10.12.2 255.255.255.0
ZXR10_R2(config-if)#mpls ip
ZXR10_R2(config)#interface fei_1/6
ZXR10_R2(config-if)#ip address 10.10.23.2 255.255.255.0
ZXR10_R2(config-if)#mpls ip
ZXR10_R2(config)#mpls ldp router-id loopback1
ZXR10_R2(config)#router ospf 1
ZXR10_R2(config-router)#network 10.0.0.0 0.255.255.255.255
Configuration of R3:
ZXR10_R3(config)#mpls ip
ZXR10_R3(config)#interface Loopback1
ZXR10_R3(config-if)#ip address 10.10.3.3 255.255.255.255
ZXR10_R3(config)#interface fei_3/1
ZXR10_R3(config-if)#ip address 10.10.23.3 255.255.255.0
ZXR10_R3(config-if)#mpls ip
ZXR10_R3(config)#mpls ldp router-id loopback1
ZXR10_R3(config)#router ospf 1
ZXR10_R3(config-router)#network 10.0.0.0 0.255.255.255.255
Steps
11
Format
Function
ZXR10(config)#show
mpls interface
[<interface-number>]
IP
Tunnel Operational
fei_1/5
Yes(ldp)
No
Yes
fei_1/6
Yes(ldp)
No
Yes
ZXR10#
Function
ZXR10(config)#show
mpls ldp parameters
Function
ZXR10(config)#show
mpls ldp discovery
[detail]
Example: This
information.
12
example
shows
the
LDP
discovery
Function
ZXR10(config)#show
mpls ldp neighbor
[<interface-number>]
[detail]
10.10.1.1
Function
ZXR10(config)#show
mpls ldp bindings
13
label: 17
label: imp-null
label: 16
label: imp-null
label: imp-null
14
Format
Function
ZXR10(config)#debug mpls
ldp transport
{connections|events}
ZXR10(config)#debug mpls
ldp session {io|statemachine}
ZXR10(config)#debug mpls
ldp messages
{received|sent}
ZXR10(config)#debug mpls
ldp bindings
Format
Function
ZXR10(config)#debug mpls
ldp advertisement
END OF STEPS
Result
15
16
Chapter
Contents
Page No
17
18
Related Terms
18
19
20
Configuring MPLS-VPN
21
24
28
Common
Backbone
17
Resource
Utilization
Network Speed
Flexibility and
Scalability
Users
Application
Convienance
Improve
security
Enhance
service
QoS ensurence
of MPLS
Related Terms
A BGP/MPLS VPN network system covers the following types of
network equipment.
18
Provider Edge
(PE)
Provider (P)
Customer Edge
(CE)
RFC 2547bis
RD Definition
19
VPN
forwarding
table
20
VPN forwarding table contains a label corresponding to the VPNIP address. Label is used to send the data to the corresponding
destination. Since the label is used instead of the IP address, a
user can maintain its dedicated address structure, without the
need of data transfer by means of Network Address Translation
(NAT). According to the data ingress, the corresponding router
PE
CE
External Layer
Label
Destination
Configuring MPLS-VPN
Purpose
Steps
21
Format
Function
ZXR10(config)#ip
vrf <vrf-name>
Function
ZXR10(config)#rd <routedistinguisher>
ZXR10(config)#routetarget [both|import|export]
<route-target-extcommunity>
Function
ZXR10(config)#ip
vrf forwarding
<vrf-name>
Function
ii. For
different
dynamic
routing
protocols,
the
configurations on PE are different. At present, the version
supports four protocols: OSPF BGP, ISIS and RIP.
To run an OSPF protocol, PE should run the process by
using the following command.
Format
22
Function
Format
Function
ZXR10(config)#router
ospf <process-id> vrf
<vrf-name>
Function
use
neighbor
23
Format
Function
ZXR10(config)#addressfamily vpnv4
ZXR10(config)#neighbor
<ip-address> activate
END OF STEPS
Result
As shown in Figure 2, CE1 and CE2 belong to the same VPN. The
loopback address of CE1 is 100.1.1.1/24, and that of CE2 is
200.1.1.1/24. Proper VPN configuration should be made so that
CE1 and CE2 can learn the loopback routes from each other. The
BGP runs between CE1 and PE1, while the OSPF protocol runs
between CE2 and PE2.
Configuration of CE1:
CE1(config)#interface Loopback1
CE1(config-if)#ip address 100.1.1.1 255.255.255.0
CE1(config)#interface FastEthernet0/0
CE1(config-if)#ip address 10.1.1.2 255.255.255.0
CE1(config)#router bgp 200
CE1(config-router)#network 100.1.1.0 mask 255.255.255.0
CE1(config-router)#neighbor 10.1.1.1 remote-as 100
CE1(config-router)#no auto-summary
Configuration of PE1:
24
AS MsgRcvd MsgSent
TblVer
State/PfxRcd
10.1.1.1
01:16:48
100
156
157
CE1#
25
CE1#show ip route
Gateway of last resort is not set
100.0.0.0/24 is subnetted, 1 subnets
C
B
CE1#
Configuration of P:
P(config)#interface fei_1/5
P(config-if)#ip address 10.10.12.2 255.255.255.0
P(config-if)#mpls ip
P(config-if)#mpls ldp discovery transport-address
interface
P(config)#interface fei_1/6
P(config-if)#ip address
10.10.23.2 255.255.255.0
P(config-if)#mpls ip
P(config-if)#mpls ldp discovery transport-address
interface
P(config)#interface loopback1
P(config-if)#ip address 10.10.2.2 255.255.255.255
P(config)#router ospf 1
P(config-router)#network 10.0.0.0 0.255.255.255 area
0.0.0.0
P(config)#mpls ip
P(config)#mpls ldp router-id loopback1 force
26
Configuration of CE2:
CE2(config)#interface Loopback1
CE2(config-if)#ip address 200.1.1.1 255.255.255.0
CE2(config-if)#ip ospf network point-to-point
CE2(config)#interface FastEthernet0/0.10
CE2(config-if)#encapsulation dot1Q 10
CE2(config-if)#ip address 10.10.10.2 255.255.255.0
CE2(config)#router ospf 1
CE2(config-router)#log-adjacency-changes
CE2(config-router)#network 10.10.10.2 0.0.0.0 area 0
CE2(config-router)#network 200.1.1.1 0.0.0.0 area 0
27
Routing table of CE2: Where, two OSPF routes are VPN routes
learned from CE2:
CE2#sh ip route
Gateway of last resort is not set
100.0.0.0/24 is subnetted, 1 subnets
O E2
FastEthernet0/0.10
C
O E2
FastEthernet0/0.10
C
FastEthernet0/0.10
CE2#
Steps
Function
ZXR10(config)#ping
vrf <vrf-name>
<ip-address>
28
Format
Function
ZXR10(config)#show
ip vrf
Default RD
Interfaces
test1
100:1
fei_1/2
PE1#
Function
ZXR10(config)#show
ip vrf interfaces
IP-Address
VRF
10.1.1.1
test1
Protocol
fei_1/2
up
PE1#
Function
ZXR10(config)#show
ip route vrf <vrfname>
29
Mask
pri
10.1.1.0
direct
255.255.255.0
0
10.1.1.1
address
10.1.1.1
20
10.10.10.0
Interface
fei_1/2
0
255.255.255.255
100.1.1.1
bgp
Gw
metric
10.1.1.1
fei_1/2
10.1.1.1
fei_1/2
0
255.255.255.255
0
255.255.255.0
10.10.3.3
fei_1/1
bgp
fei_1/1
bgp
200 4294967295
200.1.1.1
255.255.255.255
10.10.3.3
200 4294967295
PE1#
Function
ZXR10(config)#show
ip protocol routing
vrf <vrf-name>
30
Routes of vpn:
status codes: *valid, >best
Dest
RtPrf
*>
0
Intag
Outtag
Protocol
10.1.1.0/24
10.1.1.0
153
notag
10.1.1.1
152
notag
10.10.3.3
22
10.1.1.2
20
notag
10.10.3.3
21
27
connected
*>
0
NextHop
10.1.1.1/32
connected
*>
10.10.10.0/24
17
200 bgp_int
*>
20
100.1.1.0/24
bgp_ext
*>
200.1.1.0/24
200 bgp_int
PE1#
Function
ZXR10(config)#debug
ip bgp updates
ZXR10(config)#reset
ip bgp [neighbor
<addr>]
31
32
Chapter
VPWS Configuration
Overview
Introduction
Contents
Page No
VPWS
33
Configuring VPWS
34
36
VPWS
Introduction
IP/MPLS Cloud
33
Configuring VPWS
Purpose
Steps
Function
ZXR10(config)#mpls
ldp target-session
neighbor-id
Function
ZXR10(config)#mpls
xconnect
neighbor-id vcid
END OF STEPS
Result: This configures VPWS.
Example
34
PE1 configuration:
PE1(config)#interface loopback10
PE1(config-if)#ip address 1.1.1.1 255.255.255.255
PE1(config)# interface fei_1/1
PE1(config-if)#mpls xconnect 1.1.1.3 100
PE1(config)#interface fei_1/2
PE1(config-if)#ip address 175.1.1.1 255.255.255.0
PE1(config-if)#mpls ip
PE1(config)#mpls ip
PE1(config)#mpls ldp router-id loopback10 force
PE1(config)#mpls ldp target-session 1.1.1.3
PE1(config)#router ospf 1
PE1(config-router)#network 1.1.1.1 0.0.0.0 area 0.0.0.0
PE1(config-router)#network 175.1.1.0 0.0.0.255 area
0.0.0.0
P configuration:
35
P(config)#interface loopback10
P(config-if)#ip address 1.1.1.2 255.255.255.255
P(config)#interface fei_2/1
P(config-if)#ip address 175.1.1.2 255.255.255.0
P(config-if)#mpls ip
P(config)#interface fei_2/2
P(config-if)#ip address
148.1.1.2 255.255.255.0
P(config-if)#mpls ip
P(config)#mpls ip
P(config)#mpls ldp router-id loopback10 force
P(config)#router ospf 1
P(config-router)#network 1.1.1.2 0.0.0.0 area 0.0.0.0
P(config-router)#network 148.1.1.0 0.0.0.255 area 0.0.0.0
P(config-router)#network 175.1.1.0 0.0.0.255 area 0.0.0.0
PE2 configuration:
PE2(config)#interface loopback10
PE2(config-if)#ip address 1.1.1.3 255.255.255.255
PE2(config)#interface fei_3/1
PE2(config-if)#ip address 148.1.1.3 255.255.255.0
PE2(config-if)#mpls ip
PE2(config)#interface fei_3/2
PE2(config-if)#mpls xconnect 1.1.1.1 100
PE2(config)#mpls ip
PE2(config)#mpls ldp router-id loopback10 force
PE2(config)#mpls ldp target-session 1.1.1.1
PE2(config)#router ospf 1
PE2(config-router)#network 1.1.1.3 0.0.0.0 area 0.0.0.0
PE2(config-router)#network 148.1.1.0 0.0.0.255 area
0.0.0.0
Steps
36
Format
Function
ZXR10(config)#show
mpls l2transport vc
Function
ZXR10(config)#show
mpls l2transport vc
Function
ZXR10(config)#debug
mpls ldp l2vpn
event
Function
ZXR10(config)#debug
mpls ldp l2vpn fsm
Function
ZXR10(config)#debug
mpls ldp l2vpn
END OF STEPS
Result
37
38
Chapter
VPLS Configuration
Overview
Introduction
Contents
Page No
VPLS
39
40
44
VPLS
Introduction
Benefits
39
Function
ZXR10(config)#vfi<vfiname>
Function
ZXR10(config)#mpls
ip
40
Format
Function
ZXR10(config)#vcid
<vcid-number>
Function
ZXR10(config)#pwtype
<ethernet|ethernetvlan>
Function
Function
ZXR10(config)#maxmac
Function
ZXR10(config)#mpls
ldp target-session
<ip-address>
END OF STEPS
Result: This configures VPLS Service.
Example
41
PE1 configuration:
PE1(config)#vfi vpls_a
PE1(config-vfi)#vcid 100
PE1(config-vfi)#pwtype Ethernet
ZXUAS(config-vfi)#mac-timeout 180
PE1(config-vfi)#peer 1.1.1.3
PE1(config-vfi)#maxmac 1000
PE1(config-vfi)#exit
PE1(config)#bras
ZXUAS(config-bras)#vfi account-group 100
/*configure VFI
account*/
PE1(config)#interface loopback10
PE1(config-if)#ip address
1.1.1.1 255.255.255.255
PE1(config)#interface fei_1/1
PE1(config-if)#xconnect vfi vpls_a
PE1(config-if)#mac-limit 100
MAC address */
PE1(config)#interface fei_1/2
PE1(config-if)#ip address
175.1.1.1 255.255.255.0
PE1(config-if)#mpls ip
PE1(config-if)#client-interface
P configuration:
42
P(config)#interface loopback10
P(config-if)#ip address
1.1.1.2 255.255.255.255
P(config)#interface fei_2/1
P(config-if)#ip address
175.1.1.2 255.255.255.0
P(config-if)#mpls ip
P(config)#interface fei_2/2
P(config-if)#ip address
148.1.1.2 255.255.255.0
P(config-if)#mpls ip
P(config)#mpls ip
P(config)#mpls ldp router-id loopback10 force
P(config)#router ospf 1
P(config-router)#network 1.1.1.2 0.0.0.0 area 0.0.0.0
P(config-router)#network 148.1.1.0 0.0.0.255 area 0.0.0.0
P(config-router)#network 175.1.1.0 0.0.0.255 area 0.0.0.0
PE2 configuration:
PE2(config)#vfi vpls_a
PE2(config-vfi)#vcid 100
PE2(config-vfi)#pwtype ethernet
ZXUAS(config-vfi)#mac-timeout 180
PE1(config-vfi)#peer 1.1.1.1
PE1(config-vfi)#maxmac 1000
PE1(config-vfi)#exit
PE1(config)#bras
ZXUAS(config-bras)#vfi account-group 100
PE2(config)#interface loopback10
PE2(config-if)#ip address
1.1.1.3 255.255.255.255
PE2(config)#interface fei_3/1
PE2(config-if)#ip address
148.1.1.3 255.255.255.0
PE2(config-if)#mpls ip
PE2(config)#interface fei_3/2
PE2(config-if)#xconnect vfi vpls_a
PE2(config)#interface fei_3/3
PE2(config-if)#xconnect vfi vpls_a
PE2(config)#mpls ip
PE2(config)#mpls ldp router-id loopback10 force
PE2(config)#mpls ldp target-session 1.1.1.1
PE2(config)#router ospf 1
PE2(config-router)#network 1.1.1.3 0.0.0.0 area 0.0.0.0
PE2(config-router)#network 148.1.1.0 0.0.0.255 area
0.0.0.0
43
Steps
Function
ZXR10(config)#show
mpls l2transport vc
Function
ZXR10(config)#show
mpls l2transport vc
vpls
Function
ZXR10(config)#show
mac-table vfi
Function
ZXR10(config)#debug
mpls ldp l2vpn.
END OF STEPS
Result
44
Chapter
Traffic Engineering
Configuration
Overview
Introduction
Contents
This chapter gives the basic concepts of layer-3 MPLS TE and the
relevant configuration on the ZTE ZXR10 GER router.
This chapter covers the following topics.
Topic
Page No
45
46
47
49
MPLS TE Example
50
Traffic
Engineering
MPLS Traffic
Engineering
45
network
using MPLS
The IETF has the following RFCs related to the MPLS TE:
RSVP
Tunnel Paths
46
engineering
is
built
on
the
following
IOS
Tunnels Mesh
Function
ZXR10(config)#mpls
traffic-eng tunnels
Function
ZXR10(config)#mpls
traffic-eng
tunnels
47
Function
ZXR10(config)#ip
rsvp bandwidth
<max-bandwidth>
[<flowbandwidth>]
Function
ZXR10(config)#mpls
traffic-eng router-id
<interface-name>
ZXR10(config)#mpls
traffic-eng area <area-id>
ZXR10(config)#capability
opaque
Function
ZXR10(config)#interface
tunnel<1-64>
ii. To set the tunnel mode into mpls, use the following
command.
Format
Function
ZXR10(config)#tunnel mode
mpls traffic
48
router,
Format
Function
ZXR10(config)#tunnel
Format
Function
iv. To set the bandwidth reserved for tunnel, use the following
command.
Format
Function
ZXR10(config)#tunnel
mpls traffic-eng
bandwidth <bandwidth>
Function
ZXR10(config)#tunnel
mpls traffic-eng pathoption <number>
{dynamic | explicit {name
<path-name> | identifier
<id> }}
Function
ZXR10(config)#tunnel
mpls traffic-eng recordroute
END OF STEPS
Result
network
connectivity,
use
the
of
MPLS
following
Format
Function
ZXR10(config)#ping
<ip addre>
49
Format
Function
ZXR10(config)#show
mpls interface
[<interface_id>]
Function
ZXR10(config)#show
mpls traffic-eng
tunnels summary
Function
ZXR10(config)#show
mpls traffic-eng
tunnels <tunnel_id>
END OF STEPS
Result
MPLS TE Example
The three routers are shown in Figure 5. Assume the following
tasks respectively.
Router
Loopback
Task
Tunnel
R1
100.1.1.1
End
node
R2
100.1.1.2
Middle
node
R3
100.1.1.3
End
node
R1 configuration:
50
R1(config)#interface fei_1/1
R1(config-if)#ip address 10.10.12.1 255.255.255.0
R1(config-if)#ip rsvp bandwidth 30000 10000
R1(config-if)#mpls traffic-eng tunnels
R1(config-if)#exit
R1(config)#interface loopback1
R1(config-if)#ip address 100.1.1.1
255.255.255.255
R1(config-if)#exit
R1(config)#mpls traffic-eng tunnels
R1(config)#
R1(config)#router ospf 1
R1(config-router)#mpls traffic-eng area 0
R1(config-router)#mpls traffic-eng router-id
loopback1
R1(config-router)#network 100.1.1.1 0.0.0.0 area
0
R1(config-router)#network 10.10.12.1 0.0.0.255
area 0
R1(config-router)#exit
R1(config)#
R2 configuration:
51
R2(config)#interface fei_1/5
R2(config-if)#ip address 10.10.12.2 255.255.255.0
R2(config-if)#mpls traffic-eng tunnels
R2(config-if)#ip rsvp bandwidth 30000 10000
R2(config-if)#exit
R2(config)#
R2(config)#interface fei_1/6
R2(config-if)#ip address 10.10.23.2 255.255.255.0
R2(config-if)#mpls traffic-eng tunnels
R2(config-if)#ip rsvp bandwidth 30000 10000
R2(config-if)#exit
R2(config)#
R2(config)#interface loopback1
R2(config-if)#ip
255.255.255.255
address
100.1.1.2
R2(config-if)#exit
R2(config)#
R2(config)#mpls traffic-eng tunnels
R2(config)#router ospf 2
R2(config-router)#mpls
loopback1
traffic-eng
router-id
R3 configuration:
52
10.10.12.0
100.1.1.2
0.0.0.255
0.0.0.0
10.10.23.0
area
0.0.0.255
R3(config)#int fei_3/1
R3(config-if)#ip address 10.10.23.3 255.255.255.0
R3(config-if)#mpls traffic-eng tunnels
R3(config-if)#ip rsvp bandwidth 30000 10000
R3(config-if)#mpls traffic-eng tunnels
R3(config-if)#exit
R3(config)#
R3(config)#interface loopback1
R3(config-if)#ip
255.255.255.255
address
100.1.1.3
R3(config-if)#exit
R3(config)#router ospf 3
R3(config-router)#mpls
loopback1
traffic-eng
router-id
100.1.1.3
0.0.0.0
10.10.23.0
area
0.0.0.255
R3(config-router)#exit
R3(config)#
53
R1(config)#interface tunnel21
R1(config-if)#tunnel mode mpls traffic-eng
R1(config-if)#ip address 1.1.21.1 255.255.255.0
R1(config-if)#tunnel destination ipv4 100.1.1.3
R1(config-if)#tunnel mpls traffic-eng path-option
1 explicit-path identifier 21
R1(config-if)#exit
R1(config)#
R1(config)#ip explicit-path
address 100.1.1.2
loose
identifier
21
next-
R1(config)#ip explicit-path
address 100.1.1.3
loose
identifier
21
next-
R1(config)#interface tunnel22
R1(config-if)#tunnel mode mpls traffic-eng
R1(config-if)#ip address 1.1.22.1 255.255.255.0
R1(config-if)#tunnel destination ipv4 100.1.1.3
R1(config-if)#tunnel mpls traffic-eng path-option
1 explicit-path identifier 22
R1(config-if)#exit
R1(config)#
54
R1(config)#ip explicit-path
address 10.10.12.2 strict
identifier
22
next-
R1(config)#ip explicit-path
address 10.10.23.3 strict
identifier
22
next-
Chapter
FRR Configuration
Overview
Introduction
Contents
This chapter describes the basic concepts of FRR and its related
configuration on the ZTE ZXR10 GER router.
This chapter includes the following topics.
Topic
Page No
FRR Overview
55
56
56
60
FRR Overview
55
MPLS Traffic
Engineering
Packet Loss
Function
ZXR10(config)#tunnel
mpls traffic-eng fastreroute
Function
ZXR10(config)#mpls
traffic-eng backuppath tunnel id
END OF STEPS
Result
56
Router
Loopback
Task
Tunnel
R1
100.1.1.1
End node
Router
Loopback
Task
R2
100.1.1.2
Intermedia
te node
R3
100.1.1.3
End node
Tunnel
57
R1(config)#interface fei_1/1
R1(config-if)#ip address 10.10.12.1 255.255.255.0
R1(config-if)#ip rsvp bandwidth 30000 10000
R1(config)#interface gei_2/1
R1(config-if)#ip address 10.10.13.1 255.255.255.0
R1(config-if)#ip rsvp bandwidth 30000 10000
R1(config)#interface loopback1
R1(config-if)#ip address 100.1.1.1 255.255.255.255
R1(config-if)#exit
R1(config)#interface tunnel100
R1(config-if)#tunnel mode mpls traffic-eng
R1(config-if)#tunnel destination ipv4 100.1.1.3
R1(config-if)#tunnel mpls traffic-eng bandwidth 20000
R1(config-if)#tunnel mpls traffic-eng path-option 10 explicit-path
identifier 100
R1(config-if)#exit
R1(config)#interface tunnel200
R1(config-if)#tunnel mode mpls traffic-eng
R1(config-if)#tunnel destination ipv4 100.1.1.3
R1(config-if)#tunnel mpls traffic-eng bandwidth 20000
R1(config-if)#tunnel mpls traffic-eng path-option 2 explicit-path
name pri
R1(config-if)#tunnel mpls traffic-eng fast-reroute
R1(config-if)#ip unnumbered loopback1
R1(config-if)#exit
R1(config)#mpls traffic-eng tunnels
R1(config)# ip explicit-path name pri next-address 10.10.13.3
strict
R1(config)# ip explicit-path identifier 100 next-address
10.10.12.2 strict
R1(config)# ip explicit-path identifier 100 next-address
10.10.23.3 strict
R1(config)#router ospf 1
R1(config-router)#mpls traffic-eng area 0
R1(config-router)#mpls traffic-eng router-id loopback1
R1(config-router)#network 100.1.1.1 0.0.0.0 area 0
R1(config-router)#network 10.10.12.1 0.0.0.255 area 0
R1(config-router)#exit
R2 configuration:
58
R2(config)#interface fei_1/5
R2(config-if)#ip address 10.10.12.2 255.255.255.0
R2(config-if)#mpls traffic-eng tunnels
R2(config-if)#ip rsvp bandwidth 30000 10000
R2(config-if)#exit
R2(config)#
R2(config)#interface fei_1/6
R2(config-if)#ip address 10.10.23.2 255.255.255.0
R2(config-if)#mpls traffic-eng tunnels
R2(config-if)#ip rsvp bandwidth 30000 10000
R2(config-if)#exit
R2(config)#
R2(config)#interface loopback1
R2(config-if)#ip address 100.1.1.2 255.255.255.255
R2(config-if)#exit
R2(config)#
R2(config)#interface tunnel22
R2(config-if)#tunnel mode mpls traffic-eng
R2(config-if)#tunnel destination ipv4 100.1.1.3
R2(config-if)#tunnel mpls traffic-eng bandwidth 20000
R2(config-if)#tunnel mpls traffic-eng path-option 10 explicit-path
identifier 100
R2(config-if)#tunnel mpls traffic-eng fast-reroute
R2(config-if)#exit
R1(config)#mpls traffic-eng tunnels
R1(config)# ip explicit-path identifier 100 next-address
10.10.23.3 stri
R2(config)#router ospf 2
R2(config-router)#mpls traffic-eng router-id loopback1
R2(config-router)#mpls traffic-eng area 0
R2(config-router)#network 10.10.12.0 0.0.0.255 area 0
R2(config-router)#network 100.1.1.2 0.0.0.0 area 0
R2(config-router)#network 10.10.23.0 0.0.0.255 area 0
R2(config-router)#exit
R2(config)#
R3 configuration:
59
R3(config)#int fei_3/1
R3(config-if)#ip address 10.10.23.3 255.255.255.0
R3(config-if)#mpls traffic-eng tunnels
R3(config-if)#ip rsvp bandwidth 30000 10000
R3(config-if)#mpls traffic-eng tunnels
R3(config-if)#exit
R3(config)#int gei_4/1
R3(config-if)#ip address 10.10.13.3 255.255.255.0
R3(config-if)#mpls traffic-eng tunnels
R3(config-if)#ip rsvp bandwidth 30000 10000
R3(config-if)#mpls traffic-eng tunnels
R3(config-if)#exit
R3(config)#
R3(config)#interface loopback1
R3(config-if)#ip address 100.1.1.3 255.255.255.255
R3(config-if)#exit
R3(config)#
R3(config)#interface tunnel33
R3(config-if)#tunnel mode mpls traffic-eng
R3(config-if)#tunnel destination ipv4 100.1.1.1
R3(config-if)#tunnel mpls traffic-eng bandwidth 20000
R3(config-if)#tunnel mpls traffic-eng path-option 10 explicit-path
identifier 90
R3(config-if)#exit
R3(config)#mpls traffic-eng tunnels
R3(config)# ip explicit-path identifier 90 next-address
10.10.13.1 strict
R3(config)#router ospf 3
R3(config-router)#mpls traffic-eng router-id loopback1
R3(config-router)#mpls traffic-eng area 0
R3(config-router)#network 100.1.1.3 0.0.0.0 area 0
R3(config-router)#network 10.10.23.0 0.0.0.255 area 0
R3(config-router)#exit
R3(config)#
60
Step
Function
ZXR10(config)#show
mpls traffic-eng fastreroute
END OF STEP
Result
61
62
Glossary
Acronyms and Abbreviations
Abbreviation
Full Name
ABR
ACL
AD
Administrative Distance
API
ARP
Address ResolutionProtocol
AS
Autonomous System
ASBR
ASN
ATM
BGP
BOOTP
BOOTstrap Protocol
BDR
CHAP
CIDR
CLNP
CLNS
COS
Class of Service
CRC
CRLDP
CSN
CSU
DDN
DHCP
DIS
Designate IS
DNS
DR
Designate Router
DSU
63
64
EBGP
EGP
ES
End System
FDDI
GER
FEC
FIFO
FPGA
FSM
FTP
GBIC
GRE
ICMP
IETF
IGMP
IGP
IP
Internet Protocol
ISO
ISP
LAN
LAPB
LCP
LDP
LLC
LSA
LSP
LSR
MAC
MD5
Message Digest 5
MED
MULTI_EXIT_DISC
MIB
MPLS
MTU
NAT
NBMA
NCP
NIC
NLRI
NMS
NSAP
NSP
NTP
NVT
OAM
OID
Object ID
OSI
OSPF
PAP
PAT
PCB
PCM
PDU
POS
PPP
Point-to-Point Protocol
PSNP
PRT
QOS
Quality of Service
RARP
RADIUS
RFC
RIP
RLE
RMON
Remote Monitoring
ROS
RSVP
SDH
SDLC
SMP
SMTP
SNMP
SNP
SPF
TCP
TFTP
TOS
Type Of Service
TELNET
65
66
TTL
Time To Live
UDP
VLSM
VPN
VRF
VRRP
WAN
WWW
Figures
Figure 1 Mpls Configuration example .................................. 10
Figure 2 Mpls-Vpn Example............................................... 24
Figure 3 Vpws Service ...................................................... 35
Figure 4 Vpls Service ....................................................... 42
Figure 5 Mpls Te Example ................................................. 50
Figure 6 Tunnel Configuration Example ............................... 56
67
Tables
Table 1 Chapter Summary ...................................................i
Table 2 Typographical Conventions ...................................... ii
69