Verify label stack in TE tunnels

July 13, 2010 at 12:07 am | Posted in Blogroll | 1 Comment

TOPOLOGY

 

R1 —– R2 —– R3 —— R4

CONFIGURATION

 

R1#
mpls traff tunnel
int lo0
 ip add 1.1.1.1 255.255.255.255

int fa0/0
 ip add 12.0.0.1 255.255.255.0
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 100000 100000

router ospf 1
 mpls traffic-eng router-id loo0
 mpls traffic-eng area 0
 net 1.1.1.1 0.0.0.0 area 0
 net 12.0.0.1 0.0.0.0 area 0
int tunnel14
 ip unnumbered lo0
 tunnel mode mpls traffic-eng
 tunnel destination 4.4.4.4
 tunnel mpls traffic-eng bandwidth 50000
 tunnel mpls traffic-eng path-option 10 dynamic
interface Tunnel104
 ip unnumbered Loopback0
 tunnel destination 4.4.4.4
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 7 7
 tunnel mpls traffic-eng bandwidth 10000
 tunnel mpls traffic-eng path-option 10 dynamic
ip route 40.40.40.0 255.255.255.0 Tunnel104
ip route 44.44.44.0 255.255.255.0 Tunnel14
R2#
mpls traff tunnel
int fa0/0
 ip address 12.0.0.2 255.255.255.0
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 100000 100000

int fa0/1
 ip address 23.0.0.2 255.255.255.0
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 100000 100000

int lo0
 ip add 2.2.2.2 255.255.255.255

router ospf 1
 mpls traffic-eng area 0
 mpls traffic-eng router-id loo0
 net 0.0.0.0 255.255.255.255 area 0
R3#

mpls traff tunnel

int lo0
 ip add 3.3.3.3 255.255.255.255
router ospf 1
 mpls traffic-eng area 0
 mpls traffic-eng router-id loo0
 net 0.0.0.0 255.255.255.255 area 0
int fa0/0
 ip address 34.0.0.3 255.255.255.0
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 100000 100000

int fa0/1
 ip add 23.0.0.3 255.255.255.0
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 100000 100000
 
R4#

mpls traff tunnel

int lo0
 ip add 4.4.4.4 255.255.255.255
router ospf 1
 mpls traffic-eng area 0
 mpls traffic-eng router-id loo0
 net 0.0.0.0 255.255.255.255 area 0
int fa0/0
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 100000 100000

int fa0/1
 mpls ip
 mpls traffic-eng tunnels
 ip rsvp bandwidth 100000 100000
int tunnel41
 ip unnumbered lo0
 tunnel mode mpls traffic-eng
 tunnel destination 1.1.1.1
 tunnel mpls traffic-eng bandwidth 50000
 tunnel mpls traffic-eng path-option 10 dynamic

!
interface Loopback40
 ip address 40.40.40.40 255.255.255.0
!
interface Loopback44
 ip address 44.44.44.44 255.255.255.0

TE VERIFICATION

R1#show mpls traffic-eng tunnels  

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

  Config Parameters:
    Bandwidth: 50000    kbps (Global)  Priority: 7  7   Affinity: 0x0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  disabled  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, 20
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 4.4.4.4, Tun_Id 14, Tun_Instance 28
    RSVP Path Info:
      My Address: 12.0.0.1  
      Explicit Route: 12.0.0.2 23.0.0.2 23.0.0.3 34.0.0.3
                      34.0.0.4 4.4.4.4
      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: 27 minutes, 32 seconds
      Time since path change: 22 minutes, 2 seconds
      Number of LSP IDs (Tun_Instances) used: 28
    Current LSP:
      Uptime: 22 minutes, 2 seconds
    Prior LSP:
      ID: path option 10 [25]
      Removal Trigger: path error

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

  Config Parameters:
    Bandwidth: 10000    kbps (Global)  Priority: 7  7   Affinity: 0x0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  disabled  LockDown: disabled  Loadshare: 10000    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, 23
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 4.4.4.4, Tun_Id 104, Tun_Instance 1
    RSVP Path Info:
      My Address: 12.0.0.1  
      Explicit Route: 12.0.0.2 23.0.0.2 23.0.0.3 34.0.0.3
                      34.0.0.4 4.4.4.4
      Record   Route:   NONE
      Tspec: ave rate=10000 kbits, burst=1000 bytes, peak rate=10000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=10000 kbits, burst=1000 bytes, peak rate=10000 kbits
  History:
    Tunnel:
      Time since created: 11 minutes, 2 seconds
      Time since path change: 11 minutes
      Number of LSP IDs (Tun_Instances) used: 1
    Current LSP:
      Uptime: 11 minutes

LSP Tunnel R4_t41 is signalled, connection is up
  InLabel  : FastEthernet0/0, implicit-null
  OutLabel :  –
  RSVP Signalling Info:
       Src 4.4.4.4, Dst 1.1.1.1, Tun_Id 41, Tun_Instance 14
    RSVP Path Info:
      My Address: 1.1.1.1  
      Explicit Route:  NONE
      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

CHECK LABEL STACK DETAILS

