You are on page 1of 30

Specialized Models User Guide 6MPLS Model User Guide

Modeler/Release 10.5 SPM-6-1


6 MPLS Model User Guide
Multi-Protocol Label Switching (MPLS) is a multi-layer switching technology that
uses labels to determine how packets are forwarded through a network. The
first part of this document describes key features of the MPLS specialized model
and the second part focuses on procedures for configuring MPLS in your
network model.
Model Features
This section contains a list of the main features available in the Multi-Protocol
Label Switching model:
The MPLS model captures the following protocol behavior.
Table 6-1 MPLS Model Features
Feature Description
LSP (Label Switched Path) configuration
LSPs can be created manually or
automatically from traffic conversation
pairs.
LSPs are easily reused in other scenarios
or projects by using the LSP import and
export features.
Both dynamic and static LSPs are created
using the path object.
Differential Services (DiffServ)
DiffServ extensions, as defined in
RFC-2475, are provided.
The model enables you to perform QoS
(quality of service) analyses by accounting
for different types of service.
Traffic Engineering Traffic engineered routes are computed
using Constrained Shortest Path First
(CSPF) with OSPF or IS-IS routing protocols.
End of Table 6-1
6MPLS Model User Guide Specialized Models User Guide
SPM-6-2 Modeler/Release 10.5
Reference Documents
MPLS models are implemented based on information available from the
following sources.
Table 6-2 Reference Documents (Part 1 of 2)
Model Features Document
Traffic Engineering
MPLS TE RFC-2702Requirements for Traffic Engineering
Over MPLS
FECs RFC-3031Multiprotocol Label Switching
Architecture
IGP shortcuts draft-hsmit-mpls-igp-spf-00
Label Switched Paths
Dynamic LSPs
Static LSPs
RFC-3031Multiprotocol Label Switching
Architecture
LSP routing
OSPF TE
IS-IS TE
RFC-2676QoS Routing and OSPF Extensions
Label distribution
LDP RFC-3036LDP Specification
CR-LDP RFC-3212Constraint-based LSP Setup Using LDP
RSVP-TE RFC-3209RSVP-TE: Extensions to RSVP for LSP
Tunnels
PP-VPNs
A framework for layer-3 PP VPNs RFC-2547BGP/MPLS VPNs
BGP/MPLS VPNs draft-ietf-ppvpn-framework-05
Quality of Service
QOS Architecture RFC-2475An Architecture for Differentiated
Services
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-3
Modeler provides several complementary technologies that are useful in
managing MPLS. The list of supported features for MPLS varies depending on
the technology used. Table 6-3 lists the supported MPLS features for each
technology: device configuration import (DCI), VNE Server import (VNESI),
NetDoctor (NTDR), flow analysis (FLAN), and discrete event simulation (DES).
MPLS Support of Differentiated
Services
RFC-3270Multi Protocol Label Switching
draft-ietf-mpls-diff-ext-08
Restoration and Resiliency
Fast reroute with bypass tunnels
LSP protection with ingress backup
draft-ietf-mpls-rsvp-lsp-fastreroute-00
End of Table 6-2
Table 6-2 Reference Documents (Part 2 of 2)
Table 6-3 MPLS Traffic Engineering Supported Feature List (Part 1 of 5)
Feature
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1, 2
FLAN
3
DES
Per Node Settings:
MPLS Status Y Y
4
Y Y Y Y
Fast Reroute Status Y Y N N N Y
Explicit Routes Configured: Name Y Y Y Y Y Y
Explicit Routes Configured: Path Details Y Y Y N Y Y
Explicit Routes Configured: Path Details, Node Name/IP
Address
Y Y Y N Y Y
Explicit Routes Configured: Path Details, Used Link Y N N N Y Y
Explicit Routes Configured: Path Details, Hop Type Y Y
5
Y N Y Y
Traffic Mapping Configuration: Interface In Y N N N N Y
Traffic Mapping Configuration: FEC/Destination Prefix Y Y
6
Y N N Y
Traffic Mapping Configuration: TrafficTrunk Y N N N N Y
Traffic Mapping Configuration: LSP, Primary LSPs Y Y
7
Y N N Y
Traffic Mapping Configuration: LSP, LSP Name Y Y Y N N Y
Traffic Mapping Configuration: LSP, Weight Y N N N N Y
Traffic Mapping Configuration: LSP, Backup LSPs Y N N N N Y
6MPLS Model User Guide Specialized Models User Guide
SPM-6-4 Modeler/Release 10.5
Traffic Mapping Configuration: LSP, LSP Name Y N N N N Y
Traffic Assignment Mode Y Y
8
N N Y N
Resource Class Configuration: Bit Number Y Y
9
Y N Y Y
Resource Class Configuration: Name Y Y
9
Y N Y Y
Label Space Allocation Y N N N N/A Y
Mapping of EXP bits to per hop behavior (EXP<-->PHB): Y N N N N Y
Mapping of EXP bits to per hop behavior (EXP<-->PHB):
Mapping Name
Y N N N N Y
Mapping of EXP bits to per hop behavior (EXP<-->PHB):
Mapping Details
Y N N N N Y
Mapping of EXP bits to per hop behavior (EXP<-->PHB):
EXP Value
Y N N N N Y
Mapping of EXP bits to per hop behavior (EXP<-->PHB):
PHB
Y N N N N Y
Mapping of EXP bits to drop precedence
(EXP<-->Drop Precedence)
Y N N N N Y
Mapping of EXP bits to drop precedence
(EXP<-->Drop Precedence): Mapping Name
Y N N N N Y
Mapping of EXP bits to drop precedence
(EXP<-->Drop Precedence): Mapping Details
Y N N N N Y
Mapping of EXP bits to drop precedence
(EXP<-->Drop Precedence): EXP Value
Y N N N N Y
Mapping of EXP bits to drop precedence
(EXP<-->Drop Precedence): Drop Precedence
Y N N N N Y
FEC Specifications: FEC Name Y N N N N Y
FEC Specifications: FEC Details Y N N N N Y
FEC Specifications: FEC Details, Type of Service (ToS) Y N N N N Y
FEC Specifications: FEC Details, Protocol Y N N N N Y
FEC Specifications: FEC Details, Source Address Range Y N Y N N Y
Table 6-3 MPLS Traffic Engineering Supported Feature List (Part 2 of 5)
Feature
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1, 2
FLAN
3
DES
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-5
FEC Specifications: FEC Details, Destination Address
Range
Y N Y N N Y
FEC Specifications: FEC Details, Source Port Y N N N N Y
FEC Specifications: FEC Details, Destination Port Y N N N N Y
LSP Specification File Y N N N N Y
Traffic Trunk Profiles Y N N N N Y
Traffic Trunk Profiles: Trunk Name Y N N N N Y
Traffic Trunk Profiles: Trunk Details Y N N N N Y
Traffic Trunk Profiles: Traffic Profile Y N N N N Y
Traffic Trunk Profiles: Traffic Profile, Maximum Bit Rate Y N N N N Y
Traffic Trunk Profiles: Traffic Profile, Average Bit Rate Y N N N N Y
Traffic Trunk Profiles: Traffic Profile, Maximum Burst Size Y N N N N Y
Traffic Trunk Profiles: Out of Profile Action Y N N N N Y
Traffic Trunk Profiles: Out of Profile Action Y N N N N Y
Traffic Trunk Profiles: Out of Profile Action, Remark
Precedence
Y N N N N Y
Traffic Trunk Profiles: Traffic Class Y N N N N Y
Per Interface Settings:
MPLS Status Y Y Y N Y Y
Traffic Engineering (TE) Link Cost Y Y
10
Y N Y Y
Supported Resource Classes Y Y Y N Y Y
Bypass Tunnel Configuration Y Y
11
Y N N Y
Bypass Tunnel Configuration: LSP Name Y Y
11
Y N N Y
Bypass Tunnel Configuration: Priority Y N N N N Y
LSP Settings:
Name Y Y Y Y Y Y
Table 6-3 MPLS Traffic Engineering Supported Feature List (Part 3 of 5)
Feature
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1, 2
FLAN
3
DES
6MPLS Model User Guide Specialized Models User Guide
SPM-6-6 Modeler/Release 10.5
Source Address Y Y Y N Y Y
Destination Address Y Y Y N Y Y
Announce IGP Shortcuts (Autoroute Announce) Y Y
12
Y N Y Y
Background Flow Y N N N N N
CSPF Equal Cost Path Selection Y Y
13
Y N Y N
Hot Standby Y N N N N N
LSP Metric: Type Y Y
14
Y N Y Y
LSP Metric: Value Y Y Y N Y Y
TE Parameters: Min Bandwidth Y Y Y N Y Y
TE Parameters: Max Delay Y N N N N Y
TE Parameters: Hop Limit Y Y
15
Y N Y N
TE Parameters: Resource Class String A Y Y Y N Y Y
TE Parameters: Resource Class String B Y Y Y N Y Y
TE Parameters: Class of Service Y Y
16
Y N N N
TE Parameters: Priorities, Setup Priority Y Y Y N Y N
TE Parameters: Priorities, Holding Priority Y Y Y N Y N
TE Parameters: CSPF Computation Enable/Disable Y Y
17
Y N Y N
TE Parameters: Preference Y Y
18
Y N N N
Configured Paths: Type Y Y Y Y Y Y
Configured Paths: Name Y Y Y Y Y Y
Configured Paths: Priority Y Y Y Y Y Y
Configured Paths: TE Parameters
Configured Paths: TE Parameters, Min Bandwidth Y Y
19
N N Y N
Configured Paths: TE Parameters, Max Delay Y N N N N N
Configured Paths: TE Parameters, Hop Limit Y Y
19
N N Y N
Table 6-3 MPLS Traffic Engineering Supported Feature List (Part 4 of 5)
Feature
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1, 2
FLAN
3
DES
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-7
Configured Paths: TE Parameters, Resource Class
String A
Y Y
19
N N Y N
Configured Paths: TE Parameters, Resource Class
String B
Y Y
19
N N Y N
Configured Paths: TE Parameters, Class of Service Y Y
19
N N N N
Configured Paths: TE Parameters, Setup Priority Y Y N N Y N
Configured Paths: TE Parameters, Holding Priority Y Y N N Y N
Configured Paths: TE Parameters, CSPF Computation
Enable/Disable
Y Y N N N N
Configured Paths: TE Parameters, Preference Y Y N N N N
Setup Parameters: Start Time Y N/A N/A N N/A Y
Setup Parameters: End Time Y N/A N/A N N/A Y
Recovery Parameters: Retry Timer Y Y
20
Y N N/A Y
Recovery Parameters: Number of Attempts Y Y
21
Y N N/A Y
Recovery Parameters: Fast Reroute Configuration, Fast
Reroute Status
Y Y Y N Y
22
Y
22
Recovery Parameters: Fast Reroute Configuration,
Protection
Y Y N N N Y
Recovery Parameters: Fast Reroute Configuration,
Bypass Tunnel Parameters
Recovery Parameters: Fast Reroute Configuration, Min
Bandwidth
Y N N N N N
Recovery Parameters: Fast Reroute Configuration, Hop
Limit
Y N N N N N
End of Table 6-3
1. An entry of N (No) in this column indicates that OPNET does not provide a pre-defined NetDoctor rule that applies to this feature. However, OPNET provides
an open architecture that permits you to extend NetDoctor by writing custom rules.
2. Pre-defined NetDoctor rules for MPLS are included in the 10.5 release of SP Guru.
3. For flow analysis, MPLS is supported in SP Guru only.
4. MPLS Status (node-level): This is a Juniper-specific feature. DCI imports this value from Cisco router configuration files.
5. Explicit Route Hop Type: DCI imports this value from Cisco and Juniper router configuration files. (The default hop type is strict).
6. Traffic Mapping Configuration, FEC/Destination Prefix: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
7. Traffic Mapping Configuration, Primary LSP: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
Table 6-3 MPLS Traffic Engineering Supported Feature List (Part 5 of 5)
Feature
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1, 2
FLAN
3
DES
6MPLS Model User Guide Specialized Models User Guide
SPM-6-8 Modeler/Release 10.5
Table 6-4 lists the supported LDP features for each technology.
8. Traffic Assignment Mode: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
9. Resource Class Configuration: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
10. TE Link Cost: This is a Cisco-specific feature. DCI imports this value from Cisco router configuration files.
11. Bypass Tunnel Configuration: This is a Cisco-specific feature. DCI imports this value from Cisco router configuration files.
12. Announce IGP Shortcuts: This is a Cisco-specific feature. DCI imports this value from Cisco router configuration files on a per-LSP basis. DCI also sets this
attribute for Juniper depending on whether IGP Shortcuts were enabled while configuring OSPF /IS-IS for MPLS-TE.
13. CSPF Equal Cost Path Selection: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
14. LSP Metric Type: This is a Cisco-specific feature. DCI imports this value (relative or absolute) from Cisco router configuration files. (This value can only be
absolute for LSPs sourcing on Juniper routers).
15. TE Parameters, Hop Limit: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
16. TE Parameters, Class of Service: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
17. TE Parameters, CSPF Computation: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
18. TE Parameters, Preference: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
19. TE Parameters for configured paths on an LSP: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
20. Retry Timer: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
21. Number of Retry Attempts: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
22. Flow Analysis supports Juniper implementations of Fast Reroute and DES supports Cisco Fast Reroute.
Table 6-4 Label Distribution Protocol (LDP) Supported Feature List (Part 1 of 2)
LPD Feature
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1
FLAN
2
DES
Per Node Settings:
Discovery Configuration: Link Hellos (status) Y Y
3
Y N N Y
Discovery Configuration: Link Hello Message Interval Y Y
3
Y N N Y
Discovery Configuration: Link Hello Hold Time Y Y
3
Y N N Y
Discovery Configuration: Targeted Hellos (status) Y Y
3
Y N N N
Discovery Configuration: Targeted Hello Message Interval Y Y
3
Y N N N
Discovery Configuration: Targeted Hello Hold Time Y Y
3
Y N N N
Discovery Configuration: Targeted Hello Receive Filters Y Y
3
Y N N N
Session Configuration: Keepalive Interval Y Y
4
N N N Y
Session Configuration: Hold Time/Timeout Y Y Y N N Y
Recovery Configuration: Link Failure Detection Y N Y N N Y
Recovery Configuration: Node Failure Detection Y N Y N N Y
Advertisement Policies: Export Policies Y Y Y N N N
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-9
Table 6-5 lists the supported IP/VPN features for each technology.
Advertisement Policies: Import Policies Y Y
5
Y N N N
Per Interface Settings:
Y
Status Y Y Y N Y N
Discovery Configuration: Hello Interval Y Y
6
Y N Y N
Discovery Configuration: Hello Holdtime Y Y
6
Y N Y N
End of Table 6-4
1. An entry of N in this column indicates that OPNET does not provide a pre-defined NetDoctor rule that applies to this feature. However, OPNET provides an
open architecture that permits you to extend NetDoctor by writing custom rules.
2. For flow analysis, MPLS is supported in SP Guru only.
3. Discovery Configuration: This is a Cisco-specific feature. DCI imports these values from Cisco router configuration files.
4. Session Configuration, Keepalive interval: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
5. Advertisement Policies, Import Policies: This is a Juniper-specific feature. DCI imports this value from Juniper router configuration files.
6. Interface-level Discovery Configuration: This is a Juniper-specific feature. DCI imports these values from Juniper router configuration files.
Table 6-4 Label Distribution Protocol (LDP) Supported Feature List (Part 2 of 2)
LPD Feature
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1
FLAN
2
DES
Table 6-5 IP Routing Features that Support VPNs (Part 1 of 2)
IP Routing Features that Support VPNs
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1
FLAN
2
DES
Per Node Settings:
VRF Configuration: VRF Name Y Y Y N Y Y
VRF Configuration: Route Distinguisher Y Y Y N Y Y
VRF Configuration: Route Target Y Y
3
Y N Y Y
VRF Configuration: Import Policies Y Y Y N Y N
VRF Configuration: Export Policies Y Y Y N Y N
VRF Configuration: VRF Export Y Y N/A N Y Y
Static Routing Parameters: Destination Address Y Y
4
Y N
5
Y Y
Static Routing Parameters: Subnet Mask Y Y
4
Y N
5
Y Y
Static Routing Parameters: Next Hop Y Y
4
Y N
5
Y Y
Static Routing Parameters: Administrative Weight Y Y Y N
5
Y Y
6MPLS Model User Guide Specialized Models User Guide
SPM-6-10 Modeler/Release 10.5
Table 6-6 lists the supported BGP/VPN features for each technology.
Static Routing Parameters: VRF Name Y Y
4
Y N Y Y
Per Interface Settings:
VRF Name Y Y Y N Y Y
End of Table 6-5
1. An entry of N in this column indicates that OPNET does not provide a pre-defined NetDoctor rule that applies to this feature. However, OPNET provides an
open architecture that permits you to extend NetDoctor by writing custom rules.
2. For flow analysis, MPLS is supported in SP Guru only.
3. Route Target: This is a Cisco-specific feature. DCI imports these parameters from Cisco router configuration files.
4. Static Routing Parameters: This is a Cisco-specific feature. DCI imports these parameters from Cisco router configuration files.
5. NetDoctor includes standard library rules for IP Static Routing, but not for VPNs.
Table 6-5 IP Routing Features that Support VPNs (Part 2 of 2)
IP Routing Features that Support VPNs
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1
FLAN
2
DES
Table 6-6 BGP Features that Support VPNs
BGP Features that Support VPNs
Supported in OPNET Products
Attributes DCI
VNES
Import NTDR
1
FLAN
2
DES
Per Neighbor Settings:
Address Family Y Y Y N Y N
IP Address Y Y Y N
3
Y Y
Remote AS Y Y Y N
3
Y Y
VRF Name Y Y Y N Y Y
Per Node Settings:
Y
Static Route Redistribution VRF Parameters: Address
Family
Y Y
4
N N Y N
Static Route Redistribution VRF Parameters: VRF Name Y Y
4
Y N
3
Y N
Static Route Redistribution VRF Parameters: Metric Y Y
4
Y N Y N
Static Route Redistribution VRF Parameters: Route Map Y Y
4
N N
3
Y N
End of Table 6-6
1. An entry of N in this column indicates that OPNET does not provide a pre-defined NetDoctor rule that applies to this feature. However, OPNET provides an
open architecture that permits you to extend NetDoctor by writing custom rules.
2. For flow analysis, MPLS is supported in SP Guru only.
3. NetDoctor includes standard library rules for BGP Routing, but not for VPNs.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-11
Node Models
The MPLS model suite supports workstation, server, router, and link models
from the standard model library. The LER (Label Edge Router) and LSR (Label
Switching Router) node models in the MPLS object palette are preconfigured to
support MPLS. However, you can configure any of the router models in the
standard model library to model LERs and LSRs.
Figure 6-1 MPLS Object Palette
Model Attributes
Global MPLS attributes, which are used to configure network-wide MPLS
parameters, are grouped in the MPLS configuration object. Router-specific
MPLS attributes are grouped in the MPLS Parameters attribute on each router.
They are described in Router Attributes on page SPM-6-14.
MPLS Configuration Object Attributes
Some of the important MPLS configuration object attributes are described
below.
FEC Specifications This attribute specifies the Forwarding Equivalence
Class (FEC) parameters used by MPLS in the network. FECs classify and
group packets so that all packets in a group are forwarded the same way.
FECs are based on any of the IP header fieldsToS, Protocol, Source
Address Range, Destination Address Range, Source Port, and Destination
Port can all be used to define a FEC. Figure 6-2 Specifying FEC Attributes
on page SPM-6-12 shows the attribute sequence for defining an FEC.
4. Static Route Redistribution VRF Parameters: DCI imports these parameters from Cisco router configuration files.
6MPLS Model User Guide Specialized Models User Guide
SPM-6-12 Modeler/Release 10.5
Figure 6-2 Specifying FEC Attributes
The FEC Details Table helps define the FEC through a set of match rules,
which are combinations of TCP, UDP, and IP header fields. FECs are
determined by taking a logical AND of the column settings in a row and by
taking a logical OR of each of the rows. In other words, for a packet to qualify
for a particular FEC, the IP header fields must satisfy every condition of at
least one row of the defined FEC. For example, a FEC that consists only of
email and ftp traffic would be specified as shown in Figure 6-3.
Figure 6-3 FEC Details for E-mail and FTP Traffic
Therefore, if the IP header of a packet contained either email or FTP, it would
qualify for the FEC defined in Figure 6-3, and would be sent over the
corresponding LSP.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-13
LSP Specification File This attribute indicates whether the network LSPs
should be configured according to the text file specified. You can update the
text file by clicking OK in the LSP Browser. Updating the file recreates the file
based on the current network LSP settings, including LSPs that might not
have been in the original file (such as those created manually).
Traffic Trunk Profiles This attribute specifies out-of-profile actions and
traffic classes for traffic trunks in the network. Traffic trunks capture traffic
characteristics such as peak rate, average rate, and average burst size. The
default Trunk Details setting configures a trunk with a value of
32,000 bits/sec for maximum and average bit rate and 32,000 bits for
maximum burst size.
Figure 6-4 Specifying Traffic Trunk Profiles
EXP <--> Drop Precedence and EXP <--> PHB These attributes specify
how EXP bits in the MPLS shim header are translated into diffserv
information at each LSR. For E-LSPs, LSRs determine Per Hop Behavior
(PHB), while on L-LSPs, they determine Drop Precedence. Use the default
setting unless you are analyzing the effects of QoS.
6MPLS Model User Guide Specialized Models User Guide
SPM-6-14 Modeler/Release 10.5
Figure 6-5 Mapping EXP Bits to Drop Precedence and PHB
Router Attributes
Some of the important MPLS Parameters attributes set on routers are described
below.
Traffic Mapping Configuration
This attribute specifies bindings between FECs and LSPs. Each row of the
Traffic Mapping Configuration table specifies a distinct traffic engineering (TE)
binding. Each TE binding specifies the FEC, traffic trunk, and LSP that is applied
to the label of the incoming packet.
Only previously defined values appear in the attribute pull-down lists. If no
values appear in the attribute pull-down lists, verify that you have defined the
FECs and traffic trunks in the MPLS Configuration object, and that the LSPs
appear in the network path browser.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-15
When an unlabeled packet arrives at an ingress LER, the following sequence
occurs to determine the correct label for the packet:
1) The TE binding is selected based on the packet FEC and the incoming
interface.
2) The packet is checked to make sure that its traffic characteristics conform
to those specified for the TE bindings traffic trunk.
3) The packet is labeled for and sent through the primary LSP specified for the
TE binding.
Figure 6-6 Configuring TE Bindings
\
EXP <--> Drop Precedence and EXP <--> PHB These attributes specify
which mappings, defined in the MPLS configuration object, are used by the
router.
LDP Parametersspecifies Label Distribution Protocol parameters used by
the LSR. LDP Parameters is a compound attribute, composed of the
following sub-attributes:
Discovery Configurationspecifies Hello message parameters
needed to learn of neighboring routers
Session Configurationspecifies Keep-alive message parameters
used to establish LDP sessions
Recovery Configurationspecifies how node and link failures are
detected
This weight attribute
configuration uses LER2-LER5
75% of the time and LER2-site9
25% of the time.
6MPLS Model User Guide Specialized Models User Guide
SPM-6-16 Modeler/Release 10.5
Figure 6-7 Configuring LDP Parameters
Simulation Attributes
The following simulation attributes are available (Configure/Run Discrete Event
Simulation dialog box) when using the MPLS model suite.
CR-LDP Routingspecifies if CR-LDP routing uses CSPF or conventional
IGP to determine routes in loosely defined LSPs. The default value is IGP.
CSPF Retry Timerspecifies how long an ingress LER waits after detecting
a node or link failure before rerouting an LSP that traverses the failed node
or link. The default value for this attribute is 45 seconds.
LDP Discovery End Timespecifies when LDP discovery ends. After this
time, no more LDP discovery packets are sent through the network. This
value should occur after the network reaches a final, constant state in the
simulation since no network topology or device status changes are reflected
in the LDP routing tables after LDP Discovery End Time.
LDP Discovery Start Timespecifies when LDP starts sending discovery
packets through the network. Set this attribute to a value other than Do Not
Start to enable LDP.
LSP Signaling Protocolspecifies whether dynamic LSPs are signaled
using CR-LDP (constraint-based routed LDP) or RSVP. The default value is
CR-LDP.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-17
LSP Attributes
Some of the important LSP attributes are described below. Most of these
attributes can also be configured in the LSP browser, which is described in the
next section.
Figure 6-8 Configuring an LSPs Attributes
Directionalityspecifies if an LSP is unidirectional or bidirectional. Dynamic
LSPs are always unidirectional.
LSP Typespecifies whether the LSP is of type E-LSP or L-LSP. For
E-LSP, three experimental bits in the shim header carry the Diff-Serv
information. This provides eight different types of service (TOS) per LSP. For
L-LSP, TOS information is contained in the MPLS label and all packets
traversing the link are treated equally.
Path Detailsspecifies which packets use the LSP and defines how
packets are forwarded through the LSP. This attribute is automatically
configured for dynamic LSPs. To configure this attribute for static LSPs,
select Update LSP Details from the Protocols > MPLS menu.
Figure 6-9 Path Details for a Static LSP
Recovery Parametersspecifies recovery parameters that are used to
reroute traffic on this LSP if there is a link or node failure along the LSP.
6MPLS Model User Guide Specialized Models User Guide
SPM-6-18 Modeler/Release 10.5
Figure 6-10 Recovery Parameters Configuration
Setup Parametersspecifies the duration of the LSP.
Figure 6-11 Setup Parameters Configuration
TE Parametersspecifies the traffic engineering constraints used by
CR-LDP to find a route through the network. CR-LDP uses Constrained
Routing to find the route that is the best fit for the specified constraints. This
attribute applies to dynamic LSPs only. Make sure you account for network
bandwidth availability when configuring static LSPs.
Figure 6-12 TE Parameters Configuration
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-19
LSP Browser
After you create the LSPs in the network, you may want to edit or view the
default settings. You do this in the LSP browser, which you can access from the
Protocols > MPLS > Browse/Edit LSP Information... menu item. The browser
enables you to
Set the hop type of LERs
Set the start and end times for the LSP
Set threshold values for bandwidth, delay, and hop counts in the LSP
Hide some or all of the LSPs from view in the Project Editor workspace
Export LSP configuration details to a file
Figure 6-13 Using the LSP Browser
These attributes set the
LSPs Path Details and
Setup, TE, and Recovery
Parameters attributes.
Clicking here toggles the display
settingsthe workspace is immediately
refreshed to show or hide the LSPs.
Clicking OK saves the current settings in
the LSP specification file or creates this
file if one does not yet exist.
This column indicates if the
attribute values shown are
from the GUI or the LSP
specification file.
6MPLS Model User Guide Specialized Models User Guide
SPM-6-20 Modeler/Release 10.5
Available Statistics
To analyze MPLS performance, you can collect path statistics on end-to-end
delay, utilization, and the amount of traffic on the LSP. These statistics can be
collected on a per-flow or per LSP basis, where flows are individual flows of
traffic within an LSP.
Figure 6-14 Selecting Statistics to Collect
When analyzing your MPLS network, you may also want to look at the routes
used for the LSPs. You can do this by selecting the Protocols > MPLS >
Display LSP Routes... menu item.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-21
Configuring MPLS in a Network
Configuring MPLS in a network is a three-step process. Before you can run a
simulation using MPLS, you must
1) Create LSPs in the network topology
2) Create FECs and traffic trunks in the MPLS Configuration object
3) Configure LERs to direct packets into the appropriate LSPs
After this basic configuration is in place, you can add QoS/differentiated
services (DiffServ) constraints or traffic shaping parameters.
Creating LSPs
After you create your network topology, you can add LSPs to the network. There
are three methods of adding LSPs to your network:
From traffic conversation pairs
By drawing the LSPs in the Project Editor workspace
From text files
The Update LSP Details operation creates traffic profiles and forward
equivalence classes (FECs) for the LSPs, which you can modify later as you
fine-tune your model.
The model supports both static and dynamic LSPs using the strict and loose
path objects in OPNET. To create LSPs, use the standard procedure for
creating paths as described in the Building Models chapter of the User Guide
manual (Guru product documentation) or the Communication Mechanisms
chapter of the Modeling Concepts manual (Modeler documentation).
You can create dynamic LSPs automatically using the Create LSPs From Traffic
Conversation Pairs utility or manually using the standard procedure for creating
path objects.
The Create LSPs From Traffic Conversation Pairs utility creates LSPs quickly
based on some or all of the traffic conversation pairs in the network.
Procedure 6-1 Creating Dynamic LSPs from Demands
1 From the Protocols > MPLS menu, choose Configure LSPs from Demands.
The Assign IP Addresses dialog box appears.
6MPLS Model User Guide Specialized Models User Guide
SPM-6-22 Modeler/Release 10.5
2 If you have not assigned IP addresses to all connected interfaces in the network,
click the Perform Auto-Assignment button. Otherwise, click the Skip
Auto-Assignment button.
The MPLS Configuration dialog box opens.
This box shows all the traffic pairs configured in the network with suggested
configuration for LSP configuration.
3 In the MPLS LSP Configuration dialog box, specify which traffic conversation pairs
should not generate LSPs by changing their Create LSP? fields to No.
4 Verify that the LSP configuration is correct for each LSP you would like to create.
5 Click the Export To Network button to create the LSPs in the network.
The LSPs appear in the network
End of Procedure 6-1
To create dynamic LSPs manually, you must specify the end points (ingress and
egress LERs) of the LSP. You can also specify one or more intermediate routers
or links along the path. When a specific link is selected for the LSP path, that
hop is marked as strict and the LSP is always set up through that link. Use this
method to indicate that certain routers or links must be used when routing
packets in an LSP. If a node or link on a dynamic LSPs route fails, the ingress
LER automatically tries to find an alternate route. However, if the failed link or
node is marked as strict, the entire LSP fails and the ingress LER diverts
packets to the backup LSP, if one exists.
Procedure 6-2 Creating Dynamic LSPs Manually
1 Click on the MPLS_E-LSP_DYNAMIC object in the MPLS object palette.
2 In the project workspace, click on the LSPs ingress LER.
3 If the LSP must use certain routers or links, click on the intermediate routers or links
that must be used. Be sure to click on the objects in the same order that they occur
in the LSP.
4 Click on the LSPs egress LER.
5 Double-click in the project workspace to finish drawing the LSP.
6 If you are finished creating dynamic LSPs, right-click in the project workspace and
select Abort Path Definition to exit path definition mode. Otherwise, draw the next
dynamic LSP.
End of Procedure 6-2
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-23
Constrained OSPF (CSPF) is used to implement constraint-based routing of
LSPs. You can configure dynamic LSPs to use constraint-based routing in the
LSPs TE Parameters attribute by setting the Bandwidth, Delay, and Hop Count
constraints. When using TE constraints, the model must be configured to use
(CSPF) as follows:
The CR-LDP simulation attribute must be set to CSPF
The IP routing protocol must be set to OSPF (You can set the dynamic
routing protocol to OSPF using the IP Dynamic Routing Protocol simulation
attribute.)
With static LSPs, you can specify the exact route used by the LSP. Static LSPs
allow more routing control, but offer less resiliency to node and link failures. For
this reason, you should always specify at least one backup route when
configuring static LSPs in your network.
Procedure 6-3 Creating Static LSPs
1 Click on the MPLS_E-LSP_STATIC object in the MPLS object palette.
2 In the project workspace, click on the LSPs ingress LER.
3 Click on the next link or router in the LSPs route.
The tooltips indicate which links and routers can be added to the route. Hold the
cursor over a link or router for details about adding it to the LSP.
4 Continue clicking on each link or router in the route until all have been added.
5 Right-click in the project workspace and select Finish Path Definition to finish
drawing the LSP.
6 If you are finished creating static LSPs, right-click in the project workspace and
select Abort Path Definition. Otherwise, draw the next static LSP.
7 From the Protocols > MPLS menu, choose Update LSP Details to configure label
switching information on the LSP(s).
End of Procedure 6-3
6MPLS Model User Guide Specialized Models User Guide
SPM-6-24 Modeler/Release 10.5
Creating FECs and Traffic Trunks
The traffic engineering bindings that govern how packets are labeled and
forwarded in a network use FECs and traffic trunks to classify packets. All of the
FECs and traffic trunks in a network are defined in the MPLS configuration
object.
Procedure 6-4 Creating FECs
1 Place an MPLS configuration object in the project workspace and open its
Attributes dialog box.
2 Double-click on the value for FEC Specifications.
The FEC Specifications Table appears.
3 Change the Rows value to the number of FECs you want to create.
4 For each FEC, assign a name, then double-click in the Details column to describe
the FEC.
End of Procedure 6-4
To work correctly, the model requires that you set up at least one default traffic
trunk. Additional trunks can be used to handle prioritized flows.
Procedure 6-5 Creating a Default Traffic Trunk
1 Place an MPLS configuration object in the project workspace and open its
Attributes dialog box.
2 Double-click on the value for Traffic Trunk Profiles.
The Traffic Trunk Profiles Table appears.
3 Change the Rows value to 1.
4 Specify a name for the trunk, such as Default Traffic Trunk.
5 Leave the Trunk Details attribute as Default.
End of Procedure 6-5
This procedure can be modified to set up separate trunks for traffic of different
priorities. To do this, double-click on the Trunk Details attribute and specify the
appropriate values for each traffic trunk.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-25
Creating TE Bindings on LERs
After you create the LSPs, FECs, and traffic trunks, you can create TE bindings
that govern which packets are sent to which LSPs. You do this in the LERs
MPLS Parameters Traffic Mapping Configuration attribute.
Procedure 6-6 Creating a TE Binding
1 Open the LERs Traffic Mapping Configuration attribute dialog box (MPLS
Parameters Traffic Mapping Configuration).
2 Add a row to the table.
3 Click in the Interface In column and specify which interfaces the binding applies
to in the Interface Binding Specification table. To select an interface, click in the
Apply Binding column for that interface to toggle the value to Yes.
The interface(s) you selected appear in the Traffic Mapping Configuration dialog
box. Note that the interface number for higher layers corresponds to the routers
loopback interface.
4 Select a FEC for the binding from the FEC pull-down menu.
5 Select a traffic trunk for the binding from the Traffic Trunk pull-down menu.
6 Click in the LSP column to specify the primary and backup LSPs.
End of Procedure 6-6
6MPLS Model User Guide Specialized Models User Guide
SPM-6-26 Modeler/Release 10.5
Exporting LSP Configuration Details for Use in Other Scenarios
You can reuse LSPs that you have configured elsewhere by exporting the LSP
configuration details to an ASCII file and using this file to create LSPs in the
network.
Procedure 6-7 Exporting LSP Configuration to an ASCII File
1 From the Protocols > MPLS menu, choose Browse/Edit LSP Information....
The LSP Browser appears.
2 Click Export to export the LSP configuration for all LSPs to a file.
The Output File Name dialog box appears.
3 Specify a name for the file.
4 Click OK to perform the export.
The file is saved in the primary models directory.
5 Click Cancel to close the LSP Browser.
End of Procedure 6-7
The exported file contains the attribute settings of all LSPs in the network. You
can use the file as is in other scenarios, or you can modify the file to add,
remove, or change LSPs. Notice that the LSP configuration file closely
resembles the Path Details table for each LSP.
Procedure 6-8 Using an LSP Configuration File in a Scenario
1 Open the MPLS Configuration objects Attributes dialog box.
2 Select the LSP configuration file you wish to import from the LSP Specification File
pull-down menu.
3 Click OK to close the Attributes dialog box.
The LSPs are added to the scenario. By default, LSPs from files are not
displayed in the network. To display these LSPs, open the LSP browser and set
their Display attributes to Yes.
End of Procedure 6-8
If you are using an LSP configuration file in your network, any changes to LSPs
that you make in the LSP browser are subsequently written to the configuration
file when you click OK to close the browser.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-27
Applying QoS to an MPLS Network Model
Differential Services (DiffServ) extensions can be used to apply
quality-of-service constraints to your MPLS network model. To do this, you must
configure QoS do the following:
Specify traffic classes in the MPLS configuration object
Adjust DSCP settings in the QoS configuration object
Configure queuing schemes and profiles on the affected routers
To use different traffic classes in your MPLS network, you must first specify
separate traffic trunks for the different classes in the MPLS configuration object.
To do this, use Procedure 6-5 on page SPM-6-24 to create a default traffic
trunk. However, instead of setting the Trunk Details attribute to Default,
double-click to set the traffic profile, out-of-profile actions, and traffic class of
each trunk.
To configure quality-of-service parameters, edit the Priority Queuing Profiles
DSCP Based attribute in the QoS configuration object.
Finally, you must configure the affected routers to use the correct queueing
scheme and queuing profile.
Procedure 6-9 Configuring the Queuing Stream and Profile of a Router
1 Set the Queuing Scheme attribute (IP Routing Parameters Interface
Information QoS Information)
2 Set the Queuing Profile attribute to DSCP Based.
End of Procedure 6-9
6MPLS Model User Guide Specialized Models User Guide
SPM-6-28 Modeler/Release 10.5
If you change the queuing scheme later, make sure you reset the queuing profile
because the order of these steps is important.
Figure 6-15 Configuring QoS on an LER
Always set the Queuing
Scheme before setting
the Queuing Profile.
Specialized Models User Guide 6MPLS Model User Guide
Modeler/Release 10.5 SPM-6-29
MPLS Menu Operations
The Protocols > MPLS menu enables you to configure, edit, and display MPLS
features in the network topology. With the MPLS menu operations, you to
streamline the MPLS configuration process. Table 6-7 lists the operations
available from the Project Editors Protocols > MPLS menu.
Table 6-7 MPLS Menu Summary
Menu Item Description
Update LSP Details Updates all static LSPs with label switching
information.
Configure LSPs from Demands Creates dynamic LSPs between all traffic flows.
Browse/Edit LSP Information... Opens the LSP browser.
Import LSP Information... Imports LSP information from files.
Display LSP Routes... Displays the routes chosen by CR-LDP. Does not
display link statistic information.
Hide all LSP Routes... Hides LSP route display.
Show All LSPs Displays hidden LSPs in the workspace. This
operation does not display LSPs which are configured
only in the LSP configuration file. To display those
LSPs, use the display functions in the LSP browser.
Hide All LSPs Hides LSPs displayed in the project workspace from
view.
Clear All LSPs Deletes all LSPs in the network and resets the traffic
mapping configuration.
Deploy MPLS VPNs
Configure Interface Status Enables/disables MPLS protocol status on either
selected or all routers.
Model User Guide Opens this document.
End of Table 6-7
6MPLS Model User Guide Specialized Models User Guide
SPM-6-30 Modeler/Release 10.5
Information for OPNET Modeler Users
The rest of this document contains information for model developers (such as
OPNET Modeler users). The following sections describe the topics necessary
for understanding the internal details of and interfacing to the MPLS model.
Model Architecture
Each node that can use MPLS has an IP module, which contains a dispatcher
process that spawns MPLS processes. The following table lists the process
models used by the MPLS model.
Table 6-8 MPLS Process Models
Process model Description
mpls_mgr One instance of this process is spawned by ip_dispatch on
each MPLS enabled node in the network. It represents the
forwarding component of MPLS and the forwarding control
plane.
When the IP module of an LSR receives labeled packets or
packets with matching FEC descriptions, it performs no IP
processing on the packet. Instead, the packet is re-directed to
the mpls_mgr process for MPLS forwarding.
mpls_mgr uses ILM (incoming label map) and FTN (FEC to
NHLFE maps) to forward packets.
mpls_ldp_mgr Implements the LDP control plane in the LDP module of all
routers. This process is the dispatcher for the
mpls_discovery_mgr, mpls_session_mgr, and mpls_lsp_mgr
processes.
mpls_discovery_mgr Sends periodic broadcast hello messages over UDP to
discover MPLS-enabled neighbor routers.
mpls_session_mgr Negotiates, opens, and maintains TCP sessions to neighboring
LDP routers. The TCP sessions are used to exchange label
maps. This process is based on RFC 3036.
mpls_lsp_mgr Controls the exchange-to-label mappings between LDP peers.
Communication with LDP peers occurs through the session
established by the mpls_session_mgr process. This process is
based on RFC 3036.
End of Table 6-8

You might also like