TE tunnel placement via explicit & dynamic paths

May 18, 2010 at 1:35 am | Posted in Blogroll, MPLS, Traffic Engineering | Leave a comment

R1#sh run
Building configuration…

Current configuration : 2645 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
ip source-route
ip cef
!
!
!
!
!
!        
multilink bundle-name authenticated
mpls traffic-eng tunnels
mpls traffic-eng reoptimize timers frequency 10
mpls traffic-eng reoptimize timers delay installation 5
mpls traffic-eng auto-bw timers frequency 5
!
!
!
!
!
!
!
!
!
!
interface Tunnel0
 ip unnumbered Loopback0
 tunnel destination 2.2.2.2
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng autoroute announce
 tunnel mpls traffic-eng priority 6 6
 tunnel mpls traffic-eng bandwidth 55000
 tunnel mpls traffic-eng path-option 5 explicit name R1_R2
 tunnel mpls traffic-eng path-option 10 dynamic
!
interface Tunnel1
 ip unnumbered Loopback0
 tunnel destination 2.2.2.2
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng autoroute announce
 tunnel mpls traffic-eng priority 5 5
 tunnel mpls traffic-eng bandwidth 50000
 tunnel mpls traffic-eng path-option 10 dynamic
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 12.0.0.1 255.255.255.0
 speed auto
 duplex auto
 mpls traffic-eng tunnels
 mpls ip
 ip rsvp bandwidth 90000 90000
!
interface FastEthernet0/1
 ip address 14.0.0.1 255.255.255.0
 speed auto
 duplex auto
 mpls traffic-eng tunnels
 mpls ip
 ip rsvp bandwidth 90000 90000
!
router ospf 1
 log-adjacency-changes
 network 1.1.1.1 0.0.0.0 area 0
 network 12.0.0.1 0.0.0.0 area 0
 network 14.0.0.1 0.0.0.0 area 0
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0
!
ip classless
no ip http server
no ip http secure-server
!
!
!
ip explicit-path name R1_R4_R3_R2 enable
 next-address 14.0.0.4
 next-address 34.0.0.3
 next-address 23.0.0.2
!
ip explicit-path name R1_R2 enable
 next-address 12.0.0.2
!
R1(config)#mpls traffic-eng auto-bw timers frequency ?
  <1-604800>  seconds between auto-bw

R1(config)#mpls traffic-eng reoptimize events link-up

R1(config)#mpls traffic-eng reoptimize timers delay installation ?
  <0-3600>  seconds to delay replacement of tunnel LSP

R1(config)#mpls traffic-eng reoptimize timers delay installation 5
R1(config)#mpls traffic-eng reoptimize timers frequency ?
  <0-604800>  seconds between reoptimizations (0 disables reoptimization)

R1(config)#mpls traffic-eng reoptimize timers frequency 10
R1#

interface Tunnel0
 ip unnumbered Loopback0
 tunnel destination 2.2.2.2
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng autoroute announce
 tunnel mpls traffic-eng priority 6 6
 tunnel mpls traffic-eng bandwidth 50000
 tunnel mpls traffic-eng path-option 5 explicit name R1_R2 lockdown
 tunnel mpls traffic-eng path-option 10 dynamic
!
interface Tunnel1
 ip unnumbered Loopback0
 tunnel destination 2.2.2.2
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng autoroute announce
 tunnel mpls traffic-eng priority 5 5
 tunnel mpls traffic-eng bandwidth 50000
 tunnel mpls traffic-eng path-option 10 dynamic
ip explicit-path name R1_R4_R3_R2 enable
 next-address 14.0.0.4
 next-address 34.0.0.3
 next-address 23.0.0.2

ip explicit-path name R1_R2 enable
 next-address 12.0.0.2

R1#sh mpls traffic-eng tunnels summary
Signalling Summary:
    LSP Tunnels Process:            running
    Passive LSP Listener:           running
    RSVP Process:                   running
    Forwarding:                     enabled
    Head: 2 interfaces, 2 active signalling attempts, 2 established
          34 activations, 32 deactivations
          0 SSO recovery attempts, 0 SSO recovered
    Midpoints: 0, Tails: 0
    Periodic reoptimization:        every 10 seconds, next in 1 seconds
    Periodic FRR Promotion:         Not Running
    Periodic auto-bw collection:    every 5 seconds, next in 2 seconds

R1#sh mpls traffic-eng tunnels tun0   