R1#show mpls forwarding-table
Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop   
Label  Label or VC   or Tunnel Id      Switched      interface             
16     Pop Label     2.2.2.2/32        0             Fa0/0      12.0.0.2   
17     Pop Label     23.0.0.0/24       0             Fa0/0      12.0.0.2   
18     17            3.3.3.3/32        0             Fa0/0      12.0.0.2   
19     18            34.0.0.0/24       0             Fa0/0      12.0.0.2   
20     22            4.4.4.4/32        0             Fa0/0      12.0.0.2   
22     Pop Label [T] 44.44.44.0/24     0             Tu14       point2point
23     Pop Label [T] 40.40.40.0/24     0             Tu104      point2point

[T]     Forwarding through a LSP tunnel.
        View additional labelling info with the ‘detail’ option

R1#show mpls forwarding-table  44.44.44.0 detail
Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop   
Label  Label or VC   or Tunnel Id      Switched      interface             
22     Pop Label     44.44.44.0/24     0             Tu14       point2point
        MAC/Encaps=14/18, MRU=1500, Label Stack{20}, via Fa0/0
        CA0105800008CA00058000088847 00014000
        No output feature configured

R1#show mpls forwarding-table  40.40.40.0 detail
Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop   
Label  Label or VC   or Tunnel Id      Switched      interface             
23     Pop Label     40.40.40.0/24     0             Tu104      point2point
        MAC/Encaps=14/18, MRU=1500, Label Stack{23}, via Fa0/0
        CA0105800008CA00058000088847 00017000
        No output feature configured

R2#show mpls forwarding-table
Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop   
Label  Label or VC   or Tunnel Id      Switched      interface             
16     Pop Label     1.1.1.1/32        3034          Fa0/0      12.0.0.1   
17     Pop Label     3.3.3.3/32        0             Fa0/1      23.0.0.3   
18     Pop Label     34.0.0.0/24       0             Fa0/1      23.0.0.3   
20     19            1.1.1.1 14 [28]   3104          Fa0/1      23.0.0.3   
21     Pop Label     4.4.4.4 41 [14]   0             Fa0/0      12.0.0.1   
22     21            4.4.4.4/32        0             Fa0/1      23.0.0.3   
23     23            1.1.1.1 104 [1]   3694          Fa0/1      23.0.0.3

R2#show mpls traffic-eng tunnels

LSP Tunnel R1_t14 is signalled, connection is up
  InLabel  : FastEthernet0/0, 20
  OutLabel : FastEthernet0/1, 19
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 4.4.4.4, Tun_Id 14, Tun_Instance 28
    RSVP Path Info:
      My Address: 23.0.0.2  
      Explicit Route: 23.0.0.3 34.0.0.3 34.0.0.4 4.4.4.4
      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

LSP Tunnel R1_t104 is signalled, connection is up
  InLabel  : FastEthernet0/0, 23
  OutLabel : FastEthernet0/1, 23
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 4.4.4.4, Tun_Id 104, Tun_Instance 1
    RSVP Path Info:
      My Address: 23.0.0.2  
      Explicit Route: 23.0.0.3 34.0.0.3 34.0.0.4 4.4.4.4
      Record   Route:   NONE
      Tspec: ave rate=10000 kbits, burst=1000 bytes, peak rate=10000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=10000 kbits, burst=1000 bytes, peak rate=10000 kbits

R3#show mpls forwarding-table
Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop   
Label  Label or VC   or Tunnel Id      Switched      interface             
16     Pop Label     2.2.2.2/32        0             Fa0/1      23.0.0.2   
17     16            1.1.1.1/32        3118          Fa0/1      23.0.0.2   
18     Pop Label     12.0.0.0/24       570           Fa0/1      23.0.0.2   
19     Pop Label     1.1.1.1 14 [28]   3288          Fa0/0      34.0.0.4   
21     Pop Label     4.4.4.4/32        0             Fa0/0      34.0.0.4   
22     21            4.4.4.4 41 [14]   0             Fa0/1      23.0.0.2   
23     Pop Label     1.1.1.1 104 [1]   3858          Fa0/0      34.0.0.4 

R3#show mpls traffic-eng tunnels

LSP Tunnel R1_t14 is signalled, connection is up
  InLabel  : FastEthernet0/1, 19
  OutLabel : FastEthernet0/0, implicit-null
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 4.4.4.4, Tun_Id 14, Tun_Instance 28
    RSVP Path Info:
      My Address: 34.0.0.3  
      Explicit Route: 34.0.0.4 4.4.4.4
      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

LSP Tunnel R1_t104 is signalled, connection is up
  InLabel  : FastEthernet0/1, 23
  OutLabel : FastEthernet0/0, implicit-null
  RSVP Signalling Info:
       Src 1.1.1.1, Dst 4.4.4.4, Tun_Id 104, Tun_Instance 1
    RSVP Path Info:
      My Address: 34.0.0.3  
      Explicit Route: 34.0.0.4 4.4.4.4
      Record   Route:   NONE
      Tspec: ave rate=10000 kbits, burst=1000 bytes, peak rate=10000 kbits
    RSVP Resv Info:
      Record   Route:   NONE
      Fspec: ave rate=10000 kbits, burst=1000 bytes, peak rate=10000 kbits
 

Continue Reading Verify label stack in TE tunnels…

Create a free website or blog at WordPress.com.
Entries and comments feeds.