Top Banner
Specialized Models User Guide 6—MPLS 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
30
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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

Modeler/Release 10.5 SPM-6-1

Page 2: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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-2702—Requirements for Traffic Engineering Over MPLS

FECs RFC-3031—Multiprotocol Label Switching Architecture

IGP shortcuts draft-hsmit-mpls-igp-spf-00

Label Switched Paths

Dynamic LSPsStatic LSPs

RFC-3031—Multiprotocol Label Switching Architecture

LSP routing

OSPF TEIS-IS TE

RFC-2676—QoS Routing and OSPF Extensions

Label distribution

LDP RFC-3036—LDP Specification

CR-LDP RFC-3212—Constraint-based LSP Setup Using LDP

RSVP-TE RFC-3209—RSVP-TE: Extensions to RSVP for LSP Tunnels

PP-VPNs

A framework for layer-3 PP VPNs RFC-2547—BGP/MPLS VPNs

BGP/MPLS VPNs draft-ietf-ppvpn-framework-05

Quality of Service

QOS Architecture RFC-2475—An Architecture for Differentiated Services

SPM-6-2 Modeler/Release 10.5

Page 3: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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-3270—Multi Protocol Label Switchingdraft-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 DCIVNESImport NTDR1, 2 FLAN3 DES

Per Node Settings:

MPLS Status Y Y4 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 Y5 Y N Y Y

Traffic Mapping Configuration: Interface In Y N N N N Y

Traffic Mapping Configuration: FEC/Destination Prefix Y Y6 Y N N Y

Traffic Mapping Configuration: TrafficTrunk Y N N N N Y

Traffic Mapping Configuration: LSP, Primary LSPs Y Y7 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

Modeler/Release 10.5 SPM-6-3

Page 4: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

Traffic Mapping Configuration: LSP, LSP Name Y N N N N Y

Traffic Assignment Mode Y Y8 N N Y N

Resource Class Configuration: Bit Number Y Y9 Y N Y Y

Resource Class Configuration: Name Y Y9 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 DCIVNESImport NTDR1, 2 FLAN3 DES

SPM-6-4 Modeler/Release 10.5

Page 5: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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 Y10 Y N Y Y

Supported Resource Classes Y Y Y N Y Y

Bypass Tunnel Configuration Y Y11 Y N N Y

Bypass Tunnel Configuration: LSP Name Y Y11 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 DCIVNESImport NTDR1, 2 FLAN3 DES

Modeler/Release 10.5 SPM-6-5

Page 6: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

Source Address Y Y Y N Y Y

Destination Address Y Y Y N Y Y

Announce IGP Shortcuts (Autoroute Announce) Y Y12 Y N Y Y

Background Flow Y N N N N N

CSPF Equal Cost Path Selection Y Y13 Y N Y N

Hot Standby Y N N N N N

LSP Metric: Type Y Y14 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 Y15 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 Y16 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 Y17 Y N Y N

TE Parameters: Preference Y Y18 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 Y19 N N Y N

Configured Paths: TE Parameters, Max Delay Y N N N N N

Configured Paths: TE Parameters, Hop Limit Y Y19 N N Y N

Table 6-3 MPLS Traffic Engineering Supported Feature List (Part 4 of 5)

Feature

Supported in OPNET Products

Attributes DCIVNESImport NTDR1, 2 FLAN3 DES

SPM-6-6 Modeler/Release 10.5

Page 7: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

Configured Paths: TE Parameters, Resource Class String A

Y Y19 N N Y N

Configured Paths: TE Parameters, Resource Class String B

Y Y19 N N Y N

Configured Paths: TE Parameters, Class of Service Y Y19 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 Y20 Y N N/A Y

Recovery Parameters: Number of Attempts Y Y21 Y N N/A Y

Recovery Parameters: Fast Reroute Configuration, Fast Reroute Status

Y Y Y N Y22 Y22

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 DCIVNESImport NTDR1, 2 FLAN3 DES

Modeler/Release 10.5 SPM-6-7

Page 8: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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 DCIVNESImport NTDR1 FLAN2 DES

Per Node Settings:

Discovery Configuration: Link Hellos (status) Y Y3 Y N N Y

Discovery Configuration: Link Hello Message Interval Y Y3 Y N N Y

Discovery Configuration: Link Hello Hold Time Y Y3 Y N N Y

Discovery Configuration: Targeted Hellos (status) Y Y3 Y N N N

Discovery Configuration: Targeted Hello Message Interval Y Y3 Y N N N

Discovery Configuration: Targeted Hello Hold Time Y Y3 Y N N N

Discovery Configuration: Targeted Hello Receive Filters Y Y3 Y N N N

Session Configuration: Keepalive Interval Y Y4 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

SPM-6-8 Modeler/Release 10.5

Page 9: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

Table 6-5 lists the supported IP/VPN features for each technology.

Advertisement Policies: Import Policies Y Y5 Y N N N

Per Interface Settings: Y

Status Y Y Y N Y N