Name: R1_t0                               (Tunnel0) Destination: 2.2.2.2
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
    path option 10, type dynamic (Basis for Setup, path weight 3)

  Config Parameters:
    Bandwidth: 55000    kbps (Global)  Priority: 6  6   Affinity: 0×0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  enabled   LockDown: disabled  Loadshare: 55000    bw-based
    auto-bw: disabled
  Active Path Option Parameters:
    State: dynamic path option 10 is active
    BandwidthOverride: disabled  LockDown: disabled  Verbatim: disabled
  InLabel  :  -
  OutLabel : FastEthernet0/1, 22
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 2.2.2.2, Tun_Id 0, Tun_Instance 281
    RSVP Path Info:
      My Address: 14.0.0.1  
      Explicit Route: 14.0.0.4 34.0.0.4 34.0.0.3 23.0.0.3
                      23.0.0.2 2.2.2.2
      Record   Route:   NONE
      Tspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
  Shortest Unconstrained Path Info:
    Path Weight: 1 (TE)
    Explicit Route: 12.0.0.1 12.0.0.2 2.2.2.2
  History:
    Tunnel:
      Time since created: 2 hours, 16 minutes
      Time since path change: 6 minutes, 50 seconds
      Number of LSP IDs (Tun_Instances) used: 281
    Current LSP:
      Uptime: 6 minutes, 50 seconds
    Prior LSP:
      ID: path option 10 [280]
      Removal Trigger: path error
R1#sh mpls traffic-eng tunnels tun1

Name: R1_t1                               (Tunnel1) Destination: 2.2.2.2
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
    path option 10, type dynamic (Basis for Setup, path weight 1)

  Config Parameters:
    Bandwidth: 50000    kbps (Global)  Priority: 5  5   Affinity: 0×0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  enabled   LockDown: disabled  Loadshare: 50000    bw-based
    auto-bw: disabled
  Active Path Option Parameters:
    State: dynamic path option 10 is active
    BandwidthOverride: disabled  LockDown: disabled  Verbatim: disabled
  InLabel  :  -
  OutLabel : FastEthernet0/0, implicit-null
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 2.2.2.2, Tun_Id 1, Tun_Instance 132
    RSVP Path Info:
      My Address: 12.0.0.1  
      Explicit Route: 12.0.0.2 2.2.2.2
      Record   Route:   NONE
      Tspec: ave rate=50000 kbits, burst=1000 bytes, peak rate=50000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=50000 kbits, burst=1000 bytes, peak rate=50000 kbits
  Shortest Unconstrained Path Info:
    Path Weight: 1 (TE)
    Explicit Route: 12.0.0.1 12.0.0.2 2.2.2.2
  History:
    Tunnel:
      Time since created: 54 minutes, 44 seconds
      Time since path change: 25 minutes, 57 seconds
      Number of LSP IDs (Tun_Instances) used: 132
    Current LSP:
      Uptime: 6 minutes, 54 seconds
      Selection: reoptimization
    Prior LSP:
      ID: path option 10 [39]
      Removal Trigger: configuration changed
R1#c
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int tun1
R1(config-if)#shut
R1(config-if)#end
R1#
R1#
R1#
R1#sh mpls  traffic-eng tunnels tun0

Name: R1_t0                               (Tunnel0) Destination: 2.2.2.2
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
    path option 10, type dynamic (Basis for Setup, path weight 3)
    path option 5 reoptimization in progress

  Config Parameters:
    Bandwidth: 55000    kbps (Global)  Priority: 6  6   Affinity: 0×0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  enabled   LockDown: disabled  Loadshare: 55000    bw-based
    auto-bw: disabled
  Active Path Option Parameters:
    State: dynamic path option 10 is active
    BandwidthOverride: disabled  LockDown: disabled  Verbatim: disabled
  InLabel  :  -
  OutLabel : FastEthernet0/1, 22
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 2.2.2.2, Tun_Id 0, Tun_Instance 382
    RSVP Path Info:
      My Address: 14.0.0.1  
      Explicit Route: 14.0.0.4 34.0.0.4 34.0.0.3 23.0.0.3
                      23.0.0.2 2.2.2.2
      Record   Route:   NONE
      Tspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
  Shortest Unconstrained Path Info:
    Path Weight: 1 (TE)
    Explicit Route: 12.0.0.1 12.0.0.2 2.2.2.2
  History:
    Tunnel:
      Time since created: 2 hours, 27 minutes
      Time since path change: 3 seconds
      Number of LSP IDs (Tun_Instances) used: 403
    Current LSP:
      Uptime: 8 seconds
      Selection: reoptimization
    Prior LSP:
      ID: path option 10 [382]
      Removal Trigger: reoptimization completed
R1#sh mpls  traffic-eng tunnels summ
Signalling Summary:
    LSP Tunnels Process:            running
    Passive LSP Listener:           running
    RSVP Process:                   running
    Forwarding:                     enabled
    Head: 2 interfaces, 1 active signalling attempts, 1 established
          43 activations, 42 deactivations
          0 SSO recovery attempts, 0 SSO recovered
    Midpoints: 0, Tails: 0
    Periodic reoptimization:        every 10 seconds, next in 4 seconds
    Periodic FRR Promotion:         Not Running
    Periodic auto-bw collection:    every 5 seconds, next in 2 seconds

R1#sh mpls traff tun tun0

