Beruflich Dokumente
Kultur Dokumente
MPLS
Version 3.4
260-668256-014
Copyright & Terms of Use
December 2016
This documentation incorporates features and functions provided with CTR 8500 for software release 3.4
Copyright © 2016 by Aviat Networks, Inc.
All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a
retrieval system, or translated into any language or computer language, in any form or by any means, elec-
tronic, magnetic, optical, chemical, manual or otherwise, without the prior written permission of Aviat Net-
works Inc. To request permission, contact techpubs@aviatnet.com.
Warranty
Aviat Networks makes no representation or warranties with respect to the contents hereof and specifically dis-
claims any implied warranties or merchantability or fitness for any particular purpose. Further, Aviat Net-
works reserves the right to revise this publication and to make changes from time to time in the content
hereof without obligation of Aviat Networks to notify any person of such revision or changes.
Safety Recommendations
The following safety recommendations must be considered to avoid injuries to persons and/or damage to the
equipment:
1. Installation and Service Personnel: Installation and service must be carried out by authorized personnel who
have the technical training and experience necessary to be aware of any hazardous operations during install-
ation and service, and of measures to avoid any danger to themselves, to any other personnel, and to the equip-
ment.
2. Access to the Equipment: Access to the equipment in use must be restricted to service personnel only.
3. Safety Norms: Recommended safety norms are detailed in the Health and Safety sections of this guide.
Local safety regulations must be used if mandatory. Safety instructions in this guide should be used in addi-
tion to the local safety regulations. In the case of conflict between safety instructions stated in this guide and
those indicated in local regulations, mandatory local norms will prevail. Should local regulations not be man-
datory, then the safety norms in this guide will prevail.
4. Service Personnel Skill: Service personnel must have received adequate technical training on tele-
communications and in particular on the equipment this guide refers to.
Trademarks
All trademarks are the property of their respective owners.
End User License Agreement and Open Source
By using this product you agree to the terms of the CTR 8540 End User License Agreement; to view this, log
into a CTR 8540 or CTR 8300 using the CLI command window and enter the CLI command “show EULA”.
The CTR 8540 and CTR 8300 use free and open source software components, which can be viewed by using
the CLI command “show system acknowledgments”. This command also details the licenses associated with
each component and describes the methods available to acquire the open source software.
II AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
FCC Notices
1. The ODU 600, 5.8GHz must be professionally installed and maintained.
2. This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant
to Part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful inter-
ference when the equipment is operated in a commercial environment. This equipment generates, uses and
can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual,
may cause harmful interference to radio communications. Operation of this equipment in a residential envir-
onment is likely to cause harmful interference in which case the user will be required to correct the inter-
ference at his own expense.
3. ODU 600, 5.8GHz is compliant with the relevant parts of FCC CFR47, Part 15.407.
4. To ensure compliance with the FCC RF exposure requirements, a minimum distance of 18 meters must be
maintained between the antenna and any persons whilst the unit is operational. This calculation is based on
the maximum conducted power and maximum antenna gain.
5. ODU 600, 5.8GHz has been certified for use with a parabolic antenna with a maximum gain of 45.9dBi or a
flat panel antenna with a maximum gain of 28dBi.
6. The software provided with this product allows for transmission only in the frequency range 5725 – 5850
MHz to ensure compliance with Part 15.407.
7. According to the conducted power limit in FCC CFR 47, Part 15.407, the power for this device has been lim-
ited to 1W (30dBm) at the antenna port.
8. FCC CFR47, Part 15.407 excludes the use of point-to-multipoint systems, omnidirectional applications and
multiple co-located intentional radiators. This system is only for fixed, point-to-point operation.
WEEE Directive
In accordance with the WEEE Directive (2012/19/EU), CTR 8540, CTR 8312, CTR 8311, and CTR 8380 are marked
with the following symbol:
This symbol indicates that this equipment should be collected separately for the purposes of recovery and/or
recycling.
For information about collection and recycling of Aviat Networks equipment please contact your local Aviat
Networks sales office. If you purchased your product via a distributor please contact the distributor for inform-
ation regarding collection and recovery/recycling.
More information on the WEEE Directive is available at our website:
http://www.aviatnetworks.com/products/compliance/weee/.
(WEEE is the acronym for Waste Electrical and Electronic Equipment)
RoHS Directive
CTR 8540, CTR 8312, CTR 8311, and CTR 8380 meet the requirements of ROHS directive 2011/65/EU.
IV AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
The CTR 8540, CTR 8312, CTR 8311, or CTR 8380 with an ODU 600, ODU 600sp, or ODU 300hp radio is classified
under the R&TTE Directive 99/5/EC as a class 2.8 radio (microwave fixed link) product.
Point-to-point radio relay equipment is intended to be used for:
- Interconnecting private and public networks.
- Interconnecting mobile base stations back to the PSTN point of presence (POP).
For details of where the equipment is intended to be used, see the country matrix below.
- AVIAT NETWORKS intends to market this equipment where a cross (X) is shown in the table below.
- The information contained in this table has been gathered from the relevant government authorities and
relates only to European countries participating in the R&TTE directive.
It s h ou l d b e n oted th at a l i c en s e to op er ate th i s eq u i p men t i s l i kel y to b e n ec es s ar y, an d
th e ap p r op r i ate r eg u l ator y ad mi n i s tr ati on s h ou l d b e c on tac ted .
VI AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Table of Contents
Copyright & Terms of Use i
Aviat Networks Technical & Sales Support ii
Product Compliance Notes iii
Regulatory Information for ODU 600, 5.8GHz Band iii
International Use of 5.8GHz iii
Networking Devices in Electric Power Substations iii
WEEE Directive iv
RoHS Directive iv
Declaration of Conformity, R&TTE Directive, 1999/5/EC iv
Table of Contents i
CHAPTER 1. INTRODUCTION 1
Purpose and Scope 1
Acronyms 1
References 4
Document Conventions 5
How This Manual Is Organized 5
II AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Chapter 1. Introduction
Aviat Networks MPLS provides a feature-rich, efficient and flexible label switching capability as
required by industry standards. It enables service providers to implement VPN services, traffic
engineering, redundancy and fast failure detection in the networks. Key MPLS features
supported on AOS include:
l LDP and RSVP-TE for MPLS LSP signalling
l Layer 2 and Layer 3 VPNs
l TDM transport over MPLS networks
l Rich set of traffic engineering capabilities
l Fast failure detection and LSP protection
l Quality of Service
l Diagnostics and OAM functions
Acronyms
Table 1-1. Acronyms
Acronym Explanation
ABR Area Boundary Router (in OSPF)
ARP Address Resolution Protocol
AS Autonomous System
ASBR Autonomous System Boundary Router (in
OSPF)
ATM Asynchronous Transfer Mode
BFD Bidirectional Forwarding Detection – A fast
failure detection protocol
2 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
References
l CTR 8500/8300 Getting Started - Configuration
l CTR 8500/8300 Configuration – IP
l CTR 8500/8300 Configuration – ISIS
l CTR 8500/8300 Configuration – MEF-8 CESoETH/MPLS SAToP
l CTR 8500/8300 Configuration – MPLS Packet Loss and Delay Measurement
l CTR 8500/8300 CLI Reference Manual Vol 1
l CTR 8500/8300 CLI Reference Manual Vol 2
l E. Rosen, A. Viswanathan, R. Callon, “Multiprotocol Label Switching Architecture”,
RFC 3031, January 2001.
l R. Callon, P. Doolan, N. Feldman, A. Fredette, G. Swallow, A. Viswanathan, “A
Framework for Multiprotocol Label Switching”, draft-ietf-mpls-framework-05.txt,
September 1999.
l C. Boscher, P. Cheval, L. Wu, E. Gray, “LDP State Machine”, RFC 3215, January
2002.
l E. Rosen, D. Tappan, G. Federkow, Y. Rekhter, D. Farinacci, T. Li, A. Conta, “MPLS
Label Stack Encoding”, RFC 3032, January 2001.
l L. Andersson, I.minei, B. Thomas, “LDP Specification”, RFC 5036, October 2007.
l D. Awduche, L. Berer, D. Gan, T. Li, G, Swallow, V. Srinivasan, “RSVP-TE:
Extensions to RSVP for LSP Tunnels”, RFC 3209, December 2001.
l S. Bryant, P. Pate, “Pseudo Wire Emulation Edge-to-Edge (PWE3) Architecture”, RFC
3985, March 2005.
l L. Martini, N. El-Aawar, T. Smith, G. Heron, “Pseudowire Setup and Maintenance
Using the Label Distribution Protocol (LDP)”, RFC 4447, April 2006.
l L. Martini, E. Rosen, N. El-Aawar, G. Heron, “Encapsulation Methods for Transport
of Ethernet over MPLS Networks”, RFC 4448, April 2006.
l F. Le Faucheur, L. Wu, B. Davie, S. Davari, P. Vaananen, R. Krishnan, P. Cheval, J.
Heinanen, “MPLS Support of Differentiated Services”, RFC 3270, May 2002.
l E. Rosen, Y. Rekhter, “BGP/MPLS IP Virtual Private Networks” , RFC 4364, Feb
2006.
4 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Document Conventions
Table 1-2. Document Conventions
Convention Usage
Code Text CLI Commands
Code Italics User inputs to command
Blue code CLI Command Output
Red Code Output for configured value
Topology Diagrams
Topology A- is used for describing simple point to point services such as VPWS
Topology B- is used for describing multipoint services such as VPLS and L3VPN
Topology C- is used for describing traffic engineering and LSP protection
Following conventions are used in this document:
l Rest of the document will refer to the topologies in this section by using the topology
labels -Topology A, Topology B etc.
l Labels CTR A, CTR B, etc. represent CTR devices within a topology. These labels are
used in the subsequent sections to refer to the particular device.
l GI 0/2 to GI 0/7 represent the front panel Ethernet ports on the CTR devices.
l ‘To CE’ represents a connection to a Customer Edge device. The connection to CE
device can be at layer 2 (Ethernet/VLAN) or layer 3 (IPv4), depending on the type of
MPLS service being configured. Details of CE-PE link configuration are specific to the
type of service being configured and are included in the service configuration
examples.
8 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
10 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Topology A
Configuration Summary
This section includes complete configuration scripts for all devices in Topology A on page 7. The
scripts can be copied into a text file and applied to a CTR device running with factory default
configuration. The scripts will configure basic IP interfaces in accordance with the following
tables. All devices are in the same IS-IS level-2 area and all circuits are broadcast type.
Table 2-1. Topology A - Device IP and IS-IS Configuration
CTR A Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 1.1.1.1 255.255.255.255
no shutdown
end
configure terminal
configure terminal
router isis
net 01:01:00:00:00:00:01:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
end
CTR B Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 2.2.2.2 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address 10.0.12.2 255.255.255.0
12 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
no shutdown
exit
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address 10.0.23.2 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:02:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router isis broadcast
isis circuit-type level-2-only
end
CTR C Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 3.3.3.3 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address 10.0.23.3 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:03:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router isis broadcast
isis circuit-type level-2-only
end
Topology B
Configuration Summary
This section includes complete configuration scripts for all devices in Topology B on page 8.
The scripts can be copied into a text file and applied to a CTR device running with factory
default configuration. The scripts will configure basic IP interfaces in accordance with the
following tables. All devices are in the same IS-IS level-2 area and all circuits are broadcast
type.
Table 2-3. Topology B - Device IP and IS-IS Configuration
14 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR A Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 1.1.1.1 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address 10.0.12.1 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address 10.0.14.1 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:01:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router isis broadcast
isis circuit-type level-2-only
end
CTR B Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 2.2.2.2 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address 10.0.12.2 255.255.255.0
no shutdown
16 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
exit
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address 10.0.23.2 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address 10.0.24.2 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:02:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router isis broadcast
isis circuit-type level-2-only
end
CTR C Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 3.3.3.3 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address 10.0.23.3 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address 10.0.34.3 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:03:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router isis broadcast
isis circuit-type level-2-only
end
18 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR D Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 4.4.4.4 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address 10.0.14.4 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address 10.0.24.4 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address 10.0.34.4 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:04:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router isis broadcast
isis circuit-type level-2-only
end
Topology C
Configuration Summary
This section includes complete configuration scripts for all devices in Topology C on page 8.
The scripts can be copied into a text file and applied to a CTR device running with factory
default configuration. The scripts will configure basic IP interfaces in accordance with the
following tables. All devices are in the same IS-IS level-2 area and all circuits are broadcast
type.
Table 2-5. Topology C - Device IP and IS-IS Configuration
20 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR A Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 1.1.1.1 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address 10.0.12.1 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address 10.0.16.1 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:01:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router isis broadcast
isis circuit-type level-2-only
end
CTR B Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 2.2.2.2 255.255.255.255
no shutdown
22 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address 10.0.12.2 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address 10.0.26.2 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address 10.0.23.2 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address 10.0.27.2 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:02:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
exit
CTR C Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 3.3.3.3 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address 10.0.37.3 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address 10.0.34.3 255.255.255.0
no shutdown
exit
24 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
configure terminal
router isis
net 01:01:00:00:00:00:03:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router isis broadcast
isis circuit-type level-2-only
end
CTR D Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 4.4.4.4 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address 10.0.45.4 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address 10.0.34.4 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address 10.0.46.4 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:04:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/7
ip router isis broadcast
isis circuit-type level-2-only
26 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
end
CTR E Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 5.5.5.5 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address 10.0.45.5 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address 10.0.56.5 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address 10.0.57.5 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:05:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router isis broadcast
isis circuit-type level-2-only
end
CTR F Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 6.6.6.6 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address 10.0.16.6 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/4
28 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
shutdown
no map switch default
no switchport
ip address 10.0.26.6 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address 10.0.56.6 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address 10.0.46.6 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:06:00
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/7
ip router isis broadcast
isis circuit-type level-2-only
end
CTR G Configuration
configure terminal
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address 7.7.7.7 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address 10.0.37.7 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address 10.0.57.7 255.255.255.0
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address 10.0.27.7 255.255.255.0
no shutdown
end
configure terminal
router isis
net 01:01:00:00:00:00:07:00
30 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
is-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router isis broadcast
isis circuit-type level-2-only
exit
interface gigabitethernet 0/7
ip router isis broadcast
isis circuit-type level-2-only
end
TE-Link Configuration
In CTR, a TE-Link is a logical interface that describes the traffic engineering parameters of a
link connected to the router. The link parameters are configured for the egress direction. This
means that for a link ‘A-B’ between devices A and B, a TE-link has to be configured on device A
describing parameters for traffic in A→ B direction, and another TE-link on device B for traffic
in B→ A direction.
The supported Traffic Engineering parameters are as follows:
l Traffic Engineering Metric – By default this has the same value as IGP metric for the
link. However, service proviers are free to change the value and use any meaning/
interpretation that suits their needs. For example, metric can be configured based on
the latency of the link.
l Resource-class or Administrative colour – Allows links to be administratively grouped
allowing the user to prefer or exclude certain groups for an LSP. This value is a 32-bit
bit field. Each bit can have a meaning assigned by a service provider. The bit-field for
a particular link is compared against configured ‘affinity’ attribute of MPLS tunnel
(See chapter 4), to determine if a tunnel is allowed to use this link.
l Maximum Link Bandwidth
l Maximum reservable Bandwidth – This parameter can be more or less than the
maximum link bandwidth allowing the operators to enable over-subscription/ under-
subscription of links
l Minimum reservable bandwidth
The mi ni mum reservabl e bandwi dth i s adverti sed i n RSVP-TE
si gnal l i ng and i s compared wi th user confi gured val ue for the
tunnel . However, AOS does not support path cal cul ati on usi ng
mi ni mum reservabl e bandwi dth as a constrai nt.
TE- Links can only be created on IP interfaces which do not already have MPLS
enabled on them. If a TE- link is to be created over a physical interface, mpls ip must
NOT be enabled on that interface before TE-link creation. The process of mapping the
TE-Link to a physical interface will enable the mpls ip automatically.
I n SW Rel ease 3.4, support for creati ng TE-Li nks over I VRs (VLAN I P
I nterfaces) i s not avai l abl e.
Ensure that the l ocal TE-Li nk I P address matches the I P i nterface i t wi l l be
mapped to. I SI S-TE wi l l onl y fl ood the address speci fi ed i n the TE-Li nk,
whi ch can onl y be manual l y confi gured i n Rel ease 3.4.
The following example shows configuration of a TE-link on a link from CTR A to CTR B (A→ B
direction), in Topology A.
Create a TE-LINK called te12 and specify IP addresses for local and remote ends. Remote router
ID is the router ID assigned to TE-router at the other end of the link.
aos(config)# mpls traffic-eng
aos(config-mpls-te)# te-link te12
aos(config-mpls-te-link)# address-type ipv4
aos(config-mpls-te-link)# local te-link ipv4
10.0.12.1 remote te-link ipv4 10.0.12.2
aos(config-mpls-te-link)# remote router-id
2.2.2.2
aos(config-mpls-te-link)# resource-class class-
value 0x1
aos(config-mpls-te-link)# no shutdown
Map the TE-Link to a physical interface, in this case front panel port 2, and specify link
parameters:
aos(config-mpls-te-link)# int gi 0/2
aos(config-mpls-comp-link)# min lsp bandwidth
1024
aos(config-mpls-comp-link)# max reservable
bandwidth 20000
34 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
aos(config-mpls-comp-link)# switching-capability
psc1 encoding packet
aos(config-mpls-comp-link)# no shutdown
aos(config-mpls-comp-link)# exit
The following example shows configuring TE extensions for IS-IS on CTR A, in Topology A:
Enable ISIS routing process.
aos# configure terminal
aos(config)# router isis
Configuring RSVP-TE
RSVP-TE is the signalling protocol used for setting up traffic-engineered LSPs in an MPLS
network. When a TE-tunnel is configured, the path for the tunnel is computed at the head end
router by executing CSPF algorithm over the TE database1. The tunnel is signalled over
calculated path via RSVP-TE protocol which communicates the path information to each router
along the path, checks the router at each hop for errors and signals the ingress and egress labels
for each hop along the signalled tunnel. All routers participating in traffic engineering must
have RSVP-TE configured.
RSVP-TE must first be configured globally by specifying a router ID which corresponds to an
already configured loopback address, the outgoing label range, the hello packet refresh interval
and the maximum number of interfaces participating in RSVP.
The confi gured Label range onl y appl i es to outgoi ng l abel s bei ng
di stri buted from the l ocal node to the far end on l abel exchange (i ngress
packets wi l l be tagged wi th thi s l abel ). CTR i s abl e to accept any unused
i ncomi ng l abel from i ts nei ghbouri ng devi ces.
Each interface participating in RSVP-TE signalling must also be specified in the RSVP
configuration, in order for the label exchange to take place on those interfaces.
F or each i nterface parti ci pati ng i n RSVP-TE, a ‘ si gnal l i ng l i nk attri butes’
parameter can be set. Thi s must match the Resource Cl ass set for the TE-
Li nk confi gured for the i nterface i n order for tunnel s wi th resource cl ass
based constrai nts to be si gnal l ed successful l y.
The following example shows configuration of RSVP-TE entity on CTR A, in Topology A:
Set global (per router) configuration for RSVP including router ID and label range and enable
the RSVP entity:
aos(config)# rsvp
aos(config-rsvp)# set rsvp disable
aos(config-rsvp)# router-id 1.1.1.1
aos(config-rsvp)# signalling label range min
100001 max 100100
aos(config-rsvp)# signalling hello supported
aos(config-rsvp)# signalling hello refresh
interval 30000
aos(config-rsvp)# signalling max interfaces 8
aos(config-rsvp)# set rsvp enable
Enable RSVP on individual interfaces which are to be made available for MPLS LSPs – in this
case it is front panel port 2:
aos(config-rsvp)# interface gi 0/2
aos(config-rsvp-if)# signalling link attributes
0x1
aos(config-rsvp-if)# no shutdown
1In certain cases, for example when using loose hops in LSP path specification, only part of the
CSPF computation happens at the head-end.
36 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
aos(config-rsvp-if)# exit
aos(config-rsvp-if)# exit
no shutdown
int gi 0/2
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 1.1.1.1
mpls traffic-eng
end
rsvp
set rsvp disable
router-id 1.1.1.1
signalling label range min 100101 max 100200
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/2
signalling link attributes 0x1
no shutdown
exit
exit
CTR B Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te21
address-type ipv4
local te-link ipv4 10.0.12.2 remote te-link ipv4
10.0.12.1
remote router-id 1.1.1.1
resource-class class-value 0x1
no shutdown
int gi 0/2
min lsp bandwidth 1024
38 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR C Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te32
address-type ipv4
local te-link ipv4 10.0.23.3 remote te-link ipv4
10.0.23.2
remote router-id 2.2.2.2
resource-class class-value 0x1
no shutdown
int gi 0/3
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 3.3.3.3
end
rsvp
set rsvp disable
router-id 3.3.3.3
signalling label range min 100301 max 100400
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/3
signalling link attributes 0x1
no shutdown
exit
exit
40 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
rsvp
set rsvp disable
router-id 1.1.1.1
signalling label range min 100101 max 100200
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/2
signalling link attributes 0x1
no shutdown
exit
interface gi 0/4
signalling link attributes 0x1
no shutdown
exit
exit
CTR B Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te21
address-type ipv4
local te-link ipv4 10.0.12.2 remote te-link ipv4
10.0.12.1
remote router-id 1.1.1.1
resource-class class-value 0x1
no shutdown
int gi 0/2
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te24
address-type ipv4
local te-link ipv4 10.0.24.2 remote te-link ipv4
10.0.24.4
remote router-id 4.4.4.4
42 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR C Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te32
address-type ipv32
local te-link ipv4 10.0.23.3 remote te-link ipv4
10.0.23.2
remote router-id 2.2.2.2
resource-class class-value 0x1
no shutdown
int gi 0/3
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te34
address-type ipv4
local te-link ipv4 10.0.34.3 remote te-link ipv4
10.0.34.4
remote router-id 4.4.4.4
resource-class class-value 0x1
no shutdown
int gi 0/6
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
44 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 3.3.3.3
end
rsvp
set rsvp disable
router-id 3.3.3.3
signalling label range min 100301 max 100400
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/3
signalling link attributes 0x1
no shutdown
exit
interface gi 0/6
signalling link attributes 0x1
no shutdown
exit
exit
CTR D Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te41
address-type ipv4
local te-link ipv4 10.0.14.4 remote te-link ipv4
10.0.14.1
remote router-id 1.1.1.1
resource-class class-value 0x1
no shutdown
int gi 0/4
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te42
address-type ipv4
local te-link ipv4 10.0.24.4 remote te-link ipv4
10.0.24.2
remote router-id 2.2.2.2
resource-class class-value 0x1
no shutdown
int gi 0/5
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te43
address-type ipv4
local te-link ipv4 10.0.34.4 remote te-link ipv4
10.0.34.3
remote router-id 3.3.3.3
resource-class class-value 0x1
no shutdown
int gi 0/6
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 4.4.4.4
end
rsvp
set rsvp disable
router-id 4.4.4.4
signalling label range min 100401 max 100500
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
46 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR B Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te21
address-type ipv4
local te-link ipv4 10.0.12.2 remote te-link ipv4
10.0.12.1
remote router-id 1.1.1.1
resource-class class-value 0x1
no shutdown
48 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
int gi 0/2
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te26
address-type ipv4
local te-link ipv4 10.0.26.2 remote te-link ipv4
10.0.26.6
remote router-id 6.6.6.6
resource-class class-value 0x1
no shutdown
int gi 0/4
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te27
address-type ipv4
local te-link ipv4 10.0.27.2 remote te-link ipv4
10.0.27.7
remote router-id 7.7.7.7
resource-class class-value 0x1
no shutdown
int gi 0/7
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te23
address-type ipv4
local te-link ipv4 10.0.23.2 remote te-link ipv4
10.0.23.3
remote router-id 3.3.3.3
resource-class class-value 0x1
no shutdown
int gi 0/6
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 2.2.2.2
end
rsvp
set rsvp disable
router-id 2.2.2.2
signalling label range min 100201 max 100300
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/2
signalling link attributes 0x1
no shutdown
exit
interface gi 0/4
signalling link attributes 0x1
no shutdown
exit
interface gi 0/6
signalling link attributes 0x1
no shutdown
exit
interface gi 0/7
signalling link attributes 0x1
no shutdown
exit
exit
50 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR C Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te32
address-type ipv4
local te-link ipv4 10.0.23.3 remote te-link ipv4
10.0.23.2
remote router-id 2.2.2.2
resource-class class-value 0x1
no shutdown
int gi 0/6
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te37
address-type ipv4
local te-link ipv4 10.0.37.3 remote te-link ipv4
10.0.37.7
remote router-id 7.7.7.7
resource-class class-value 0x1
no shutdown
int gi 0/4
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te34
address-type ipv4
local te-link ipv4 10.0.34.3 remote te-link ipv4
10.0.34.4
remote router-id 4.4.4.4
resource-class class-value 0x1
no shutdown
int gi 0/5
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 3.3.3.3
end
rsvp
set rsvp disable
router-id 3.3.3.3
signalling label range min 100301 max 100400
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/4
signalling link attributes 0x1
no shutdown
exit
interface gi 0/5
signalling link attributes 0x1
no shutdown
exit
interface gi 0/6
signalling link attributes 0x1
no shutdown
exit
exit
CTR D Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te43
address-type ipv4
52 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
advertise
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 4.4.4.4
end
rsvp
set rsvp disable
router-id 4.4.4.4
signalling label range min 100401 max 100500
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/2
signalling link attributes 0x1
no shutdown
exit
interface gi 0/5
signalling link attributes 0x1
no shutdown
exit
interface gi 0/7
signalling link attributes 0x1
no shutdown
exit
exit
CTR E Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te56
address-type ipv4
local te-link ipv4 10.0.56.5 remote te-link ipv4
10.0.56.6
remote router-id 6.6.6.6
resource-class class-value 0x1
no shutdown
int gi 0/1
min lsp bandwidth 1024
max reservable bandwidth 20000
54 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR F Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te61
address-type ipv4
local te-link ipv4 10.0.16.6 remote te-link ipv4
10.0.16.1
remote router-id 1.1.1.1
resource-class class-value 0x1
no shutdown
int gi 0/3
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te62
address-type ipv4
56 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
advertise
exit
exit
configure terminal
router isis
mpls traffic-eng router-id 6.6.6.6
end
rsvp
set rsvp disable
router-id 6.6.6.6
signalling label range min 100601 max 100700
signalling hello supported
signalling hello refresh interval 30000
signalling max interfaces 8
set rsvp enable
interface gi 0/1
signalling link attributes 0x1
no shutdown
exit
interface gi 0/3
signalling link attributes 0x1
no shutdown
exit
interface gi 0/4
signalling link attributes 0x1
no shutdown
exit
interface gi 0/7
signalling link attributes 0x1
no shutdown
exit
exit
CTR G Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te72
address-type ipv4
local te-link ipv4 10.0.27.7 remote te-link ipv4
10.0.27.2
remote router-id 2.2.2.2
resource-class class-value 0x1
no shutdown
58 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
int gi 0/7
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te75
address-type ipv4
local te-link ipv4 10.0.57.7 remote te-link ipv4
10.0.57.5
remote router-id 5.5.5.5
resource-class class-value 0x1
no shutdown
int gi 0/6
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te73
address-type ipv4
local te-link ipv4 10.0.37.7 remote te-link ipv4
10.0.37.3
remote router-id 3.3.3.3
resource-class class-value 0x1
no shutdown
int gi 0/4
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
configure terminal
router isis
60 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Once a label is assigned to a set of packets, the label effectively defines the ‘flow’ through the
LSP. We refer to such an LSP as an ‘LSP tunnel’ because the traffic through it is opaque to
intermediate nodes along the label switched path.
The terms LSP Tunnel/MPLS Tunnel and LSP are often used interchangeably in literature. The
distinction is usually not important except in the cases of protected tunnel where a single
tunnel can have two LSPs: a working (main) LSP and a protecting (backup) LSP.
From the perspective of user configuration in CTR, an MPLS Tunnel is an interface on a device
with an identifier assigned to it. Once established, the tunnel can be used as a next hop for an
IP address, bound to an L2VPN pseudo-wire or assigned an L3VPN binding. The LSP is the
actual label switched path which the tunnel takes through the network and is identified by an
LSP ID as well as state information within individual routers which includes incoming and
outgoing labels at each hop. The tunnel is configured by an operator, LSP is calculated and
signalled internally by AOS software in cooperation with other routers along the path.
Source and Desti nati on I P addresses are mandatory and are set to RSVP
router I D for source and desti nati on routers.
I n SW Rel ease 3.4, onl y mpl s traffi c-engi neeri ng i s supported as the
tunnel mode. uni di recti onal , corouted-bi di reti onal and associ ated-
bi di recti onal modes are not supported.
I n SW Rel ease 3.4, onl y rsvp i s supported as tunnel si gnal l i ng protocol .
stati c, crl dp, none and other opti ons are not supported.
Strict Hop
When a hop is specified as strict in the path option, it is supposed to be directly reachable from
the hop before it in the path specification.
The following example demonstrates configuration of a tunnel from CTR A to CTR D in
Topology C via CTR B, CTRG, and CTR E
Define an explicit path consisting of a set of strict hops and assign it identifier 1:
aos(config)# ip explicit-path identifier 1
aos(cfg-ip-expl-path)# index 1 next-address
strict 2.2.2.2
aos(cfg-ip-expl-path)# index 2 next-address
strict 7.7.7.7
aos(cfg-ip-expl-path)# index 3 next-address
strict 5.5.5.5
aos(cfg-ip-expl-path)# index 4 next-address
strict 4.4.4.4
aos(cfg-ip-expl-path)# exit
62 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Loose Hop
When a hop in the path is specified as loose, the path from the previous hop to the loose hop is
calculated using TE-metric or other constraints provided. The path beyond the loose hop is not
calculated at the head end. The loose hop router is expected to run a CSPF calculation to
calculate the route from itself to the tail end or to the next loose hop. This option is typically
used when the tunnel spans multiple IGP areas. The area boundary router (L1-2 router in case
of IS-IS) is specified as a loose hop in this case.
The following example demonstrates configuration of a tunnel from CTR A to CTR D in
Topology C, using CTR E as a loose hop. In this case, the head end calculates path to CTR E
using default TE-metric. CTR E calculates the path to the tail end which is directly connected.
As a result, the tunnel will take the path CTR A→ CTR F→ CTR E→ CTR D.
Define an explicit path consisting of a loose hop and assign it identifier 1:
aos(config)# ip explicit-path identifier 1
aos(cfg-ip-expl-path)# index 1 next-address
loose 5.5.5.5
aos(cfg-ip-expl-path)# exit
Exclude Address
Exclude address is used to define a path option where the specified node should not be used on
the path of the tunnel.
As an example, consider Topology C. Based on IGP cost, the shortest path from CTR A to CTR
D is via CTR F (CTR A → CTR F → CTR D). If the operator wishes to avoid routing the tunnel
through CTR F, the address of CTR F can be specified in the exclude list. In that case, the
tunnel will be routed via next best path (CTR A → CTR B → CTR C → CTR D). This is shown
in the following example:
Define an explicit path with CTR F (6.6.6.6) as exclude address and assign it identifier 1:
aos(config)# ip explicit-path identifier 1
aos(cfg-ip-expl-path)# index 1 exclude-address
6.6.6.6
aos(cfg-ip-expl-path)# exit
64 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
be torn down to make room for the new tunnel. Tunnel setup and hold priorities are configured
with the following command under mpls tunnel interface configuration:
aos(config-if)# tunnel mpls traffic-eng priority
<setup priority 0-7> <hold priority 0-7>
Record-route Option
This option enables the inclusion of Record Route Object (RFC 3209) in the RSVP-TE messages.
This object records the path actually taken by the LSP.
Note: The use of record-route opti on i s mandatory when l oose hops are
used on the tunnel path.
This option can be enabled via following command under mpls tunnel interface configuration:
aos(config-if)# tunnel mpls traffic-eng record-
route
CTR C Configuration
Tunnel from CTR C to CTR A
configure terminal
int mplstunnel 31
tunnel mpls destination 1.1.1.1 source 3.3.3.3
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
tunnel mpls traffic-eng path-option number 1
dynamic
no shutdown
66 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR C Configuration
Tunnel from CTR C to CTR A
configure terminal
int mplstunnel 31
tunnel mpls destination 1.1.1.1 source 3.3.3.3
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
tunnel mpls traffic-eng path-option number 1
dynamic
no shutdown
CTR D Configuration
Tunnel from CTR D to CTR A
aos(config)# int mplstunnel 41
aos(config-if)# tunnel mpls destination 1.1.1.1
source 4.4.4.4
aos(config-if)# tunnel mode mpls traffic-eng
aos(config-if)# tunnel signalling protocol rsvp
aos(config-if)# tunnel mpls traffic-eng path-
option number 1 dynamic
aos(config-if)# no shutdown
aos(config-if)# end
68 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR D Configuration
Tunnel from CTR D to CTR A
configure terminal
int mplstunnel 41
tunnel mpls destination 1.1.1.1 source 4.4.4.4
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
tunnel mpls traffic-eng path-option number 1
dynamic
no shutdown
L2VPN implementation in AOS is based on pseudo-wires and follows the reference model
described in RFC-3985. The model is shown in figure PWE3 Network Reference Model for MPLS
L2VPNs, above. All configurations for L2VPNs reside on the provider edge routers. The core
routers in the network only have to provide MPLS transport via LDP or RSVP-TE signalled
LSPs. Key elements and supported features for L2VPNS are summarised below.
Service Types
l Virtual Private Wire Service (VPWS): VPWS provides a layer 2 point-to-point
connection, which is effectively equivalent to providing a leased line supporting
Ethernet transport.
l Virtual Private LAN Service (VPLS): VPLS provides a Layer 2 multipoint service which
extends a private LAN segment across the provider’s MPLS network. This creates the
appearance to the users that all sites are interconnected though a single Ethernet
switch. In addition to providing layer 2 transport, VPLS also provides switch
functions such as MAC address learning and ageing.
Both VPWS and VPLS transport Layer 2 Ethernet frames across the network. This in turn
allows any type of Layer 3 payload, not just IP, being carried by those Ethernet frames to be
conveyed.
A physi cal port cannot be a member of more than one VLAN based
attachment ci rcui ts.
l Port + VLAN – This configuration provides the ability to create multiple attachment
circuits on a single physical port. The traffic for each attachment circuit is identified
by the VLAN tag configured for that attachment circuit and is mapped to the
appropriate L2VPN PW. This scheme is useful for separating different types of traffic
arriving on the same physical interface, e.g. separating customer data traffic from
management traffic and mapping them to different L2VPN services.
Pseudo-wires
Pseudo-wires are the mechanism used to carry L2 frames over MPLS cloud. Pseudo-wires are
configured on the provider edge devices and are invisible to the core routers (LSRs or P-routers).
In data plane, packets belonging to a PW are identified by a PW label plus optional control
word and associated channel headers. PW label is pushed on the packet at the PE router before
the MPLS LSP label i.e., PW label is the inner label in MPLS label stack. MPLS routers in the
network (P routers) switch the packets based on the outermost label only (MPLS transport
label). At the remote PE router, after the MPLS transport label is popped, the PW label is used
to map the packet to the appropriate attachment circuit.
Pseudo-wire Establishment
Pseudowire establishment involves exchange of PW labels and other control information across
PE routers. In AOS, this can be accomplished in one of the two possible ways:
l Manual/ static configuration of labels and PW parameters at both ends
l Using Targeted LDP to allocate labels and negotiate PW parameters
72 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
l Tagged mode- Service delimiting tag is carried over the PW. If a service delimiting
tag is not present on the traffic received at the attachment circuit, a dummy tag is
inserted.
l Raw mode- Service delimiting tag is stripped before a packet is sent on the PW.
On CTR A:
aos# configure terminal
aos(config)# mpls ldp
aos(config-mpls-ldp)# router-id loopback 0 force
aos(config-mpls-ldp)# entity 1
aos(config-mpls-ldp-entity-1)# neighbor 3.3.3.3
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160100 max 160199
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# end
On CTR C:
aos# configure terminal
aos(config)# mpls ldp
aos(config-mpls-ldp)# router-id loopback 0 force
aos(config-mpls-ldp)# entity 1
aos(config-mpls-ldp-entity-1)# neighbor 1.1.1.1
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160300 max 160399
74 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# end
VPWS Configuration
After IPv4 connectivity and MPLS transport have been provisioned in the network, follow the
steps below for configuration of VPWS:
1. Configure targeted LDP sessions across the edge devices. This step is not required
if manual configuration of PW labels will be used.
I t i s recommended to use T-LDP for si gnal l i ng PWs because
stati c confi gurati on of l abel s i s hard to manage i n l arge
networks.
2. Configure PW and connect it to the attachment circuit (AC) on each edge router.
On CTR A:
aos# configure terminal
aos(config)# interface gigabit ethernet 0/4
On CTR C:
aos# configure terminal
aos(config)# interface gigabit ethernet 0/4
On CTR A:
aos# configure terminal
aos(config)# switch default
aos(config-switch)# vlan 101
aos(config-switch-vlan)# ports add gig 0/4
aos(config-switch-vlan)# mpls l2transport
pwidfec 3.3.3.3 pwid 1 groupid 1 mplstype te 13
31 port-ifindex gigabitethernet 0/4 pwtype
ethtag
aos(config-switch-vlan)# end
76 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
On CTR C:
aos# configure terminal
aos(config)# switch default
aos(config-switch)# vlan 101
aos(config-switch-vlan)# ports add gig 0/4
aos(config-switch-vlan)# mpls l2transport
pwidfec 1.1.1.1 pwid 1 groupid 1 mplstype te 31
13 port-ifindex gigabitethernet 0/4 pwtype
ethtag
aos(config-switch-vlan)# end
VPLS Configuration
The key steps for configuration of a VPLS service after IPv4 connectivity and LSPs have been
established are:
1. Configure targeted LDP sessions across the edge devices. Each PE router should
have a T-LDP session with all other PE routers in the VPLS service.
2. Configure a VFI and VPN instance for the service.
3. Add PWs to the VPN instance. This is different from VPWS where PWs are created
directly under interface or VLAN configuration in CLI. In most scenarios a PW to
each PE router has to be configured, i.e. all PE devices participating in the VPLS
service are connected with a full mesh of PWs.
4. Connect the attachment circuits to the VFI instance.
CTR A Configuration
Enable LDP and configure targeted LDP entities towards CTR C and CTR D:
aos# configure terminal
aos(config)# mpls ldp
aos(config-mpls-ldp)# router-id loopback 0 force
aos(config-mpls-ldp)# entity 1
aos(config-mpls-ldp-entity-1)# neighbor 3.3.3.3
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160100 max 160149
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# exit
aos(config-mpls-ldp)# entity 2
aos(config-mpls-ldp-entity-1)# neighbor 4.4.4.4
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160150 max 160199
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# exit
Configure VFI and VPN. A user defined string is assigned to the VFI for identification. In this
case, the VFI is called VPLS_ACD. Configure two PWs under the VPN instance, one towards
CTR C and one towards CTR D:
aos# configure terminal
aos(config)# switch default
aos(config-switch)# l2 vfi VPLS_ACD manual
aos(config-switch-vfi)# vpn 1
78 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR C Configuration
Enable LDP and configure targeted LDP entities towards CTR A and CTR D:
aos# configure terminal
aos(config)# mpls ldp
aos(config-mpls-ldp)# router-id loopback 0 force
aos(config-mpls-ldp)# entity 1
aos(config-mpls-ldp-entity-1)# neighbor 1.1.1.1
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160200 max 160249
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# exit
aos(config-mpls-ldp)# entity 2
aos(config-mpls-ldp-entity-1)# neighbor 4.4.4.4
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160250 max 160299
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# exit
Configure VFI and VPN. A user defined string is assigned to the VFI for identification. In this
case, the VFI is called VPLS_ACD. Configure two PWs under the VPN instance, one towards
CTR A and one towards CTR D:
aos# configure terminal
aos(config)# switch default
aos(config-switch)# l2 vfi VPLS_ACD manual
aos(config-switch-vfi)# vpn 1
aos(config-switch-vfi)# neighbor 1.1.1.1 pwidfec
pwid 13 groupid 1 encapsulation mpls mplstype te
31 13 pwtype ethtag
aos(config-switch-vfi)# neighbor 4.4.4.4 pwidfec
pwid 34 groupid 1 encapsulation mpls mplstype te
34 43 pwtype ethtag
aos(config-switch-vfi)# end
CTR D Configuration
Enable LDP and configure targeted LDP entities towards CTR A and CTR C:
aos# configure terminal
aos(config)# mpls ldp
aos(config-mpls-ldp)# router-id loopback 0 force
aos(config-mpls-ldp)# entity 1
aos(config-mpls-ldp-entity-1)# neighbor 1.1.1.1
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160300 max 160349
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# exit
aos(config-mpls-ldp)# entity 2
aos(config-mpls-ldp-entity-1)# neighbor 3.3.3.3
targeted
aos(config-mpls-ldp-entity-1)# ldp label range
min 160350 max 160399
aos(config-mpls-ldp-entity-1)# transport-address
tlv loopback 0
aos(config-mpls-ldp-entity-1)# no shutdown
aos(config-mpls-ldp-entity-1)# exit
80 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Configure VFI and VPN. A user defined string is assigned to the VFI for identification. In this
case, the VFI is called VPLS_ACD. Configure two PWs under the VPN instance, one towards
CTR A and one towards CTR C:
aos# configure terminal
aos(config)# switch default
aos(config-switch)# l2 vfi VPLS_ACD manual
aos(config-switch-vfi)# vpn 1
aos(config-switch-vfi)# neighbor 1.1.1.1 pwidfec
pwid 14 groupid 1 encapsulation mpls mplstype te
41 14 pwtype ethtag
aos(config-switch-vfi)# neighbor 3.3.3.3 pwidfec
pwid 34 groupid 1 encapsulation mpls mplstype te
43 34 pwtype ethtag
aos(config-switch-vfi)# end
82 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
VRF Configuration
A separate Virtual Routing and Forwarding (VRF) instance is created on the provider edge
routers for each L3VPN service. A VRF instance maintains separate (private) routing and
forwarding tables for a L3VPN service containg routing information to get customer traffc across
different VPN sites. Each PE-CE link on a PE router is assigned to a particular VRF. The traffic
arriving at the PE router from a CE router is mapped to the correct L3VPN service, based on
the local configuration on the PE router, which assigns the receiving interface to a particular
VRF. The traffic arriving from the provider core is demultiplexed based on the VPN label
described in the section L3VPN Route AND Label Distribution and mapped to the correct VRF
instance. Once the VRF instance is identified, the forwarding decision is made in both
directions based on the routing table for that VRF.
Loopback interfaces can also be added to a VRF and are useful for diagnostic and identification
purposes. For example, to be used as router IDs for routing protocols running on CE-PE
interface.
Add port gi 0/7 to VRF and assign it an IP address. ip vrf forwarding <vrf-
identifier> command assigns the interface to a specific VRF. Without this command, the
interface would belong to the default VRF which is used for ‘normal’ IPv4 forwarding as
opposed to L3VPN forwarding.
aos# configure terminal
aos(config)# interface gi 0/7
aos(config-if)# shutdown
aos(config-if)# no map switch default
aos(config-if)# no shutdown
aos(config-if)# ip vrf forwarding customer1
aos(config-if)# ip address 20.0.11.1
255.255.255.0
aos(config-if)# no shutdown
aos(config-if)# end
84 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
MP-BGP Peering
Once RDs and RTs are configured, the full mesh of MP-BGP peerings among all PE routers has
to be configured. Under each BGP neighbour which is a PE, address family VPNv4 has to be
enabled. Redistribution of internal routes for VRF has to be enabled for BGP. If TE tunnels are
being used, L3VPN binding to the tunnels has to be configured. The following example shows
this configuration for CTR A with MP-BGP sessions to CTR C and CTR D (Figure- Modified
Topology B for L3VPN - CE Devices Added):
Enable BGP routing in the device and apply global BGP configuration. The local BGP entity
should be configured with the AS number for the provider’s network. In this example, the
number is assumed to be 65001:
aos# configure terminal
aos(config)# router bgp 65001
aos(config-router)# redistribute all
aos(config-router)# bgp router-id 1.1.1.1
aos(config-router)# label-allocation-mode per-
vrf
86 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
Configure sessions with other BGP peers. Redistribution of VPNv4 address family has to be
enabled with each peer. In this example, the two BGP peers are the PE routers (CTR-C 3.3.3.3
and CTR-D 4.4.4.4):
aos(config-router)# neighbor 3.3.3.3 remote-as
65001
aos(config-router)# neighbor 3.3.3.3 update-
source 1.1.1.1
aos(config-router)# address-family vpnv4
aos(config-router-afvpnv4)# neighbor 3.3.3.3
activate
aos(config-router-afvpnv4)# ex
aos(config-router)# neighbor 4.4.4.4 remote-as
65001
aos(config-router)# neighbor 4.4.4.4 update-
source 1.1.1.1
aos(config-router)# address-family vpnv4
aos(config-router-afvpnv4)# neighbor 4.4.4.4
activate
aos(config-router-afvpnv4)# end
Configure redistribution of VRF customer1 routes to BGP:
aos# configure terminal
aos(config)# router bgp 65001
aos(config-router)# address-family ipv4 vrf
customer1
aos(config-router-af4)# bgp redistribute-
internal
aos(config-router-af4)# redistribute all
aos(config-router-af4)# end
Static Routing
Simplest solution is to use static routing. A CE device has a static route, or multiple static
routes if needed, configured on it which uses the PE device as the next hop to all VPN addresses
on remote sites. The PE router has a static route towards CE configured for all the prefixes
present on the VPN site to which the PE router is connected. PE router will redistribute this
information to other PEs via MP-BGP.
This requires prior knowledge of prefixes present at each site which have to be statically
configured on PE and CE devices.
The following example shows static configuration at Site A (CTR A and CTR CE-A) in Topology
B (Figure- Modified Topology B for L3VPN - CE Devices Added. It is assumed that a CTR CE-A
has a loopback address 12.12.12.12/32 which is being configured to be reachable from other VPN
sites. Also assume that customer site has a local subnet 20.11.0.0/16 which is being configured
to be reachable from other sites.
Configuration on CTR-A is to add static routes in VRF customer1. These static routes use
directly connected link 20.0.11.1 (assuming the other side has address 20.0.11.2) as the next
hop:
aos# c t
aos(config)# ip route vrf customer1 12.12.12.12
255.255.255.255 20.0.11.2
aos(config)# ip route vrf customer1 20.11.0.0
255.255.0.0 20.0.11.2
aos(config)# end
Configuration on CTR CE-A is to use CTR A as next hop for all remote sites. Assume CTR C
and CTR D have similar loopback addresses (32.32.32.32 & 42.42.42.42) and network segments
connected (20.13.0.0/16 and 20.14.0.0/16). CTR CE-A will use CTR-A as the next hop for all of
these addresses. Note that VRF is only applicable to PE router. At the CE router, the connection
appears to be a ‘normal’ IPv4 connection and all addresses are in the default VRF:
aos# c t
aos(config)# ip route 32.32.32.32
255.255.255.255 20.0.11.1
aos(config)# ip route 42.42.42.42
255.255.255.255 20.0.11.1
aos(config)# ip route 20.13.0.0 255.255.0.0
20.0.11.1
aos(config)# ip route 20.14.0.0 255.255.0.0
20.0.11.1
aos(config)# end
eBGP Routing
eBGP is a popular dynamic routing protocol used on CE-PE interface. When eBGP is used, the
AS-nubmer on CE router will be the AS number for customer’s network (which is different from
provider’s AS). The PE device is configured to redistribute IP addresses from VRF customer1 to
eBGP. Note that a single instance of BGP is running on the PE device and it handles both MP-
88 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
BGP peerings for L3VPN signalling within the provider’s network and CE-PE signalling with
customer router. The peers for each address family and VRF are configured separately.
For Topology B (Figure- Modified Topology B for L3VPN - CE Devices Added), after all
configurations till section L3VPN Route AND Label Distribution on page 85 are complete, the
following configuration will enable eBGP as CE-PE routing protocol on VRF customer1. Note
that remote-as override option must be set to prevent BGP’s loop prevention mechanism to kick
in when a route from a remote customer site is advertised, if all customer sites use same AS
number:
aos# configure terminal
aos(config)# router bgp 65001
aos(config-router)# address-family ipv4 vrf
customer1
aos(config-router-af4)# neighbor 20.0.11.2
remote-as 65002
aos(config-router-af4)# neighbor 20.0.11.2
activate
aos(config-router-af4)# neighbor 20.0.11.2 next-
hop-self
aos(config-router-af4)# neighbor 20.0.11.2 as-
override
aos(config-router-af4)# end
At CTR CE-A an eBGP instance with neighbourship to local PE has to be configured. Note that
the CE device sees all addresses as ‘normal’ IPv4 addresses in its default VRF:
aos# c t
aos(config)# router bgp 65002
aos(config-router)# bgp router-id 12.12.12.12
aos(config-router)# neighbor 20.0.11.1 remote-as
65001
aos(config-router)# redistribute all
aos(config-router)# end
CTR A Configuration
Create VRF customer1 :
configure terminal
ip vrf customer1
end
90 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR C Configuration
Create VRF customer1 :
configure terminal
ip vrf customer1
end
92 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
address-family vpnv4
neighbor 1.1.1.1 activate
ex
neighbor 4.4.4.4 remote-as 65001
neighbor 4.4.4.4 update-source 3.3.3.3
address-family vpnv4
neighbor 4.4.4.4 activate
end
Configure redistribution of VRF customer1 routes to MP-BGP (internal):
configure terminal
router bgp 65001
address-family ipv4 vrf customer1
bgp redistribute-internal
redistribute all
end
CTR D Configuration
Create VRF customer1 :
configure terminal
ip vrf customer1
end
94 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
configure terminal
interface loopback 0
ip address 12.12.12.12 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address 20.0.11.2 255.255.255.0
no shutdown
end
configure terminal
interface loopback 0
configure terminal
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address 20.0.13.2 255.255.255.0
no shutdown
end
configure terminal
interface loopback 0
ip address 42.42.42.42 255.255.255.255
no shutdown
end
configure terminal
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address 20.0.14.2 255.255.255.0
no shutdown
end
96 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR A Configuration
c t
ip route vrf customer1 12.12.12.12
255.255.255.255 20.0.11.2
ip route vrf customer1 20.11.0.0 255.255.0.0
20.0.11.2
end
CTR C Configuration
c t
ip route vrf customer1 32.32.32.32
255.255.255.255 20.0.13.2
ip route vrf customer1 20.13.0.0 255.255.0.0
20.0.13.2
end
CTR D Configuration
c t
ip route vrf customer1 42.42.42.42
255.255.255.255 20.0.14.2
ip route vrf customer1 20.14.0.0 255.255.0.0
20.0.14.2
end
CTR A Configuration
configure terminal
router bgp 65001
address-family ipv4 vrf customer1
neighbor 20.0.11.2 remote-as 65002
neighbor 20.0.11.2 activate
neighbor 20.0.11.2 next-hop-self
neighbor 20.0.11.2 as-override
end
CTR C Configuration
configure terminal
router bgp 65001
address-family ipv4 vrf customer1
neighbor 20.0.13.2 remote-as 65002
neighbor 20.0.13.2 activate
98 AVIAT NETWORKS
MPLS CONFIGURATION FOR CTR 8500
CTR D Configuration
configure terminal
router bgp 65001
address-family ipv4 vrf customer1
neighbor 20.0.14.2 remote-as 65002
neighbor 20.0.14.2 activate
neighbor 20.0.14.2 next-hop-self
neighbor 20.0.14.2 as-override
end
In addition, OAM capability and relevant parameters need to be configured over the L2VPN PW
under the individual PW configuration via pseudowire-oam command. For example,
configuration in Configuration Example: VPWS with Port Based Attachment Circuit on page 75
for VPWS PW will be modified as follows to enable OAM capability:
aos# configure terminal
aos(config)# interface gigabit ethernet 0/4
aos(config-if)# mpls l2transport pwidfec 3.3.3.3
pwid 1 groupid 1 mplstype te 13 31
aos(config-if)# mpls pseudowire-oam pwid 1
local-cc-type router-alert-label local-cv-type
lsp-ping remote-cc-type router-alert-label
remote-cv-type lsp-ping
aos(config-if)# end
An example to verify pseudowire at the specified ipv4 address and virtual circuit id:
Codes :
'!' - success, 'Q' - request not sent, '.' -
timeout,
'L' - labeled output interface, 'B' - unlabeled
output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, m -
FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs,
'N' - no rx label,
Failure Detection
The simplest failure detection configuration is to rely on the mechanisms built-in to RSVP-TE.
An RSVP-TE node is expected to send a PATH ERROR message to the head end LSR of an LSP
when a failure on the LSP is detected. For example, a physical link being used by an LSP goes
down. RSVP-TE also maintains Hello timers to aid detection of adjacency failures. If protection
for a tunnel is converted, the head end LSR can react to this message and switch the traffc to
alternative path. No additional configuration on a tunnel is needed for this kind of detection.
RSVP-TE based failure detection mechanisms tend to be slow in detecting failures. The
recommended method of failure detection for protected LSPs is using BFD with hardware
offloading.
Configure a BFD session number 10 on the router 1.1.1.1 . A similar session needs to be
configured at the router 4.4.4.4. The session ID of the session on remote device should be used
as BFD discriminator in router 1.1.1.1. The following configuration is for router 1.1.1.1. It enables
hardware offloading for BFD and sets BFD interval to 3 msec.
CTR-A Configuration
Define explicit paths for LSPs:
configure terminal
ip explicit-path identifier 1
index 1 next-address strict 6.6.6.6
index 2 next-address strict 4.4.4.4
exit
ip explicit-path identifier 2
index 1 next-address strict 2.2.2.2
index 2 next-address strict 3.3.3.3
index 3 next-address strict 4.4.4.4
end
Configure protected tunnel use path 1 for working path and path 2 for backup path:
configure terminal
interface mplstunnel 1
tunnel mpls destination 4.4.4.4 source 1.1.1.1
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
tunnel mpls traffic-eng record-route
tunnel endpoint capability encoding lsp-packet
switching psc1
tunnel mpls traffic-eng path-option number 1
explicit identifier 1
tunnel mpls traffic-eng backup path-option
number 1 explicit identifier 2
tunnel mpls end-to-end-protection-type one-to-
one
no shut
end
Enable BFD, and configure BFD with hardware offloading to monitor the working LSP:
configure terminal
no shutdown bfd
bfd enable
bfd session 10
bfd mpls traffic-eng tunnel 1 source 1.1.1.1
dest 4.4.4.4
bfd set offload
bfd interval 3 min_rx 3 multiplier 3
bfd params sess-type single-hop
bfd params remote-discr 20
bfd enable
end
CTR-D Configuration
Define explicit paths for LSPs:
configure terminal
ip explicit-path identifier 1
index 1 next-address strict 6.6.6.6
index 1 next-address strict 1.1.1.1
exit
ip explicit-path identifier 2
index 1 next-address strict 3.3.3.3
index 2 next-address strict 2.2.2.2
index 2 next-address strict 1.1.1.1
end
Configure protected tunnel use path 1 for working path and path 2 for backup path:
configure terminal
interface mplstunnel 2
tunnel mpls destination 1.1.1.1 source 4.4.4.4
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
tunnel mpls traffic-eng record-route
tunnel endpoint capability encoding lsp-packet
switching psc1
tunnel mpls traffic-eng path-option number 1
explicit identifier 1
tunnel mpls traffic-eng backup path-option
number 1 explicit identifier 2
tunnel mpls end-to-end-protection-type one-to-
one
no shut
end
Enable BFD, and configure BFD with hardware offloading to monitor the working LSP:
configure terminal
no shutdown bfd
bfd enable
bfd session 20
bfd mpls traffic-eng tunnel 2 source 4.4.4.4
dest 1.1.1.1
bfd set offload
bfd interval 3 min_rx 3 multiplier 3
bfd params sess-type single-hop
bfd params remote-discr 10
bfd enable
end
Remote Label
This is also called out label or push label. This label is advertised to the device under
configuration from its partner device. This label will be ‘pushed’ on all packets before they are
sent out towards the partner. Partner could be the next hop for an LSP or the remote PE router
for AToM, L2VPN and L3VPN service.
Local Label
This is also called in label or pop label. This is the label which the device being configured
advertises to its partners. The device unvder configuration expects the partner to send the
traffic with this label pushed on it. The device will use this label to map the packet to an LSP or
service and will perform a pop or swap operation on this label.
Configuration
Label Range Application
Information
0-15 Standard reserved labels
16-99 Reserved/Unused in AOS
100-100,000 MPLS LSPs signalled with LDP Configured under non-
targeted ldp entity with
command:
ldp label range min
<value> max <value>
If not configured, the
entity will use entire label
range.
100,001-160,000 MPLS LSPs signalled with RSVP-TE Configured under rsvp
entity with command:
signalling label
range min <value>
max <value>
If not configured, the
entity will use entire
available range 160,001-
200,000
160,001-200,000 AToM services signalled with T-LDP Configured under
(e.g VPWS, VPLS, SAToP) targeted ldp entity with
command :
ldp label range min
<value> max <value>
If multiple targeted LDP
entities are configured on
a single device, they must
have nonoverlapping
label ranges.
200,001-300,000 Space available for static label Availale for configuration
assignment. Usable for static LSPs and as ”local label” in the
AToM. following commands:
Static LSP:
mpls static binding
…
mpls static
crossconnect …
VPWS/AToM:
mpls l2transport
manual <ip-addr>
pwid <id>
locallabel <label>
…
VPLS:
neighbour <ip-addr>
manual pwid <id>
locallabel <label>
…
300,001-400,000 L3VPN Labels The range is internally
resered for L3VPN labels.
400,001-1,048,575 Reserved/Unused in AOS