© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-1 MPLS TE Overview Configuring MPLS TE on Cisco IOS Platforms
Mar 30, 2015
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-1
MPLS TE Overview
Configuring MPLS TE on Cisco IOS Platforms
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-2
Outline
• Overview
• MPLS TE Configuration Road Map
• Enabling Device-Level MPLS TE Support
• Enabling MPLS TE Support in IS-IS
• Enabling MPLS TE Support in OSPF
• Enabling Basic MPLS TE on an Interface
• Creating and Configuring a Traffic Tunnel
• Mapping Traffic into Tunnels with Autoroute
• Summary
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-3
MPLS TE Configuration Road Map
• Use device supporting MPLS.
– Implement ip cef global configuration command.
• Use IGP supporting MPLS TE.
– OSPF
– IS-IS
• Enable MPLS TE tunnels.
– Configure mpls traffic-eng tunnels (global configuration mode).
– Configure mpls traffic-eng tunnels (interface configuration mode).
• Create and configure traffic tunnels.
• Deploy traffic tunnels with autoroute.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-4
ip cef
router(config)#
• Enables IP CEF switching
Enabling Device-Level MPLS TE Support
mpls traffic-eng tunnels
router(config)#
• Enables the MPLS TE tunnel feature on a device
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-5
Implementing Device-Level MPLS TE Support
ip cef [distributed]mpls traffic-eng tunnels
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-6
Enabling MPLS TE Support in IS-IS
mpls traffic-eng {level-1 | level-2}
router(config-router)#
• Turns on MPLS traffic engineering for IS-IS Level 1 or Level 2
mpls traffic-eng router-id {interface}
router(config-router)#
• Specifies the interface to be associated with the TE router identifier (also endpoint of a tunnel)
metric-style wide
router(config-router)#
• Configures a router to generate and accept only new-style TLV objects
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-7
Implementing MPLS TE Support in IS-IS
ip cefmpls traffic-eng tunnels
router isis mpls traffic-eng router-id Loopback0 mpls traffic-eng level-2 metric wide
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-8
Enabling MPLS TE Support in OSPF
mpls traffic-eng area area-num
router(config-router)#
• Turns on OSPF traffic engineering for the area
mpls traffic-eng router-id interface
router(config-router)#
• Specifies the interface to be associated with the TE router identifier (also endpoint of a tunnel)
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-9
Implementing MPLS TE Support in OSPF
ip cefmpls traffic-eng tunnels
router ospf 101 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-10
ip rsvp bandwidth [interface-kbps [single-flow-kbps]]
router(config-if)#
• Enables RSVP for IP on an interface and specify amount of bandwidth to be reserved
Enabling Basic MPLS TE on an Interface
mpls traffic-eng tunnels
router(config-if)#
• Enables the MPLS TE tunnel feature on an interface
mpls ip
router(config-if)#
• Enables MPLS on an interface
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-11
Implementing Basic MPLS TE on an Interface
ip cefmpls traffic-eng tunnels
router isis mpls traffic-eng router-id Loopback0 mpls traffic-eng level-1 metric wide
interface serial 0/0 mpls ip mpls traffic-eng tunnels ip rsvp bandwidth 128
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-12
ip unnumbered type number
• Enables IP on the interface, and brings it up without a unique IP address
router(config-if)#
Creating a Tunnel
interface tunnel number
router(config)#
• Configures a tunnel interface
tunnel destination ip-address
• Specifies the destination for the tunnel
• The tunnel source command is not needed.
router(config-if)#
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-13
Example: Creating a Tunnel Interface
...interface tunnel 0 ip unnumbered loopback 0 tunnel destination 10.1.1.2
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-14
tunnel mpls traffic-eng bandwidth bandwidth
• Configures the requested bandwidth for the MPLS TE tunnel
tunnel mode mpls traffic-eng
• Sets the tunnel encapsulation mode to MPLS TE
Creating and Configuring a Traffic Tunnel
router(config-if)#
router(config-if)#
router(config-if)#
tunnel mpls traffic-eng priority setup-priority [hold-priority]
• Configures the setup and reservation priority for an MPLS TE tunnel
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-15
Creating and Configuring a Traffic Tunnel (Cont.)
tunnel mpls traffic-eng path-option number {dynamic | explicit {name path-name | path-number}} [lockdown]
router(config-if)#
• Configures the tunnel to use a named IP explicit path or a path dynamically calculated from the TE topology database
ip explicit-path {name word | identifier number} [{enable | disable }]
router(config)#
• Enters the subcommand mode for IP explicit paths and creates or modifies the specified path
next-address ip-address
router(cfg-ip-expl-path)#
• Specifies the next IP address in the explicit path
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-16
tunnel mpls traffic-eng autoroute announce
router(config-if)#
• Causes the IGP to use the tunnel in its enhanced SPF
Deploying Traffic Tunnels with Autoroute
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-17
Example: Configuring TE Options on a Tunnel Interface
ip explicit-path name via_P1 enable next-address 10.1.1.12 next-address 10.1.1.2 interface tunnel 0 ip unnumbered Loopback0 tunnel destination 10.1.1.2 tunnel mode mpls traffic-eng tunnel mpls traffic-eng priority 3 3 tunnel mpls traffic-eng bandwidth 128 tunnel mpls traffic-eng path-option 1 explicit name via_P1 tunnel mpls traffic-eng autoroute announce
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-18
Summary
• Required tasks to implement TE in a MPLS VPN network include:– Enabling device-level MPLS TE support on PE and P
routers
– Enabling MPLS TE support in an IS-IS environment on PE and P routers
– Enabling MPLS TE support in an OSPF environment on PE and P routers
– Enabling MPLS TE on an interface on PE and P routers
– Creating and configuring a traffic tunnel on ingress PE router
– Enabling traffic tunnels with autoroute in ingress PE router
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—8-19