1974 chp8ONLba
1974 chp8ONLba
0 bandwidth
Setup and holding priority of 7
Afnity bits 0x0/0xFFFF
You can see the created auto tunnels with the command
show mpls trafc-eng tunnels brief
.
Backup Auto Tunnels
The sections on fast rerouting for link and node protection must have made it clear to you that to
protect the TE LSPs completely, you must congure several backup tunnels. This is a tedious task,
and it is easy to make errors. That is why backup auto tunnels are created automatically for TE
tunnels that have fast rerouting enabled. Both NHOP and NNHOP backup auto tunnels are created
to protect links and nodes. The backup auto tunnels are created as soon as the following occurs:
The rst RSVP RESV message is seen.
A PATH message requesting protection for an established TE LSP is seen.
The RRO changes.
1974_chp8ONLba.fm Page 707 Tuesday, November 14, 2006 9:58 AM
Auto Tunnels
708
Look at Figure 8-1. Assuming that backup auto tunnels is only enabled on the router brussels and
one TE tunnel is set up from the router brussels to the router rome, brussels creates one NHOP and
NNHOP backup auto tunnel, protecting the link brussels-berlin and the node berlin. Example 8-3
shows an example of these two backup auto tunnels. To enable backup auto tunnels, congure the
global command
mpls trafc-eng auto-tunnel backup
.
Figure 8-1
Backup Auto Tunnels Example
Example 8-3
Example of Backup Auto Tunnels
mpls traffic-eng auto-tunnel backup
brussels#
sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s bbb brrr riii ieee efff f
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
auto-tunnel:
backup Enabled (2 ), id-range:65436-65535
onehop Disabled (0 ), id-range:65336-65435
mesh Disabled (0 ), id-range:64336-65335
Periodic reoptimization: every 3600 seconds, next in 3371 seconds
Periodic FRR Promotion: Not Running
Periodic auto-tunnel:
backup notinuse scan: every 3600 seconds, next in 2940 seconds
Periodic auto-bw collection: disabled
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
brussels_t1 10.200.254.6 - PO10/3 up/up
brussels_t1000 10.200.254.5 - unknown admin-down
brussels_t2000 10.200.254.6 - unknown admin-down
brussels_t65436 10.200.254.5 - PO10/1 up/up
brussels_t65437 10.200.254.6 - PO10/1 up/up
Displayed 5 (of 5) heads, 0 (of 0) midpoints, 0 (of 0) tails
frankfurt
brussels paris berlin
POS 10/1
POS 10/3
10.200.212.2
10.200.210.2 10.200.211.2 10.200.215.2 10.200.202.2
Loopback 0
10.200.254.5/32
10.200.214.2
Loopback 0
10.200.254.6/32
rome sydney
NNHOP Backup Tunnel
NHOP Backup Tunnel
continues
1974_chp8ONLba.fm Page 708 Tuesday, November 14, 2006 9:58 AM
709 Chapter 8: MPLS Traffic Engineering
By default, high tunnel numbers (65,436 to 65,535) are chosen for the backup auto tunnels. If you
wish, you can change the range for the backup auto tunnels with the command mpls trafc-eng
auto-tunnel backup tunnel-num min num max num.
For every link that at least one TE tunnel crosses with fast rerouting enabled, an NHOP backup
auto tunnel is created to protect the link. For every node that at least one TE tunnel crosses with
fast rerouting enabled, an NNHOP backup auto tunnel is created to protect the node. You can
specify that you want only NHOP backup auto tunnels to be created with the command mpls
brussels#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 666 6555 5444 4333 3666 6
Name: brussels_t65436 (Tunnel65436) Destination: 10.200.254.5
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit __dynamic_tunnel65436 (Basis for Setup, path weight 11)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : POS10/1, 25
RSVP Signalling Info:
Src 10.200.254.3, Dst 10.200.254.5, Tun_Id 65436, Tun_Instance 1
RSVP Path Info:
My Address: 10.200.254.3
Explicit Route: 10.200.212.2 10.200.213.2 10.200.254.5
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 1 (TE)
Explicit Route: 10.200.211.2 10.200.254.5
History:
Tunnel:
Time since created: 11 minutes, 24 seconds
Time since path change: 11 minutes, 25 seconds
Current LSP:
Uptime: 11 minutes, 25 seconds
Example 8-3 Example of Backup Auto Tunnels (Continued)
1974_chp8ONLba.fm Page 709 Tuesday, November 14, 2006 9:58 AM
Auto Tunnels 710
trafc-eng auto-tunnel backup nhop-only. That way, backup auto tunnels do not provide FRR
node protection.
Backup auto tunnels do not have autoroute announce enabled. This ensures that they are used only
for link or node protection and do not attract trafc.
Primary Auto Tunnels
Primary auto tunnels are one-hop-only tunnels that the LSR creates automatically for each link
where MPLS TE is enabled. These tunnels have autoroute announce enabled, so they attract IP
trafc. Because these are one-hop tunnels, the outgoing label is always implicit NULL. No label
is imposed upon the trafc that is forwarded into the tunnel. The global command to enable
primary auto tunnels is mpls trafc-eng auto-tunnel primary onehop. Because these tunnels are
one-hop only, they map exactly to the link. As such, the routing is no different from when these
primary tunnels are not there. Primary auto tunnels request FRR protection. Therefore, when
primary auto tunnels are combined with backup auto tunnels, the primary auto tunnels are
protected by NHOP backup auto tunnels, providing FRR link protection. Example 8-4 shows
primary auto tunnels. Because two outgoing links (pos 10/1 and pos 10/3) are enabled for MPLS
TE, there are two primary auto tunnels. Because backup auto tunnels is also enabled, there is one
backup auto tunnel for each primary auto tunnel.
Example 8-4 Primary Auto Tunnels
mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo o--- -ttt tuuu unnn nnnn neee elll l bbb baaa accc ckkk kuuu uppp p
mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo o--- -ttt tuuu unnn nnnn neee elll l ppp prrr riii immm maaa arrr ryyy y ooo onnn neee ehhh hooo oppp p
brussels#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s bbb brrr riii ieee efff f
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
auto-tunnel:
backup Enabled (3 ), id-range:65436-65535
onehop Enabled (2 ), id-range:65336-65435
mesh Disabled (0 ), id-range:64336-65335
Periodic reoptimization: every 3600 seconds, next in 1086 seconds
Periodic FRR Promotion: Not Running
Periodic auto-tunnel:
primary establish scan: every 10 seconds, next in 9 seconds
primary rm active scan: disabled
backup notinuse scan: every 3600 seconds, next in 1678 seconds
Periodic auto-bw collection: disabled
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
brussels_t1 10.200.254.6 - PO10/1 up/up
brussels_t1000 10.200.254.5 - unknown admin-down
continues
1974_chp8ONLba.fm Page 710 Tuesday, November 14, 2006 9:58 AM
711 Chapter 8: MPLS Traffic Engineering
Example 8-5 shows that the primary auto tunnel 65336 has autoroute announce on and that the
backup auto tunnel 65437 protects it. Notice that the outgoing label is implicit NULL for the
primary auto tunnel.
brussels_t2000 10.200.254.6 - unknown admin-down
brussels_t65336 10.200.254.5 - PO10/3 up/up
brussels_t65337 10.200.254.4 - PO10/1 up/up
brussels_t65436 10.200.254.4 - PO10/3 up/up
brussels_t65437 10.200.254.5 - PO10/1 up/up
brussels_t65438 10.200.254.6 - PO10/3 up/up
Displayed 8 (of 8) heads, 0 (of 0) midpoints, 0 (of 0) tails
Example 8-5 Protection of Primary Auto Tunnel
brussels#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 666 6555 5333 3333 3666 6
Name: brussels_t65336 (Tunnel65336) Destination: 10.200.254.5
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit __dynamic_tunnel65336 (Basis for Setup, path weight 1)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : POS10/3, implicit-null
RSVP Signalling Info:
Src 10.200.254.3, Dst 10.200.254.5, Tun_Id 65336, Tun_Instance 1
RSVP Path Info:
My Address: 10.200.254.3
Explicit Route: 10.200.211.2 10.200.254.5
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: 10.200.211.2(0)
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 1 (TE)
Explicit Route: 10.200.211.2 10.200.254.5
History:
Tunnel:
Example 8-4 Primary Auto Tunnels (Continued)
1974_chp8ONLba.fm Page 711 Tuesday, November 14, 2006 9:58 AM
Auto Tunnel Mesh Groups 712
By default, high numbers (65,336 to 65,435) are chosen for the primary auto tunnels. If you want
to, you can change the range for the primary auto tunnels with the command mpls trafc-eng
auto-tunnel primary tunnel-num min num max num.
Because primary auto tunnels are one-hop tunnels, only NHOP backup tunnels, not NNHOP
backup tunnels, can protect them.
Auto Tunnel Mesh Groups
The feature Auto Tunnel Mesh Groups makes it possible to build a mesh of TE tunnels between
LSRs, with minimal conguration. LSRs are congured to be part of a mesh group by means of
an access list. The TE tunnels are not created individually, but an auto-template interface is
created. All TE tunnels that are part of the mesh group inherent their features from this template.
(This means they are cloned from the template interface.) The great benet of this feature is that
when a new LSR is congured to be part of this mesh, you do not need to congure TE tunnels to
all the other LSRs, which are part of the mesh. The TE tunnels are created automatically as they
are cloned from the template interface. To make an LSR member of a mesh group, you must
perform the following three steps:
Enable auto tunnel mesh groups.
Create an access list.
Create the auto-template.
Time since created: 1 minutes, 17 seconds
Time since path change: 1 minutes, 17 seconds
Current LSP:
Uptime: 1 minutes, 17 seconds
brussels#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 666 6555 5333 3333 3666 6 ppp prrr rooo ottt teee eccc cttt tiii iooo onnn n
brussels_t65336
LSP Head, Tunnel65336, Admin: up, Oper: up
Src 10.200.254.3, Dest 10.200.254.5, Instance 1
Fast Reroute Protection: Requested
Outbound: FRR Ready
Backup Tu65437 to LSP nhop
Tu65437: out i/f: PO10/1, label: 25
LSP signalling info:
Original: out i/f: PO10/3, label: implicit-null, nhop: 10.200.211.2
With FRR: out i/f: Tu65437, label: implicit-null
LSP bw: 0 kbps, Backup level: any-unlim, type: any pool
Example 8-5 Protection of Primary Auto Tunnel (Continued)
1974_chp8ONLba.fm Page 712 Tuesday, November 14, 2006 9:58 AM
713 Chapter 8: MPLS Traffic Engineering
You must globally enable mesh groups with the command mpls trafc-eng auto-tunnel mesh.
The access list is a standard access list, indicating MPLS TE router IDs (tunnel destination IP
addresses) of LSRs that are part of the mesh group. The router must try to establish auto tunnels
to the LSRs for which their MPLS TE router ID matches the access list. The auto-template
interface is an interface that you must congure on the router and assign the TE features of
bandwidth, afnity, and so on to. After the TE tunnels are created, their characteristics are cloned
from this interface. Example 8-6 shows a mesh group. The brussels, paris, and london routers are
part of an auto tunnel mesh group. Each router is the head end of two TE tunnels, one toward each
other router in the mesh group.
Example 8-6 Auto Tunnel Mesh Group
mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo o--- -ttt tuuu unnn nnnn neee elll l mmm meee esss shhh h
!!! !
iii innn nttt teee errr rfff faaa accc ceee e AAA Auuu uttt tooo o--- -TTT Teee emmm mppp plll laaa attt teee e111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n aaa accc cccc ceee esss ssss s--- -lll liii isss sttt t 999 9999 9
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo orrr rooo ouuu uttt teee e aaa annn nnnn nooo ouuu unnn nccc ceee e
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 111 1 ddd dyyy ynnn naaa ammm miii iccc c
!!! !
aaa accc cccc ceee esss ssss s--- -lll liii isss sttt t 999 9999 9 ppp peee errr rmmm miii ittt t 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .000 0 000 0... .000 0... .000 0... .333 3
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s bbb brrr riii ieee efff f
Signalling Summary:
LSP Tunnels Process: running
RSVP Process: running
Forwarding: enabled
auto-tunnel:
backup Disabled (0 ), id-range:65436-65535
onehop Disabled (0 ), id-range:65336-65435
mesh Enabled (2 ), id-range:64336-65335
Periodic reoptimization: every 3600 seconds, next in 3291 seconds
Periodic FRR Promotion: Not Running
Periodic auto-bw collection: every 300 seconds, next in 291 seconds
TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT
paris_t64336 10.200.254.1 - Et1/1 up/up
paris_t64337 10.200.254.3 - PO4/0 up/up
london_t64336 10.200.254.2 Et1/1 - up/up
london_t64337 10.200.254.3 Et1/1 PO4/0 up/up
brussels_t64336 10.200.254.1 PO4/0 Et1/1 up/up
brussels_t64337 10.200.254.2 PO4/0 - up/up
Displayed 2 (of 2) heads, 2 (of 2) midpoints, 2 (of 2) tails
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo o--- -ttt tuuu unnn nnnn neee elll l mmm meee esss shhh h
1974_chp8ONLba.fm Page 713 Tuesday, November 14, 2006 9:58 AM
Automatic Bandwidth Adjustment for TE Tunnels 714
By default, high numbers (64,336 to 65,335) are chosen for the mesh group auto tunnels. If you
wish, you can change the range for the mesh group auto tunnels with the command mpls trafc-
eng auto-tunnel mesh tunnel-num min num max num.
Automatic Bandwidth Adjustment for TE Tunnels
The required bandwidth for a TE tunnel is 0, or a value you congure on the tunnel head end
router. You can also let Cisco IOS decide dynamically what the required bandwidth of the tunnel
is. This is done by letting the head end router sample the average output load of the TE tunnel
during a period of time. The command to congure this on the TE tunnel interface is as follows:
Router(config)#mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo o--- -bbb bwww w [ccc cooo olll llll leee eccc cttt t--- -bbb bwww w] [fff frrr reee eqqq quuu ueee ennn nccc cyyy y sec] [mmm maaa axxx x--- -bbb bwww w n][mmm miii innn n--- -
bbb bwww w n]
The default interval is 300 seconds, or 5 minutes. You can change it by conguring a different
frequency. To limit the range of bandwidth, you can specify a minimum and maximum amount of
bandwidth in kilobits per seconds to apply to the tunnel. The collect-bw keyword enables you to
specify that the average output rate should be collected without having Cisco IOS actually
changing the bandwidth of the TE tunnel. You can run the TE tunnels like this for days or weeks
before letting the head end routers change the bandwidth automatically. Example 8-7 shows a TE
tunnel where bandwidth adjustment is enabled. Note that the conguration on the TE tunnel
interface (the mpls trafc-eng bandwidth command) changes to reect the actual bandwidth
reserved. This change is in the running conguration, but not in startup conguration.
Auto-Template1:
Using access-list 99 to clone the following tunnel interfaces:
Destination Interface
----------- ---------
10.200.254.1 Tunnel64336
10.200.254.3 Tunnel64337
Mesh tunnel interface numbers: min 64336 max 65335
Example 8-7 Conguration of Automatic Bandwidth Adjustment
!!! !
iii innn nttt teee errr rfff faaa accc ceee e TTT Tuuu unnn nnnn neee elll l111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .555 5
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo orrr rooo ouuu uttt teee e aaa annn nnnn nooo ouuu unnn nccc ceee e
Example 8-6 Auto Tunnel Mesh Group (Continued)
Automatic Bandwidth Adjustment for TE Tunnels
1974_chp8ONLba.fm Page 714 Tuesday, November 14, 2006 9:58 AM
715 Chapter 8: MPLS Traffic Engineering
DiffServ-Aware TE
The TE tunnels that have been discussed so far are also called global pool TE tunnels. Sub-pool
tunnels are another kind. Sub-pool tunnels are differentiated from global pool TE tunnels in the
fact that the trafc they carry requires a stricter quality of service. This trafc is such that, for
example, it needs a strict delay or jitter along the total path or requires that no more than 20 percent
of the link bandwidth carries this trafc to ensure the correct level of quality of service (QoS) on
tunnel mpls traffic-eng bandwidth 435
tunnel mpls traffic-eng path-option 1 explicit name paris-rome
tunnel mpls traffic-eng fast-reroute
tunnel mpls traffic-eng auto-bw frequency 30
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 111 1
Name: paris_t1 (Tunnel1) Destination: 10.200.254.5
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit paris-rome (Basis for Setup, path weight 2)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 435 bw-based
auto-bw: (30/144) 0 Bandwidth Requested: 435
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
brussels#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g lll liii innn nkkk k--- -mmm maaa annn naaa aggg geee emmm meee ennn nttt t aaa addd dmmm miii isss ssss siii iooo onnn n--- -ccc cooo onnn nttt trrr rooo olll l ppp pooo osss s 111 1000 0/// /333 3
System Information::
Tunnels Count: 3
Tunnels Selected: 1
TUNNEL ID UP IF DOWN IF PRIORITY STATE BW (kbps)
10.200.254.2 1_805 PO10/2 PO10/3 7/7 Resv Admitted 435 RG
NOTE The trafc is not policed if the rate of the trafc that is going into the tunnel is higher
than the signaled bandwidth of the tunnel. This is true for an automatic bandwidth adjusted
tunnel and for any other TE tunnel.
Example 8-7 Conguration of Automatic Bandwidth Adjustment
1974_chp8ONLba.fm Page 715 Tuesday, November 14, 2006 9:58 AM
DiffServ-Aware TE 716
the links. This 20 percent is then the sub-pool of the global pool of bandwidth that is reservable
on a link. This trafc might be voice trafc or leased line trafc with specic QoS requirements.
You might have TE-enabled links that do not meet this QoS requirement and are therefore not
entitled to carry sub-pool tunnels even though they can still carry global pool tunnels.
Because the sub-pool tunnels can be routed in a different way from the global pool tunnels, they
can guarantee a particular QoS level. However, because the trafc needing this QoS requirement
is routed into a special sub-pool tunnel, it can inherit a particular DiffServ value. The Experimental
(EXP) bits in the labels of the trafc that is going into the sub-pool versus the global pool tunnels
can be set differently on the head end routers. You can use policy-based routing or Modular QoS
Command Line Interface (MQC) to perform this task. Then you can use the EXP bits value on the
routers to provide the proper QoS treatment on every link. For example, you can ensure that the
sub-pool TE trafc uses one particular DiffServ queue that no other trafc does. To recap: The
proper usage of sub-pool tunnels entails the following:
The trafc that is requiring the guaranteed QoS treatment is steered into the sub-pool tunnels
at the head end router.
The EXP bits are set to a particular value for the trafc using the sub-pool tunnels.
The sub-pool bandwidth values are set to a relative small value of the total bandwidth value
on the links.
By default, the interfaces that are enabled for MPLS TE and used for global pool tunnels have
reservable bandwidth advertised only for the global pool tunnels. You must use the ip rsvp
bandwidth command with the sub-pool keyword on the TE-enabled links to advertise bandwidth
for sub-pool tunnels:
iii ippp p rrr rsss svvv vppp p bbb baaa annn nddd dwww wiii iddd dttt thhh h kbps [sss suuu ubbb b--- -ppp pooo oooo olll l kpbs]
To congure the TE tunnel to be a sub-pool tunnel instead of a global pool tunnel, you must
congure the following command on the tunnel interface and specify the required bandwidth in
kbps:
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g bbb baaa annn nddd dwww wiii iddd dttt thhh h sss suuu ubbb b--- -ppp pooo oooo olll l bandwidth
For a global pool tunnel, you can specify 0 as the required bandwidth. For a sub-pool tunnel, the
required bandwidth must be something other than 0.
1974_chp8ONLba.fm Page 716 Tuesday, November 14, 2006 9:58 AM
717 Chapter 8: MPLS Traffic Engineering
Example 8-8 shows how to congure a bandwidth of 10000 kpbs for sub-pool tunnels on an
interface. The IGP then advertises this available sub-pool bandwidth.
Example 8-9 shows the tunnel conguration for a sub-pool tunnel.
Example 8-8 Conguring Bandwidth for Sub-Pool Tunnels
paris(config)#iii innn nttt t ppp pooo osss s 444 4/// /000 0
paris(config-if)#iii ippp p rrr rsss svvv vppp p bbb baaa annn nddd dwww wiii iddd dttt thhh h 111 1555 5555 5000 0000 0000 0 sss suuu ubbb b--- -ppp pooo oooo olll l 111 1000 0000 0000 0000 0
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g lll liii innn nkkk k--- -mmm maaa annn naaa aggg geee emmm meee ennn nttt t iii innn nttt teee errr rfff faaa accc ceee esss s ppp pooo osss s 444 4/// /000 0
System Information::
Links Count: 2
Link ID:: PO4/0 (10.200.210.1)
Link Status:
SRLGs: None
Physical Bandwidth: 155000 kbits/sec
Max Res Global BW: 155000 kbits/sec (reserved: 0% in, 0% out)
Max Res Sub BW: 10000 kbits/sec (reserved: 0% in, 0% out)
MPLS TE Link State: MPLS TE on, RSVP on, admin-up, flooded
Inbound Admission: allow-all
Outbound Admission: allow-if-room
Admin. Weight: 1 (IGP)
IGP Neighbor Count: 1
IGP Neighbor: ID 10.200.254.3, IP 10.200.210.2 (Up)
Flooding Status for each configured area [1]:
IGP Area[1]: ospf 1 area 0: flooded
Example 8-9 Conguring a Sub-Pool Tunnel
paris#sss shhh hooo owww w rrr ruuu unnn nnnn niii innn nggg g--- -ccc cooo onnn nfff fiii iggg g iii innn nttt teee errr rfff faaa accc ceee e ttt tuuu unnn nnnn neee elll l 111 1
!!! !
iii innn nttt teee errr rfff faaa accc ceee e TTT Tuuu unnn nnnn neee elll l111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .555 5
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo orrr rooo ouuu uttt teee e aaa annn nnnn nooo ouuu unnn nccc ceee e
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp prrr riii iooo orrr riii ittt tyyy y 777 7 777 7
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g bbb baaa annn nddd dwww wiii iddd dttt thhh h sss suuu ubbb b--- -ppp pooo oooo olll l 111 1000 0000 0000 0
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 111 1 eee exxx xppp plll liii iccc ciii ittt t nnn naaa ammm meee e ppp paaa arrr riii isss s--- -rrr rooo ommm meee e
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g fff faaa asss sttt t--- -rrr reee errr rooo ouuu uttt teee e
!!! !
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 111 1
Name: paris_t1 (Tunnel1) Destination: 10.200.254.5
Status:
Admin: up Oper: up Path: valid Signalling: connected
1974_chp8ONLba.fm Page 717 Tuesday, November 14, 2006 9:58 AM
Interarea TE 718
Interarea TE
Up until now, all TE tunnels discussed here have been TE tunnels in one area of a link state routing
protocol. The reason is that routers have only the complete picture of the area they are in, because
a link state routing protocol has a link state database per area. A router in an area does not have
the complete view of the network outside of that area.
So far, the path option for a TE tunnel has been either a dynamic one or a complete explicit path,
where all the hops of the TE tunnel had to be specied. Also available was a semi-dynamic TE
tunnel path option whereby you could use an explicit path and exclude certain IP addresses. One
more possibility exists. This fourth possibility, loose next hops, will be used for interarea TE.
Loose next hops are specied as loose next-addresses in an explicit path option. An explicit path
option with loose next hops is a list of IP addresses of LSRs that the TE tunnel must cross.
However, the list does not need to be the complete list of all the LSRs that the TE tunnel will cross.
The list of LSRs is only the LSRs that the TE tunnel must cross. The missing LSRs in between can
be any LSRs that the head end router nds to be on a feasible path toward the loose next hop in
the list.
The solution to build a TE tunnel that can span multiple areas is to specify the area border routers
(ABRs) as loose next hops in the explicit path. The head end router of the TE tunnel must
dynamically build a path to the rst ABR that is specied in the explicit path. This path becomes
the explicit route object (ERO) carried in the RSVP Path messages. That ABR must expand the
loose route from itself to the next ABR that is specied in the explicit path, and so on. Therefore,
the ABR turns a loose route into an explicit one. When areas have multiple ABRs between them,
you can specify different path options with different loose next hops so that you can have backup
paths in case one ABR fails. However, you have one big disadvantage of using an interarea TE
tunnel. Because the head end router does not have the TE database of the other areas, it cannot
path option 1, type explicit paris-rome (Basis for Setup, path weight 2)
Config Parameters:
Bandwidth: 1000 kbps (Sub) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 1000 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
NOTE For more information on QoS with MPLS, refer to Chapter 12, MPLS and Quality of
Service.
Example 8-9 Conguring a Sub-Pool Tunnel (Continued)
1974_chp8ONLba.fm Page 718 Tuesday, November 14, 2006 9:58 AM
719 Chapter 8: MPLS Traffic Engineering
deduce which prexes are behind the tail end router, if the tail end router is in another area than
the head end router. Therefore, autoroute announce is not supported on interarea TE tunnels. Other
features that are not supported on interarea tunnels are setting of the afnity bits on the tunnel,
forwarding adjacency, and reoptimization. These limits are the result of the inability of the head
end router to look inside other areas. The TE features of the links are advertised only inside an
area.
To congure an interarea TE tunnel, you must specify the IP addresses of the ABRs in the explicit
path as a loose next hop with the following command:
Router(cfg-ip-expl-path)#nnn neee exxx xttt t--- -aaa addd dddd drrr reee esss ssss s lll looo oooo osss seee e A.B.C.D.
Figure 8-2 shows an example of an interarea TE tunnel in an OSPF domain with three areas.
Figure 8-2 Interarea TE Tunnel
Loopback 0
10.200.254.1
Loopback 0
10.200.254.2
Loopback 0
10.200.254.3
london brussels
ABR
Loopback 0
10.200.254.4
frankfurt
ABR
paris
Area 1
Area 0 Area 2
TE Tunnel 1
10.200.200.1 10.200.210.1
Loopback 0
10.200.254.7
Loopback 0
10.200.254.6
Loopback 0
10.200.254.5
sydney
berlin
rome
10.200.202.2 10.200.215.2 10.200.215.1
10.200.212.1
10.200.213.1
1974_chp8ONLba.fm Page 719 Tuesday, November 14, 2006 9:58 AM
Interarea TE 720
The TE tunnel head end router is router london in area 1, and the tail end router is router sydney
in area 2. The two area border routers are brussels and berlin. These two ABRs are congured as
loose next hops in the explicit path for the interarea TE tunnel. It is the task of router london to
calculate a path to the ABR brussels, and it is the task of router brussels to calculate a path in OSPF
area 0 to the ABR berlin. Finally, the router berlin must calculate a path in area 2 toward the tail
end router sydney. Example 8-10 shows the conguration of this interarea TE tunnel on router
london.
Example 8-10 Interarea Tunnel
!!! !
iii innn nttt teee errr rfff faaa accc ceee e TTT Tuuu unnn nnnn neee elll l111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .777 7
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 111 1000 0 eee exxx xppp plll liii iccc ciii ittt t nnn naaa ammm meee e iii innn nttt teee errr r--- -aaa arrr reee eaaa a
!!! !
iii ippp p eee exxx xppp plll liii iccc ciii ittt t--- -ppp paaa attt thhh h nnn naaa ammm meee e iii innn nttt teee errr r--- -aaa arrr reee eaaa a eee ennn naaa abbb blll leee e
nnn neee exxx xttt t--- -aaa addd dddd drrr reee esss ssss s lll looo oooo osss seee e 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .333 3
nnn neee exxx xttt t--- -aaa addd dddd drrr reee esss ssss s lll looo oooo osss seee e 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .555 5
!!! !
london#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll l ttt tuuu unnn nnnn neee elll l 111 1
Name: london_t1 (Tunnel1) Destination: 10.200.254.7
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type explicit inter-area (Basis for Setup, path weight 21)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: disabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 10 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : Ethernet0/0/0, 35
RSVP Signalling Info:
Src 10.200.254.1, Dst 10.200.254.7, Tun_Id 1, Tun_Instance 18
RSVP Path Info:
My Address: 10.200.200.1
Explicit Route: 10.200.200.2 10.200.210.2 10.200.254.3 10.200.254.5*
Record Route:
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: 10.200.210.1 10.200.212.1 10.200.213.1 10.200.215.1
1974_chp8ONLba.fm Page 720 Tuesday, November 14, 2006 9:58 AM
721 Chapter 8: MPLS Traffic Engineering
Notice that the Shortest Unconstrained Path Info cannot show anything because the TE database
is missing a piece of the topology for the complete path of this tunnel. The ERO is the path up to
the rst ABR. The next loose hop is indicated by the star next to the IP address. You can see the
complete path that the TE tunnel takes by looking at the Record Route section in the output.
You can also use a verbatim TE tunnel (see the next section) if the TE tunnel spans multiple IGP
areas. With verbatim, the TE topology database verication is completely omitted at the head end
router. RSVP is used to signal the LSP and the path must then be completely specied as an
explicit path.
Verbatim
Verbatim is an option for an explicit TE tunnel LSP whereby the tunnel head end router bypasses
the TE topology database verication before signaling the TE LSP via RSVP. This is useful when
some TE nodes do not support the TE IGP extensions, but they do support RSVP with the TE
extensions. Because the TE topology database is not veried, the verbatim option cannot be used
for dynamic TE tunnels, but only for TE tunnels that have the explicitly routed path option.
Example 8-11 shows an example of a verbatim TE tunnel.
10.200.202.2 10.200.202.1
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: UNKNOWN
Explicit Route: UNKNOWN
History:
Tunnel:
Time since created: 15 minutes, 10 seconds
Time since path change: 1 minutes, 28 seconds
Current LSP:
Uptime: 1 minutes, 29 seconds
Selection: reoptimization
Prior LSP:
ID: path option 10 [16]
Removal Trigger: label reservation removed
Example 8-11 Verbatim Tunnel
!!! !
iii innn nttt teee errr rfff faaa accc ceee e TTT Tuuu unnn nnnn neee elll l111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .555 5
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
Example 8-10 Interarea Tunnel (Continued)
1974_chp8ONLba.fm Page 721 Tuesday, November 14, 2006 9:58 AM
MPLS TE LSP Attributes 722 MPLS TE LPS ATTRIBUTES
MPLS TE LSP Attributes
You can assign LSP attributes to a TE tunnel per path option. Therefore, depending on the path
that the TE tunnel takes, the attributes of the TE LSP (hence, the TE tunnel) can change. The
attributes that the path option assigns take precedence over any congured attributes on the tunnel
interface.
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo orrr rooo ouuu uttt teee e aaa annn nnnn nooo ouuu unnn nccc ceee e
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 111 1 eee exxx xppp plll liii iccc ciii ittt t nnn naaa ammm meee e ppp paaa arrr riii isss s--- -rrr rooo ommm meee e vvv veee errr rbbb baaa attt tiii immm m
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g fff faaa asss sttt t--- -rrr reee errr rooo ouuu uttt teee e
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 111 1
Name: paris_t1 (Tunnel1) Destination: 10.200.254.5
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit (verbatim) paris-rome (Basis for Setup, path weight 0)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: enabled
InLabel : -
OutLabel : POS4/0, 17
RSVP Signalling Info:
Src 10.200.254.2, Dst 10.200.254.5, Tun_Id 1, Tun_Instance 5799
RSVP Path Info:
My Address: 10.200.254.2
Explicit Route: 10.200.210.2 10.200.211.2
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: 10.200.211.1(17) 10.200.211.2(0)
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: UNKNOWN
Explicit Route: UNKNOWN
Example 8-11 Verbatim Tunnel (Continued)
1974_chp8ONLba.fm Page 722 Tuesday, November 14, 2006 9:58 AM
723 Chapter 8: MPLS Traffic Engineering
Example 8-12 demonstrates the usage of LSP attributes. Two path options are congured for
tunnel 1, each with a set of attributes. In addition, you can see which attributes you can use.
Path Protection
The protection schemes covered so far (link and node protection) are local. Recently, a global
protection scheme was added to MPLS TE: Path Protection. In MPLS TE Path Protection, one TE
LSP backs up another. This backup or protection TE LSP is established in advance by the same
head end LSR to back up the primary TE LSP. As soon as the head end knows that there is failure
along the path of the primary TE LSP, it switches the trafc onto the backup TE LSP. The head
end is aware of a failure along the path when it receives a PathErr from an LSR along the primary
TE LSP. The further away the failure from the head end LSR, the longer it takes for the PathErr to
reach the head end LSR. This means that the switchover from primary to backup TE LSP on the
head end LSR is a bit slower than the local switchover that happens with link or node protection.
Example 8-12 LSP Attributes
!!! !
iii innn nttt teee errr rfff faaa accc ceee e TTT Tuuu unnn nnnn neee elll l111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .666 6
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo orrr rooo ouuu uttt teee e aaa annn nnnn nooo ouuu unnn nccc ceee e
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 111 1 ddd dyyy ynnn naaa ammm miii iccc c aaa attt tttt trrr riii ibbb buuu uttt teee esss s aaa attt tttt trrr riii ibbb buuu uttt teee esss s--- -111 1
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 222 2 eee exxx xppp plll liii iccc ciii ittt t nnn naaa ammm meee e ppp paaa arrr riii isss s--- -rrr rooo ommm meee e aaa attt tttt trrr riii ibbb buuu uttt teee esss s aaa attt tttt trrr riii ibbb buuu uttt teee esss s--- -222 2
!!! !
mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g lll lsss sppp p aaa attt tttt trrr riii ibbb buuu uttt teee esss s aaa attt tttt trrr riii ibbb buuu uttt teee esss s--- -111 1
aaa auuu uttt tooo o--- -bbb bwww w
ppp prrr rooo ottt teee eccc cttt tiii iooo onnn n fff faaa asss sttt t--- -rrr reee errr rooo ouuu uttt teee e
lll looo occc ckkk kddd dooo owww wnnn n
!!! !
mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g lll lsss sppp p aaa attt tttt trrr riii ibbb buuu uttt teee esss s aaa attt tttt trrr riii ibbb buuu uttt teee esss s--- -222 2
bbb baaa annn nddd dwww wiii iddd dttt thhh h 555 5000 0000 0000 0000 0000 0
rrr reee eccc cooo orrr rddd d--- -rrr rooo ouuu uttt teee e
!!! !
paris(config)#mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g lll lsss sppp p aaa attt tttt trrr riii ibbb buuu uttt teee esss s aaa attt tttt trrr riii ibbb buuu uttt teee esss s--- -111 1
paris(config-lsp-attr)#??? ?
Attribute List configuration commands:
affinity Specify attribute flags for links comprising LSP
auto-bw Specify automatic bandwidth configuration
bandwidth Specify LSP bandwidth
exit Exit from attribute list configuration mode
list Re-list all of the attribute list entries
lockdown Lockdown the LSP--disable reoptimization
no Disable a specific attribute
priority Specify LSP priority
protection Enable failure protection
record-route Record the route used by the LSP
1974_chp8ONLba.fm Page 723 Tuesday, November 14, 2006 9:58 AM
Path Protection 724
It is, however, still faster than rerouting the primary TE LSP onto another path. That is because
this involves resignaling the LSP, whereas with path protection, the backup TE LSP is already
established at the time of the failure.
Each path option of a TE tunnel can be backed up by a protection LSP. The conguration needed
is a path option with the protect keyword. Look at Figure 8-3 to see an example of path protection.
Figure 8-3 Path Protection Example
The tunnel 1 has one primary and one backup LSP. Example 8-13 shows the tunnel conguration
for Figure 8-3.
Example 8-13 Path Protection
!!! !
iii innn nttt teee errr rfff faaa accc ceee e TTT Tuuu unnn nnnn neee elll l111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .777 7
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo orrr rooo ouuu uttt teee e aaa annn nnnn nooo ouuu unnn nccc ceee e
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 111 1000 0 eee exxx xppp plll liii iccc ciii ittt t nnn naaa ammm meee e ttt tooo o--- -sss syyy yddd dnnn neee eyyy y
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n ppp prrr rooo ottt teee eccc cttt t 111 1000 0 eee exxx xppp plll liii iccc ciii ittt t nnn naaa ammm meee e ttt tooo o--- -sss syyy yddd dnnn neee eyyy y--- -bbb baaa accc ckkk kuuu uppp p
!!! !
!!! !
iii ippp p eee exxx xppp plll liii iccc ciii ittt t--- -ppp paaa attt thhh h nnn naaa ammm meee e ttt tooo o--- -sss syyy yddd dnnn neee eyyy y eee ennn naaa abbb blll leee e
nnn neee exxx xttt t--- -aaa addd dddd drrr reee esss ssss s 111 1000 0... .222 2000 0000 0... .222 2111 1111 1... .222 2
next-address 10.200.215.2
next-address 10.200.202.2
!
ip explicit-path name to-sydney-backup enable
frankfurt
brussels berlin
POS 10/1
POS 10/3
10.200.212.2
10.200.211.2 10.200.215.2 10.200.202.2
Loopback 0
10.200.254.5/32
10.200.214.2
Loopback 0
10.200.254.6/32
rome sydney
TE Tunnel 1
Primary LSP
TE Tunnel 1
Backup LSP
continues
1974_chp8ONLba.fm Page 724 Tuesday, November 14, 2006 9:58 AM
725 Chapter 8: MPLS Traffic Engineering
next-address 10.200.212.2
next-address 10.200.214.2
next-address 10.200.202.2
!
brussels#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 111 1
Name: brussels_t1 (Tunnel1) Destination: 10.200.254.7
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type explicit to-sydney (Basis for Setup, path weight 3)
Path Protection: 1 Common Link(s) , 1 Common Node(s)
path protect option 10, type explicit to-sydney-backup (Basis for Protect, path
weight 3)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 0 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 10 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : Serial3/0, 32
RSVP Signalling Info:
Src 10.100.254.3, Dst 10.200.254.7, Tun_Id 1, Tun_Instance 36
RSVP Path Info:
My Address: 10.100.254.3
Explicit Route: 10.200.211.2 10.200.215.2 10.200.202.2 10.200.254.7
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 3 (TE)
Explicit Route: 10.200.212.2 10.200.214.2 10.200.202.2 10.200.254.7
brussels#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 111 1 ppp prrr rooo ottt teee eccc cttt tiii iooo onnn n
brussels_t1
LSP Head, Tunnel1, Admin: up, Oper: up
Src 10.100.254.3, Dest 10.200.254.7, Instance 36
Fast Reroute Protection: None
Path Protection: 1 Common Link(s) , 1 Common Node(s)
Primary lsp path:10.200.211.2 10.200.215.2
Example 8-13 Path Protection (Continued)
1974_chp8ONLba.fm Page 725 Tuesday, November 14, 2006 9:58 AM
Troubleshooting MPLS TE 726
Cisco IOS does not make sure that the primary TE LSP and backup TE LSP are diverse when using
dynamaic path options. Both LSPs might share many links or nodes, which defeats the purpose of
path protection. Therefore, you must make sure that the paths of the primary TE LSP and backup
TE LSP are diverse, or as diverse as possible. You do this by conguring an explicit path option
for both the primary TE LSP and the backup TE LSP. The command show mpls trafc-eng
tunnels tunnel-interface [brief] protection shows the number of common links and nodes
between the primary and backup TE LSPs.
Troubleshooting MPLS TE
The most frequent problem with MPLS TE is a tunnel that is not set up. The tunnel interface does
not come up if the TE tunnel LSP is not set up. That is easy enough to notice. But why does the
TE tunnel not come up? Much can already be seen by looking at the tunnel with the command
show mpls trafc-eng tunnel tunnel tunnel-number. Other common troubleshooting techniques
involve looking at the TE database and enabling debug ip rsvp signaling and debug mpls trafc-
eng path spf.
10.200.202.2 10.200.254.7
Protect lsp path:10.200.212.2 10.200.214.2
10.200.202.2 10.200.254.7
Path Protect Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
InLabel : -
OutLabel : Serial2/0, 32
RSVP Signalling Info:
Src 10.100.254.3, Dst 10.200.254.7, Tun_Id 1, Tun_Instance 42
RSVP Path Info:
My Address: 10.100.254.3
Explicit Route: 10.200.212.2 10.200.214.2 10.200.202.2 10.200.254.7
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Example 8-13 Path Protection (Continued)
1974_chp8ONLba.fm Page 726 Tuesday, November 14, 2006 9:58 AM
727 Chapter 8: MPLS Traffic Engineering
Example 8-14 shows a tunnel that is down. The TE tunnel is the tunnel 1 on the router paris, with
the router rome being the tail end of the TE LSP. The path option of the tunnel only species to
exclude the router berlin from the path CSPF calculation.
Example 8-14 Troubleshooting MPLS TE Tunnel Path
paris#
!!! !
iii innn nttt teee errr rfff faaa accc ceee e TTT Tuuu unnn nnnn neee elll l111 1
iii ippp p uuu unnn nnnn nuuu ummm mbbb beee errr reee eddd d LLL Looo oooo oppp pbbb baaa accc ckkk k000 0
ttt tuuu unnn nnnn neee elll l ddd deee esss sttt tiii innn naaa attt tiii iooo onnn n 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .666 6
ttt tuuu unnn nnnn neee elll l mmm mooo oddd deee e mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa auuu uttt tooo orrr rooo ouuu uttt teee e aaa annn nnnn nooo ouuu unnn nccc ceee e
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp prrr riii iooo orrr riii ittt tyyy y 777 7 777 7
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g bbb baaa annn nddd dwww wiii iddd dttt thhh h 111 1555 5555 5000 0000 0000 0
ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h--- -ooo oppp pttt tiii iooo onnn n 111 1000 0 eee exxx xppp plll liii iccc ciii ittt t nnn naaa ammm meee e nnn nooo ottt t--- -rrr rooo ouuu uttt teee errr r--- -bbb beee errr rlll liii innn n
!!! !
iii ippp p eee exxx xppp plll liii iccc ciii ittt t--- -ppp paaa attt thhh h nnn naaa ammm meee e nnn nooo ottt t--- -rrr rooo ouuu uttt teee errr r--- -bbb beee errr rlll liii innn n eee ennn naaa abbb blll leee e
eee exxx xccc clll luuu uddd deee e--- -aaa addd dddd drrr reee esss ssss s 111 1000 0... .222 2000 0000 0... .222 2555 5444 4... .555 5
!!! !
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 111 1
Name: paris_t1 (Tunnel1) Destination: 10.200.254.6
Status:
Admin: up Oper: down Path: not valid Signalling: Down
path option 10, type explicit not-router-berlin
Config Parameters:
Bandwidth: 155000 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 155000 bw-based
auto-bw: disabled
Shortest Unconstrained Path Info:
Path Weight: 4 (TE)
Explicit Route: 10.200.210.2 10.200.211.2 10.200.215.2 10.200.254.6
History:
Tunnel:
Time since created: 1 days, 51 minutes
Time since path change: 51 seconds
Prior LSP:
ID: path option 10 [676]
Removal Trigger: path error
Last Error: PCALC:: No path to destination, 10.200.254.6
1974_chp8ONLba.fm Page 727 Tuesday, November 14, 2006 9:58 AM
Troubleshooting MPLS TE 728
The debug in Example 8-15 tells you that the reservable bandwidth on LSR brussels
(10.200.254.3) is too small.
After you correct that problem by specifying the correct bandwidth with the ip rsvp bandwidth
155000 command on interface pos 10/1 on router brussels, you can see the next problem in
Example 8-16. The attribute ags on the link with IP address 10.200.214.1 (router Frankfurt) do
not match with the afnity bits and mask that are congured on the TE tunnel.
Example 8-15 Troubleshooting MPLS TE Tunnel Path
paris#ddd deee ebbb buuu uggg g mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ppp paaa attt thhh h sss sppp pfff f
MPLS traffic-eng path calculation spf events debugging is on
paris#
*Apr 5 02:47:27.749: TE-PCALC_SPF: rrr_pcalc_node_exclude: excluding 10.200.254.5
*Apr 5 02:47:27.749: TE-PCALC_SPF: 10.200.254.2 aw 0 min_bw 18446744073709551615,
prev_node(NULL)
*Apr 5 02:47:27.749: TE-PCALC_SPF: 10.200.254.2
*Apr 5 02:47:27.749: TE-PCALC_SPF: REJECT(max_bw too small) node 10.200.254.2,
ip_address 10.200.200.2 bw 10000
*Apr 5 02:47:27.749: TE-PCALC_SPF: 10.200.254.3 aw 2 min_bw 155000,
prev_node(10.200.254.2)
*Apr 5 02:47:27.749: TE-PCALC_SPF: rrr_pcalc_dump_tentitive list:
*Apr 5 02:47:27.749: node(62)=(aw=2, min_bw=155000, hops=1)
*Apr 5 02:47:27.753: TE-PCALC_SPF: 10.200.254.3
*Apr 5 02:47:27.753: TE-PCALC_SPF: REJECT(bw available too small)
Example 8-16 Troubleshooting MPLS TE Tunnel Path
brussels(config-if)#
brussels(config-if)#iii innn nttt t ppp pooo osss s 111 1000 0/// /111 1
brussels(config-if)#iii ippp p rrr rsss svvv vppp p bbb baaa annn nddd dwww wiii iddd dttt thhh h 111 1555 5555 5000 0000 0000 0
paris#
*Apr 5 02:48:21.893: TE-PCALC_SPF: rrr_pcalc_node_exclude: excluding 10.200.254.5
*Apr 5 02:48:21.893: TE-PCALC_SPF: 10.200.254.2 aw 0 min_bw 18446744073709551615,
prev_node(NULL)
*Apr 5 02:48:21.893: TE-PCALC_SPF: 10.200.254.2
*Apr 5 02:48:21.893: TE-PCALC_SPF: REJECT(max_bw too small) node 10.200.254.2,
ip_address 10.200.200.2 bw 10000
*Apr 5 02:48:21.893: TE-PCALC_SPF: 10.200.254.3 aw 2 min_bw 155000,
prev_node(10.200.254.2)
*Apr 5 02:48:21.893: TE-PCALC_SPF: rrr_pcalc_dump_tentitive list:
*Apr 5 02:48:21.893: node(62)=(aw=2, min_bw=155000, hops=1)
*Apr 5 02:48:21.893: TE-PCALC_SPF: 10.200.254.3
*Apr 5 02:48:21.893: TE-PCALC_SPF: 10.200.254.4 aw 3 min_bw 155000,
prev_node(10.200.254.3)
1974_chp8ONLba.fm Page 728 Tuesday, November 14, 2006 9:58 AM
729 Chapter 8: MPLS Traffic Engineering
After changing the afnity bits and mask on the TE tunnel to 0x00000000 and 0x00000000
respectively, the TE tunnel CSPF calculation succeeds and the TE tunnel is signaled, as you can
see in Example 8-17.
*Apr 5 02:48:21.893: TE-PCALC_SPF: rrr_pcalc_dump_tentitive list:
*Apr 5 02:48:21.893: node(64)=(aw=3, min_bw=155000, hops=2)
*Apr 5 02:48:21.893: TE-PCALC_SPF: 10.200.254.4
*Apr 5 02:48:21.893: TE-PCALC_SPF: REJ(no attribute flags) node 10.200.254.4, ip_address
10.200.214.1
*Apr 5 02:48:21.893: tunnel_affinity_bits 0x0,
*Apr 5 02:48:21.893: tunnel_affinity_mask 0xFFFF,
*Apr 5 02:48:21.893: link_attribute_flags 0xFFFF
*Apr 5 02:48:21.893: TE-PCALC_SPF: rrr_pcalc_dump_tentitive list:
Example 8-17 Troubleshooting MPLS TE Tunnel Path
paris(config-if)#ttt tuuu unnn nnnn neee elll l mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g aaa afff ffff fiii innn niii ittt tyyy y 000 0xxx x000 0000 0000 0000 0000 0000 0000 0000 0 mmm maaa asss skkk k 000 0xxx x000 0000 0000 0000 0000 0000 0000 0000 0
paris#sss shhh hooo owww w mmm mppp plll lsss s ttt trrr raaa afff ffff fiii iccc c--- -eee ennn nggg g ttt tuuu unnn nnnn neee elll lsss s ttt tuuu unnn nnnn neee elll l 111 1
Name: paris_t1 (Tunnel1) Destination: 10.200.254.6
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 10, type explicit not-router-berlin (Basis for Setup, path weight 4)
Config Parameters:
Bandwidth: 155000 kbps (Global) Priority: 7 7 Affinity: 0x0/0x0
Metric Type: TE (default)
AutoRoute: enabled LockDown: disabled Loadshare: 155000 bw-based
auto-bw: disabled
Active Path Option Parameters:
State: explicit path option 10 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
InLabel : -
OutLabel : POS4/0, 25
RSVP Signalling Info:
Src 10.200.254.2, Dst 10.200.254.6, Tun_Id 1, Tun_Instance 715
RSVP Path Info:
My Address: 10.200.254.2
Explicit Route: 10.200.210.2 10.200.212.2 10.200.214.2 10.200.254.6
Record Route: NONE
Example 8-16 Troubleshooting MPLS TE Tunnel Path (Continued)
1974_chp8ONLba.fm Page 729 Tuesday, November 14, 2006 9:58 AM
Troubleshooting MPLS TE 730
Tspec: ave rate=155000 kbits, burst=1000 bytes, peak rate=155000 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=155000 kbits, burst=1000 bytes, peak rate=155000 kbits
Shortest Unconstrained Path Info:
Path Weight: 4 (TE)
Explicit Route: 10.200.210.2 10.200.212.2 10.200.214.2 10.200.254.6
Example 8-17 Troubleshooting MPLS TE Tunnel Path (Continued)
1974_chp8ONLba.fm Page 730 Tuesday, November 14, 2006 9:58 AM