Name: R1_t0                               (Tunnel0) Destination: 2.2.2.2
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
    path option 5, type explicit R1_R2 (Basis for Setup, path weight 1)
    path option 10, type dynamic

  Config Parameters:
    Bandwidth: 55000    kbps (Global)  Priority: 6  6   Affinity: 0×0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  enabled   LockDown: disabled  Loadshare: 55000    bw-based
    auto-bw: disabled
  Active Path Option Parameters:
    State: explicit path option 5 is active
    BandwidthOverride: disabled  LockDown: disabled  Verbatim: disabled
  InLabel  :  -
  OutLabel : FastEthernet0/0, implicit-null
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 2.2.2.2, Tun_Id 0, Tun_Instance 403
    RSVP Path Info:
      My Address: 12.0.0.1  
      Explicit Route: 12.0.0.2 2.2.2.2
      Record   Route:   NONE
      Tspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
  Shortest Unconstrained Path Info:
    Path Weight: 1 (TE)
    Explicit Route: 12.0.0.1 12.0.0.2 2.2.2.2
  History:
    Tunnel:
      Time since created: 2 hours, 28 minutes
      Time since path change: 57 seconds
      Number of LSP IDs (Tun_Instances) used: 403
    Current LSP:
      Uptime: 1 minutes, 2 seconds
      Selection: reoptimization
    Prior LSP:
      ID: path option 10 [382]
      Removal Trigger: reoptimization completed

R1#
R1#c
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#do sb
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        12.0.0.1        YES manual up                    up     
FastEthernet0/1        14.0.0.1        YES manual up                    up     
Loopback0              1.1.1.1         YES manual up                    up     
Tunnel0                1.1.1.1         YES TFTP   up                    up     
Tunnel1                1.1.1.1         YES TFTP   administratively down down   
R1(config)#int tun1
R1(config-if)#no shut
R1(config-if)#end
R1#
R1#
*May 18 00:32:03.811: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel1, changed state to up
R1#
R1#
R1#
*May 18 00:32:05.003: %SYS-5-CONFIG_I: Configured from console by console
R1#sh mpls traff tun    

Name: R1_t0                               (Tunnel0) Destination: 2.2.2.2
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
    path option 10, type dynamic (Basis for Setup, path weight 3)
    path option 5, type explicit R1_R2

  Config Parameters:
    Bandwidth: 55000    kbps (Global)  Priority: 6  6   Affinity: 0×0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  enabled   LockDown: disabled  Loadshare: 55000    bw-based
    auto-bw: disabled
  Active Path Option Parameters:
    State: dynamic path option 10 is active
    BandwidthOverride: disabled  LockDown: disabled  Verbatim: disabled
  InLabel  :  -
  OutLabel : FastEthernet0/1, 23
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 2.2.2.2, Tun_Id 0, Tun_Instance 405
    RSVP Path Info:
      My Address: 14.0.0.1  
      Explicit Route: 14.0.0.4 34.0.0.4 34.0.0.3 23.0.0.3
                      23.0.0.2 2.2.2.2
      Record   Route:   NONE
      Tspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=55000 kbits, burst=1000 bytes, peak rate=55000 kbits
  History:
    Tunnel:
      Time since created: 2 hours, 30 minutes
      Time since path change: 6 seconds
      Number of LSP IDs (Tun_Instances) used: 405
    Current LSP:
      Uptime: 6 seconds
    Prior LSP:
      ID: path option 5 [404]
      Removal Trigger: path error
      Last Error: PCALC:: Can’t use link 12.0.0.1 on node 1.1.1.1

Name: R1_t1                               (Tunnel1) Destination: 2.2.2.2
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
    path option 10, type dynamic (Basis for Setup, path weight 1)
         
  Config Parameters:
    Bandwidth: 50000    kbps (Global)  Priority: 5  5   Affinity: 0×0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  enabled   LockDown: disabled  Loadshare: 50000    bw-based
    auto-bw: disabled
  Active Path Option Parameters:
    State: dynamic path option 10 is active
    BandwidthOverride: disabled  LockDown: disabled  Verbatim: disabled
  InLabel  :  -
  OutLabel : FastEthernet0/0, implicit-null
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 2.2.2.2, Tun_Id 1, Tun_Instance 231
    RSVP Path Info:
      My Address: 12.0.0.1  
      Explicit Route: 12.0.0.2 2.2.2.2
      Record   Route:   NONE
      Tspec: ave rate=50000 kbits, burst=1000 bytes, peak rate=50000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=50000 kbits, burst=1000 bytes, peak rate=50000 kbits
  History:
    Tunnel:
      Time since created: 1 hours, 8 minutes
      Time since path change: 8 seconds
      Number of LSP IDs (Tun_Instances) used: 231
    Current LSP:
      Uptime: 8 seconds
    Prior LSP:
      ID: path option 10 [220]
      Removal Trigger: tunnel shutdown

About these ads

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. | The Pool Theme.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: