RE: MPLS TE ( Affinity)

From: Tyson Scott <tscott_at_ipexpert.com>
Date: Wed, 3 Nov 2010 00:24:07 -0400

Guarav,

 

You said it is up in one direction but it shows down in both directions.
You have configured affinity on the path from R8 to R7 to R9 but have it set
to dynamic. The dynamic path I am assuming is more preferred directly
between R8 and R9.

 

Dynamic means it is going to follow the path of your RIB. Force your RIB to
be less preferred for the direct connection

 

R8 and R9

E3/2

isis metric 1000

E2/0

isis metric 1000

 

You could also shutdown that connection to see it come up when the other
path becomes the preferred route in the RIB.

 

Your next option is to configure an explicit path to force the traffic thru
R7. You could then in that case have it fail over to the other path if you
configure your affinity on both paths.

 

Regards,

 

Tyson Scott - CCIE #13513 R&S, Security, and SP

Managing Partner / Sr. Instructor - IPexpert, Inc.

Mailto: tscott_at_ipexpert.com

 

 

From: Gaurav Thukral [mailto:pearlgaurav_at_gmail.com]
Sent: Wednesday, November 03, 2010 12:09 AM
To: Tyson Scott
Cc: Group study; groupstudy_at_cconlinelabs.com
Subject: Re: MPLS TE ( Affinity)

 

Hi Guys,

Please find attached the full config of all the three devices.

R8

mpls traffic-eng tunnels

interface Loopback2
 ip address 5.5.88.8 255.255.255.255

interface Loopback0
 ip address 5.5.8.8 255.255.255.255
 ip router isis
 ip pim sparse-mode
 isis circuit-type level-2-only

interface Ethernet3/2
 ip address 5.5.89.8 255.255.255.0
 ip router isis
 ip pim sparse-mode
 full-duplex
 mpls traffic-eng tunnels
 tag-switching ip
 isis circuit-type level-2-only
 isis network point-to-point
 ip rsvp bandwidth 100000 50000 sub-pool 20000

interface Ethernet3/0
 ip address 5.5.78.8 255.255.255.0
 ip router isis
 ip pim sparse-mode
 full-duplex
 mpls traffic-eng tunnels
 mpls traffic-eng attribute-flags 0x11
 tag-switching ip
 isis circuit-type level-2-only
 ip rsvp bandwidth 100000 50000 sub-pool 20000

interface Tunnel89
 ip unnumbered Loopback2
 tunnel destination 5.5.99.9
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 7 7
 tunnel mpls traffic-eng bandwidth sub-pool 5000
 tunnel mpls traffic-eng affinity 0x11 mask 0x11
 tunnel mpls traffic-eng path-option 1 dynamic

router isis
 net 49.0005.0000.0000.0008.00
 is-type level-2-only
 metric-style wide level-2
 log-adjacency-changes
 mpls traffic-eng router-id Loopback2
 mpls traffic-eng level-2

R7

mpls traffic-eng tunnels

interface Ethernet3/1
 ip address 5.5.79.7 255.255.255.0
 ip router isis
 ip pim sparse-mode
 full-duplex
 mpls traffic-eng tunnels
 tag-switching ip
 isis circuit-type level-2-only
 isis priority 127
 ip rsvp bandwidth 100000 50000 sub-pool 20000

interface Ethernet3/0
 ip address 5.5.78.7 255.255.255.0
 ip router isis
 ip pim sparse-mode
 full-duplex
 mpls traffic-eng tunnels
 tag-switching ip
 isis circuit-type level-2-only
 isis priority 127
 ip rsvp bandwidth 100000 50000 sub-pool 20000

router isis
 net 49.0005.0000.0000.0007.00
 is-type level-2-only
 metric-style wide level-2
 log-adjacency-changes
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng level-2

R9

mpls traffic-eng tunnels

interface Loopback0
 ip address 5.5.9.9 255.255.255.255
 ip router isis
 ip pim sparse-mode
 isis circuit-type level-2-only

interface Loopback2
 ip address 5.5.99.9 255.255.255.255

interface FastEthernet2/0
 ip address 5.5.89.9 255.255.255.0
 ip router isis
 ip pim sparse-mode
 duplex auto
 speed auto
 mpls traffic-eng tunnels
 tag-switching ip
 isis circuit-type level-2-only
 isis network point-to-point
 ip rsvp bandwidth 100000 50000 sub-pool 20000

interface FastEthernet1/0
 ip address 5.5.79.9 255.255.255.0
 ip router isis
 ip pim sparse-mode
 duplex auto
 speed auto
 mpls traffic-eng tunnels
 mpls traffic-eng attribute-flags 0x11
 tag-switching ip
 isis circuit-type level-2-only
 ip rsvp bandwidth 100000 50000 sub-pool 20000

router isis
 net 49.0005.0000.0000.0009.00
 is-type level-2-only
 metric-style wide level-2
 log-adjacency-changes
 mpls traffic-eng router-id Loopback2
 mpls traffic-eng level-2

interface Tunnel98
 ip unnumbered Loopback2
 tunnel destination 5.5.88.8
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 7 7
 tunnel mpls traffic-eng bandwidth sub-pool 5000
 tunnel mpls traffic-eng affinity 0x11 mask 0x11
 tunnel mpls traffic-eng path-option 1 dynamic

BOTH TUNNELS ARE DOWN NOW.

R9#sh mpls traffic-eng tunnels

Name: R9_t98 (Tunnel98) Destination: 5.5.88.8
  Status:
    Admin: up Oper: down Path: not valid Signalling: Down
    path option 1, type dynamic

  Config Parameters:
    Bandwidth: 5000 kbps (Sub) Priority: 7 7 Affinity: 0x11/0x11
    Metric Type: TE (default)
    AutoRoute: disabled LockDown: disabled Loadshare: 5000 bw-based
    auto-bw: disabled

  History:
    Tunnel:
      Time since created: 1 hours, 42 minutes
      Time since path change: 10 minutes, 1 seconds
    Prior LSP:
      ID: path option 1 [6]
      Removal Trigger: configuration changed
      Last Error: PCALC:: No path to destination, 0000.0000.0008.00

R8#sh mpls traffic-eng tunnels

Name: R8_t89 (Tunnel89) Destination: 5.5.99.9
  Status:
    Admin: up Oper: down Path: not valid Signalling: Down
    path option 1, type dynamic

  Config Parameters:
    Bandwidth: 5000 kbps (Sub) Priority: 7 7 Affinity: 0x11/0x11
    Metric Type: TE (default)
    AutoRoute: disabled LockDown: disabled Loadshare: 5000 bw-based
    auto-bw: disabled

  History:
    Tunnel:
      Time since created: 56 minutes, 25 seconds
      Time since path change: 35 minutes, 40 seconds
    Prior LSP:
      ID: path option 1 [31]
      Removal Trigger: configuration changed
      Last Error: PCALC:: No path to destination, 0000.0000.0009.00

Regards,
Gaurav

Blogs and organic groups at http://www.ccie.net
Received on Wed Nov 03 2010 - 00:24:07 ART

This archive was generated by hypermail 2.2.0 : Sun Dec 05 2010 - 22:14:55 ART