Discovery Configuration: Hello Interval Y Y6 Y N Y N

Discovery Configuration: Hello Holdtime Y Y6 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 DCIVNESImport NTDR1 FLAN2 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 DCIVNESImport NTDR1 FLAN2 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 Y3 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 Y4 Y N5 Y Y

Static Routing Parameters: Subnet Mask Y Y4 Y N5 Y Y

Static Routing Parameters: Next Hop Y Y4 Y N5 Y Y

Static Routing Parameters: Administrative Weight Y Y Y N5 Y Y

Modeler/Release 10.5 SPM-6-9

Page 10: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

Table 6-6 lists the supported BGP/VPN features for each technology.

Static Routing Parameters: VRF Name Y Y4 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 DCIVNESImport NTDR1 FLAN2 DES

Table 6-6 BGP Features that Support VPNs

BGP Features that Support VPNs

Supported in OPNET Products

Attributes DCIVNESImport NTDR1 FLAN2 DES

Per Neighbor Settings:

Address Family Y Y Y N Y N

IP Address Y Y Y N3 Y Y

Remote AS Y Y Y N3 Y Y

VRF Name Y Y Y N Y Y

Per Node Settings: Y

Static Route Redistribution VRF Parameters: Address Family

Y Y4 N N Y N

Static Route Redistribution VRF Parameters: VRF Name Y Y4 Y N3 Y N

Static Route Redistribution VRF Parameters: Metric Y Y4 Y N Y N

Static Route Redistribution VRF Parameters: Route Map Y Y4 N N3 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.

SPM-6-10 Modeler/Release 10.5

Page 11: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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 fields—ToS, 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.

Modeler/Release 10.5 SPM-6-11

Page 12: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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.

SPM-6-12 Modeler/Release 10.5

Page 13: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

• 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.

Modeler/Release 10.5 SPM-6-13

Page 14: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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.

SPM-6-14 Modeler/Release 10.5

Page 15: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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 binding’s 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 Parameters—specifies Label Distribution Protocol parameters used by the LSR. LDP Parameters is a compound attribute, composed of the following sub-attributes:

— Discovery Configuration—specifies Hello message parameters needed to learn of neighboring routers

— Session Configuration—specifies Keep-alive message parameters used to establish LDP sessions

— Recovery Configuration—specifies 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.

Modeler/Release 10.5 SPM-6-15

Page 16: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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 Routing—specifies if CR-LDP routing uses CSPF or conventional IGP to determine routes in loosely defined LSPs. The default value is IGP.

• CSPF Retry Timer—specifies 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 Time—specifies 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 Time—specifies 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 Protocol—specifies whether dynamic LSPs are signaled using CR-LDP (constraint-based routed LDP) or RSVP. The default value is CR-LDP.

SPM-6-16 Modeler/Release 10.5

Page 17: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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 LSP’s Attributes

• Directionality—specifies if an LSP is unidirectional or bidirectional. Dynamic LSPs are always unidirectional.

• LSP Type—specifies 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 Details—specifies 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 Parameters—specifies recovery parameters that are used to reroute traffic on this LSP if there is a link or node failure along the LSP.

Modeler/Release 10.5 SPM-6-17

Page 18: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

Figure 6-10 Recovery Parameters Configuration

• Setup Parameters—specifies the duration of the LSP.

Figure 6-11 Setup Parameters Configuration

• TE Parameters—specifies 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

SPM-6-18 Modeler/Release 10.5

Page 19: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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 LSP’s Path Details and Setup, TE, and Recovery Parameters attributes.

Clicking here toggles the display settings—the 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.

Modeler/Release 10.5 SPM-6-19

Page 20: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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.

SPM-6-20 Modeler/Release 10.5

Page 21: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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.

Modeler/Release 10.5 SPM-6-21

Page 22: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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 LSP’s 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 LSP’s 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 LSP’s 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

SPM-6-22 Modeler/Release 10.5

Page 23: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

Constrained OSPF (CSPF) is used to implement constraint-based routing of LSPs. You can configure dynamic LSPs to use constraint-based routing in the LSP’s 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 LSP’s 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

Modeler/Release 10.5 SPM-6-23

Page 24: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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.

SPM-6-24 Modeler/Release 10.5

Page 25: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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 LER’s MPLS Parameters ➘ Traffic Mapping Configuration attribute.

Procedure 6-6 Creating a TE Binding

1 Open the LER’s 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 router’s 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

Modeler/Release 10.5 SPM-6-25

Page 26: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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 object’s 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.

SPM-6-26 Modeler/Release 10.5

Page 27: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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

Modeler/Release 10.5 SPM-6-27

Page 28: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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.

SPM-6-28 Modeler/Release 10.5

Page 29: MPLS Model User Guide

Specialized Models User Guide 6—MPLS Model User Guide

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 Editor’s 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

Modeler/Release 10.5 SPM-6-29

Page 30: MPLS Model User Guide

6—MPLS Model User Guide Specialized Models User Guide

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

SPM-6-30 Modeler/Release 10.5