CRT 8500
CRT 8500
MPLS Configuration
Version 3.4.0
260-668256-014
MPLS CONFIGURATION
IV AVIAT NETWORKS
MPLS CONFIGURATION
Or you can contact your local Aviat Networks office. Contact information is
available on our website at: [Link]
support/technical-assistance/
VI AVIAT NETWORKS
MPLS CONFIGURATION
FCC Notices
l ODU 600, 5.8GHz, must be professionally installed and maintained.
l 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
interference 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
environment is likely to cause harmful interference in which case the
user will be required to correct the interference at their own expense.
l ODU 600, 5.8GHz, is compliant with the relevant parts of FCC CFR47,
Part 15.407.
l 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.
l 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.
l The filters and software provided with this product allow for
transmission only in the frequency range 5725 – 5850 MHz to ensure
compliance with Part 15.407.
l According to the conducted power limit in FCC CFR 47, Part 15.407, the
power for this device has been limited to 1W (30dBm) at the antenna
port.
l 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 is 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 information regarding
collection and recovery/recycling.
More information on the WEEE Directive is available at our website:
[Link]
(WEEE is the acronym for Waste Electrical and Electronic Equipment)
RoHS Directive
CTR 8540, CTR 8312, CTR 8311, and CTR 8380 meets the requirements of ROHS
directive 2011/65/EU.
X AVIAT NETWORKS
MPLS CONFIGURATION
Contents
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. 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
BGP Border Gateway Protocol
CE Customer Edge
CE Router Customer Edge Router
CLI Command Line Interface
CSPF Constrained SPF (Constrained Shortest Path First) – Algorithm for computing
path on traffic engineered LSP using the traffic engineering topology
information in the traffic engineering database.
FEC Forwarding Equivalence Class
FTN Tunnel Forwarding Equivalence Class (FTN) to Next Hop Label Forwarding Entry
(NHLFE) Tunnel - Maps a Forwarding Equivalence Class (e.g. IP traffic with
specific destination address, DSCP markings) to an MPLS LSP at the edge of
an MPLS network
GMPLS Generalized MPLS
IGP Interior Gateway Protocol
IP Internet Protocol
IPv4 Internet Protocol Version 4
IPv6 Internet Protocol Version 6
IS-IS Intermediate System to Intermediate System (An Interior Gateway Protocol)
L2VPN Layer 2 Virtual Private Network
L3 Layer 3 - Network Layer
L3VPN Layer 3 Virtual Private Network
LAN Local Area Network
LB Link Bundling
LDP Label Distribution Protocol – Used for signalling MPLS LSP labels
LER Label Edge Router
LSP Label Switched Path
LSR Label Switch Router
ME Maintenance Entity
MEG Maintenance Entity Group
MEP Maintenance Entity Group End Point
MIB Management Information Base
MP-BGP Multiprotocol Extensions for BGP
MPLS Multi-Protocol Label Switching
References
l CTR 8500/8300 Getting Started - Configuration
l CTR 8500/8300 Configuration – IP
l CTR 8500/8300 Configuration – IS-IS
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-
[Link], 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, [Link], 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.
XX AVIAT NETWORKS
MPLS CONFIGURATION
Document Conventions
Table 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 on page xxiii- is used for describing simple point to point services
such as VPWS
Topology B on page xxiii- is used for describing multipoint services such as VPLS
and L3VPN
Topology C on page xxiv- 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.
Figure 1. Topology A
Figure 2. Topology B
Figure 3. Topology C
Topology A
Configuration Summary
This section includes complete configuration scripts for all devices in Topology A
on page xxiii. 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 3. 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
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router IS-IS broadcast
IS-IS 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
end
Topology B
Configuration Summary
This section includes complete configuration scripts for all devices in Topology B
on page xxiii. 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 5. Topology B - 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router IS-IS broadcast
IS-IS 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router IS-IS broadcast
IS-IS 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router IS-IS broadcast
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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
end
Topology C
Configuration Summary
This section includes complete configuration scripts for all devices in Topology C
on page xxiv. 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 7. Topology C - 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
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/3
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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/6
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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/5
shutdown
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router IS-IS broadcast
IS-IS 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/7
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/2
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/2
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router IS-IS broadcast
IS-IS 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/3
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/5
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/3
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/5
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/7
ip router IS-IS broadcast
IS-IS 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 [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/4
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/6
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
exit
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
router IS-IS
net [Link]
is-type level-2
exit
interface loopback 0
ip router IS-IS
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/4
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/6
ip router IS-IS broadcast
IS-IS circuit-type level-2-only
exit
interface gigabitethernet 0/7
ip router IS-IS broadcast
IS-IS 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
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 [Link] remote te-link ipv4
[Link]
aos(config-mpls-te-link)# remote router-id [Link]
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
aos(config-mpls-comp-link)# switching-capability psc1 encoding packet
aos(config-mpls-comp-link)# no shutdown
aos(config-mpls-comp-link)# exit
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.
NOTE: The c onfigured Label range only applies to outgoing labels being
dis tributed from the loc al node to the far end on label exc hange (ingress
pac kets w ill be tagged w ith this label). C TR is able to acc ept any unused
inc oming label from its neighbouring dev ic es .
1 In certain cases, for example when using loose hops in LSP path specification,
only part of the CSPF computation happens at the head-end.
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
aos(config-rsvp-if)# exit
aos(config-rsvp-if)# exit
The scripts can be copied into a text file and applied to a CTR device. It is
assumed that before applying the scripts in this section, the appropriate
baseline IP and IS-IS configuration from the section Example Configuration
Scripts: IPv4 and IS-IS on page 1 have been applied to the devices.
After the scripts in this section are applied, the network will be ready for setting
up MPLS-TE tunnels via user specified constraints.
configure terminal
router IS-IS
mpls traffic-eng router-id [Link]
mpls traffic-eng
end
rsvp
set rsvp disable
router-id [Link]
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 te23
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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/3
signalling link attributes 0x1
no shutdown
exit
exit
CTR C Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te32
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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
exit
advertise
exit
exit
configure terminal
router IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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/3
signalling link attributes 0x1
no shutdown
exit
interface gi 0/5
signalling link attributes 0x1
no shutdown
exit
exit
CTR C Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te32
address-type ipv32
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
resource-class class-value 0x1
no shutdown
int gi 0/4
exit
advertise
exit
exit
configure terminal
router IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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/3
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
signalling label range min 100201 max 100300
signalling hello supported
CTR C Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te32
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
resource-class class-value 0x1
no shutdown
int gi 0/6
min lsp bandwidth 1024
max reservable bandwidth 20000
exit
advertise
exit
exit
configure terminal
router IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 te46
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link].6
remote router-id [Link]
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 te45
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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
configure terminal
router IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
resource-class class-value 0x1
no shutdown
int gi 0/1
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
mpls traffic-eng
te-link te57
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
resource-class class-value 0x1
no shutdown
int gi 0/6
CTR F Configuration
configure terminal
mpls traffic-eng tunnels
mpls traffic-eng
te-link te61
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 te64
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 te65
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
resource-class class-value 0x1
no shutdown
int gi 0/1
min lsp bandwidth 1024
max reservable bandwidth 20000
switching-capability psc1 encoding packet
no shutdown
exit
advertise
exit
exit
configure terminal
router IS-IS
mpls traffic-eng router-id [Link]
end
rsvp
set rsvp disable
router-id [Link]
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 [Link] remote te-link ipv4 [Link]
remote router-id [Link]
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 te75
address-type ipv4
local te-link ipv4 [Link] remote te-link ipv4 [Link]
router-id [Link]
signalling label range min 100701 max 100800
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/6
signalling link attributes 0x1
no shutdown
exit
interface gi 0/7
signalling link attributes 0x1
no shutdown
exit
exit
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.
NOTE: Sourc e and D es tination IP addres s es are mandatory and are set to
R SVP router ID for s ourc e and des tination routers.
NOTE: In SW R eleas e 3.4, only mpls traffic -engineering is supported as
the tunnel mode. unidirec tional, c orouted-bidiretional and ass ociated-
bidirec tional modes are not s upported.
NOTE: In SW R eleas e 3.4, only rs v p is s upported as tunnel signalling
protoc ol. s tatic , c rldp, none and other options 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 on page xxiv 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 [Link]
aos(cfg-ip-expl-path)# index 2 next-address strict [Link]
aos(cfg-ip-expl-path)# index 3 next-address strict [Link]
aos(cfg-ip-expl-path)# index 4 next-address strict [Link]
aos(cfg-ip-expl-path)# exit
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 on page xxiv, 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 [Link]
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 on page xxiv. 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 ([Link]) as exclude address and assign it
identifier 1:
aos(config)# ip explicit-path identifier 1
aos(cfg-ip-expl-path)# index 1 exclude-address [Link]
aos(cfg-ip-expl-path)# exit
l Exclude-all attribute: A link will not be used for the tunnel if the link’s
resource class specification includes any attribute included in the
exclude-all affinity value for the tunnel.
l Include-any attribute: A link will be used for the tunnel if it carries any
of the attribute in include-any affinity parameter for the tunnel.
l Include-all: A link will be used for the tunnel if it carries all the
attributes in include-all affinity parameter for the tunnel.
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: N ote: The us e of rec ord-route option is mandatory w hen loose
hops are us ed 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 [Link] source [Link]
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
tunnel mpls traffic-eng path-option number 1 dynamic
no shutdown
CTR C Configuration
Tunnel from CTR C to CTR A
configure terminal
int mplstunnel 31
tunnel mpls destination [Link] source [Link]
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 [Link] source [Link]
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
CTR D Configuration
Tunnel from CTR D to CTR A
configure terminal
int mplstunnel 41
tunnel mpls destination [Link] source [Link]
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
tunnel mpls traffic-eng path-option number 1 dynamic
no shutdown
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
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.
NOTE: A phy s ic al port c annot be a member of more than one VLAN based
attachment c irc uits .
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).
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
On CTR A:
On CTR C:
VPWS Configuration
After IPv4 connectivity and MPLS transport have been provisioned in the
network, follow the steps below for configuration of VPWS:
Configure targeted LDP sessions across the edge devices. This step is not
required if manual configuration of PW labels will be used.
NOTE: It is rec ommended to us e T-LD P for signalling PW s bec ause
static c onfiguration of labels is hard to manage in large netw ork s.
VPWS is a point to point service and is configured directly under the attachment
circuit interface on each device. In this case port Gi0/4 is used as attachment
circuit on both devices.
On CTR A:
On CTR C:
Both VPWS services terminate on physical port Gi 0/4 but use different
Port+VLAN attachment circuits. PW 1 will use VLAN 101 as attachment circuit,
PW 2 will use VLAN 102. For Port + VLAN AC, the service is configured under
VLAN interface. The PW is configured in tagged mode.
On CTR A:
On CTR C:
VPLS Configuration
The key steps for configuration of a VPLS service after IPv4 connectivity and
LSPs have been established are:
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.
Configure a VFI and VPN instance for the service.
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.
Connect the attachment circuits to the VFI instance.
The attachment circuit is VLAN 101. In this case the VLAN has only one port Gi
0/4. However, multiple ports can be added to the VLAN and traffic arriving on
any of those ports with VLAN 101 as outer tag will be forwarded via VPLS.
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 [Link] 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 [Link] 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
aos(config-vlan)# 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
aos(config-switch-vfi)# neighbor [Link] pwidfec pwid 13 groupid 1
encapsulation mpls mplstype te 13 31 pwtype ethtag
aos(config-switch-vfi)# neighbor [Link] pwidfec pwid 14 groupid 1
encapsulation mpls mplstype te 14 41 pwtype ethtag
aos(config-switch-vfi)# end
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 [Link] 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 [Link] targeted
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 [Link] pwidfec pwid 13 groupid 1
encapsulation mpls mplstype te 31 13 pwtype ethtag
aos(config-switch-vfi)# neighbor [Link] 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
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 [Link] pwidfec pwid 14 groupid 1
encapsulation mpls mplstype te 41 14 pwtype ethtag
aos(config-switch-vfi)# neighbor [Link] pwidfec pwid 34 groupid 1
encapsulation mpls mplstype te 43 34 pwtype ethtag
aos(config-switch-vfi)# end
Overview
MPLS Layer 3 VPNs (also known as BGP/MPLS VPNs) provide VPN service at the
IP layer. Typically, at each VPN site, a provider edge router peers with a
customer edge router which connects to the rest of the customer network.
Similar to L2VPN, most L3VPN configuration resides in edge routers only. The
core routers in the service provider’s network simply switch traffic based on
MPLS transport labels.
The following sections describe the individual elements of L3VPNs and their
configuration in AOS. Most examples in this chapter are based on slightly
modified version of Topology B on page xxiii. It is assumed that basic IP and IS-
IS configuration, MPLS traffic engineering and LSP configuration has been
completed according to scripts in the following sections:
l Topology B on page 1
l Configuration for Topology B on page 1
l Dynamic Tunnels for Topology B on page 1
The new element introduced here are the three CE routers which peer with their
corresponding PE routers at each VPN site.
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 on page cxvi 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.
The following example shows configuration of a VRF on CTR A. The VRF is given
customer1 as the identifier. It has two interfaces: physical port gi 0/7 and a
loopback interface:
Create VRF customer1 :
aos# configure terminal
aos(config)# ip vrf customer1
aos(config)# end
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
When IP prefixes belonging to customer VRFs (L3VPNs) are carried across the
provider network using BGP, they need to be distinguished from IP prefixes
belonging to the provider’s own network and from IP prefixes belonging to other
customer’s networks. This enables customers to use overlapping IP address
space. BGP’s multiprotocol extensions provide this capability by introducing
VPNv4 address family.
When a PE router uses BGP to exchange L3VPN prefixes, it converts them from
IPv4 to VPNv4 family addresses. To achieve this, the PE router adds a Route
Distinguisher (RD) to the customer’s IP prefix. Route Distinguisher is usually
statically configured in the PE routers. Its only role is to make the VPN
addresses uniquely identifiable. Any convenient allocation scheme can be used
to configure RDs, for example, one RD per VPN or one RD per site in a VPN. In
AOS, RD can be configured as the AS number followed by a number or an IP
addresss followed by a number.
The following example shows configuring a route distinguisher 65001:11 for on a
PE router for VRF customer1. It is assumed that 65001 is the AS number used in
provider’s network:
aos# configure terminal
aos(config)# ip vrf customer1 mpls
aos(ip-vrf-mpls)# rd 65001:11
aos(ip-vrf-mpls)# end
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 [Link]
aos(config-router)# label-allocation-mode per-vrf
aos(config-router-afvpnv4)# ex
aos(config-router)# neighbor [Link] remote-as 65001
aos(config-router)# neighbor [Link] update-source [Link]
aos(config-router)# address-family vpnv4
aos(config-router-afvpnv4)# neighbor [Link] 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 [Link]/32 which is
being configured to be reachable from other VPN sites. Also assume that
customer site has a local subnet [Link]/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 [Link] (assuming the other side has
address [Link]) as the next hop:
aos# c t
aos(config)# ip route vrf customer1 [Link] [Link] [Link]
aos(config)# ip route vrf customer1 [Link] [Link] [Link]
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 ([Link] &
[Link]) and network segments connected ([Link]/16 and [Link]/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 [Link] [Link] [Link]
aos(config)# ip route [Link] [Link] [Link]
aos(config)# ip route [Link] [Link] [Link]
aos(config)# ip route [Link] [Link] [Link]
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-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.
CTR A Configuration
Create VRF customer1 :
configure terminal
ip vrf customer1
end
configure terminal
interface loopback 1
ip vrf forwarding customer1
ip address [Link] [Link]
end
CTR C Configuration
Create VRF customer1 :
configure terminal
ip vrf customer1
end
end
CTR D Configuration
Create VRF customer1 :
configure terminal
ip vrf customer1
end
switch default
shutdown spanning-tree
set gmrp disable
set gvrp disable
shutdown garp
bridge-mode customer
end
configure terminal
interface loopback 0
ip address [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
interface loopback 0
ip address [Link] [Link]
no shutdown
end
configure terminal
interface gigabitethernet 0/7
shutdown
no map switch default
no switchport
ip address [Link] [Link]
no shutdown
end
configure terminal
interface loopback 0
ip address [Link] [Link]
no shutdown
end
configure terminal
CTR A Configuration
ct
ip route vrf customer1 [Link] [Link] [Link]
ip route vrf customer1 [Link] [Link] [Link]
end
CTR C Configuration
ct
ip route vrf customer1 [Link] [Link] [Link]
ip route vrf customer1 [Link] [Link] [Link]
end
CTR D Configuration
ct
ip route vrf customer1 [Link] [Link] [Link]
ip route vrf customer1 [Link] [Link] [Link]
end
CTR A Configuration
configure terminal
router bgp 65001
address-family ipv4 vrf customer1
neighbor [Link] remote-as 65002
neighbor [Link] activate
neighbor [Link] next-hop-self
neighbor [Link] as-override
end
CTR C Configuration
configure terminal
router bgp 65001
address-family ipv4 vrf customer1
neighbor [Link] remote-as 65002
neighbor [Link] activate
neighbor [Link] next-hop-self
neighbor [Link] as-override
end
CTR D Configuration
configure terminal
router bgp 65001
address-family ipv4 vrf customer1
neighbor [Link] remote-as 65002
neighbor [Link] activate
neighbor [Link] next-hop-self
neighbor [Link] as-override
end
Introduction
To verify the connectivity of LSP connections an MPLS ping can be sent by using
the ping mpls command. An MPLS echo reply is sent in response to an MPLS ping
request.
To test the path, the trace mpls command can be used. The trace mpls
command is similar to the ping mpls command except that the trace command
will send several echo request packets with increasing TTL (similar to IP
Traceroute).
There are four fundamental variations of the command;
l ipv4 – Verification of an LSP bound to a specified ipv4 address.
l pseudowire – Verification of Virtual Circuit Connections (VCCV).
l traffic-eng – Verification of a Traffic-Engineered (TE) Tunnel.
l meg-name – Verification of a Maintenance Entity Group (MEG).
NOTE: In SW R eleas e 3.4, LSP Ping w ith MEG option is not supported.
'R' - transit router, 'X' - unknown return code, 'x' - return code 0,
'I' - Unknown upstream interface index, 'U' - Reserved
!!!!!
Success Rate is 100 percent (5/5), round-trip min/avg/max = 62/70/94 ms
PW OAM capabilities can be globally enabled via following set of commands. For
more information, refer to CTR 8500/8300 CLI Reference Manual Vol 2 for
details):
aos(config)# configure terminal
aos(config)# mpls oam enable
aos(config)# pseudowire-notification pw-status
aos(config)# pw-cc-capability router-alert-label
aos(config)# pw-cv-capability lsp-ping
aos(config)# 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,
'P' - no rx intf label psrot, 'p' - premature termination of LSP,
'R' - transit router, 'X' - unknown return code, 'x' - return code 0,
'I' - Unknown upstream interface index, 'U' - Reserved
The alternative path is determined by the head-end router for the LSP.
Depending on the protection mechanism in use, this path may or may not be
calculated and signalled in advance. The following sections describe
configuration of different elements of LSP protection in AOS.
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.
NOTE: In SW R eleas e 3.4, the BFD s es s ion is ass ociated w ith an MPLS
–Tunnel and not w ith indiv idual LSPs . The s es sion ass ociated w ith the
tunnel c an monitor only the w ork ing LSP for the tunnel. Failures on the
protec ting LSPs c annot be detec ted w ith BFD .
The path options for working and protecting path are configured individually
using the commands described in Path Options for TE-Tunnels on page xc.
NOTE: In SW R eleas e 3.4, the w ork ing LSP can use all path options
des cribed in s ec tion 4.1. H ow ev er, the protecting LSP must alw ays be
defined as an ex plic it path w ith a s equenc e of strict hops.
NOTE: R FC 4872 as s umes w ork ing and protecting LSPs to be resource-
dis joint. AOS does not enforc e this res tric tion. This allow s some
protec tion to be c onfigured on netw ork topologies w here more than one
fully res ourc e-dis joint path is not av ailable. The obv ious dow n-side of
us ing non-dis joint paths is that no protec tion w ill be available against
failure on a link /node us ed by both w ork ing and protecting LSPs.
Therefore, to max imiz e the benefits of LSP protection, operators should
av oid s haring link s /nodes betw een w ork ing and protecting LSPs w herever
it is pos s ible to do s o.
The steps for configuration of an MPLS-TE tunnel with 1:1 protection are:
l Define paths for working and protecting LSPs using ip explicit-path
command. This is not needed if dynamic path option is to be used.
l Under MPLS tunnel configuration specify:
o End to end protection type as one-to-one.
o Specify the explicit path identifier configured above as path option 1
for working LSP or specify dynamic path under option 1.
o Specify the explicit path identifier configured above for protecting
LSP as backup-path.
These steps are demonstrated in the sections below.
CTR-A Configuration
Define explicit paths for LSPs:
configure terminal
ip explicit-path identifier 1
index 1 next-address strict [Link]
index 2 next-address strict [Link]
exit
ip explicit-path identifier 2
index 1 next-address strict [Link]
index 2 next-address strict [Link]
index 3 next-address strict [Link]
end
Configure protected tunnel use path 1 for working path and path 2 for backup
path:
configure terminal
interface mplstunnel 1
tunnel mpls destination [Link] source [Link]
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 [Link] dest [Link]
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 [Link]
index 1 next-address strict [Link]
exit
ip explicit-path identifier 2
index 1 next-address strict [Link]
index 2 next-address strict [Link]
index 2 next-address strict [Link]
end
Configure protected tunnel use path 1 for working path and path 2 for backup
path:
configure terminal
interface mplstunnel 2
tunnel mpls destination [Link] source [Link]
tunnel mode mpls traffic-eng
tunnel signalling protocol rsvp
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 [Link] dest [Link]
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
Nomenclature
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.