Traffic Engineering – a simple configuration

December 10, 2006 at 11:46 pm | Posted in Blogroll, MPLS, Traffic Engineering | Leave a comment

MPLS TE configuration

  

hostname PE1
!
mpls traffic-eng tunnels
!
interface Tunnel0
 ip unnumbered Loopback0
 tunnel destination 192.168.1.33
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 7 7
 tunnel mpls traffic-eng bandwidth  50
 tunnel mpls traffic-eng path-option 10 dynamic
!
interface Loopback0
 ip address 192.168.1.17 255.255.255.255
!
interface Serial0/3
 ip address 192.168.1.49 255.255.255.240
 mpls traffic-eng tunnels
 tag-switching ip
 clockrate 64000
 ip rsvp bandwidth 100 100
!
router ospf 1
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0
 log-adjacency-changes
 network 192.168.1.0 0.0.0.255 area 0


!**************************************************


hostname P1
mpls traffic-eng tunnels
!
interface Loopback0
 ip address 192.168.1.81 255.255.255.255
!
interface Serial0/0
 ip address 192.168.1.50 255.255.255.240
 mpls traffic-eng tunnels
 tag-switching ip
 ip rsvp bandwidth 100 100
!
interface Serial0/1
 ip address 192.168.1.66 255.255.255.240
 mpls traffic-eng tunnels
 tag-switching ip
 ip rsvp bandwidth 100 100
!
router ospf 1
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0
 log-adjacency-changes
 network 192.168.1.0 0.0.0.255 area 0


!**************************************************


hostname PE2
!
mpls traffic-eng tunnels
interface Loopback0
 ip address 192.168.1.33 255.255.255.255
!
interface Tunnel0
 ip unnumbered Loopback0
 tunnel destination 192.168.1.17
 tunnel mode mpls traffic-eng
 tunnel mpls traffic-eng priority 7 7
 tunnel mpls traffic-eng bandwidth  50
 tunnel mpls traffic-eng path-option 10 dynamic
!
interface Serial0/3
 ip address 192.168.1.65 255.255.255.240
 mpls traffic-eng tunnels
 tag-switching ip
 clockrate 64000
 ip rsvp bandwidth 100 100
!
router ospf 1
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng area 0
 log-adjacency-changes
 network 192.168.1.0 0.0.0.255 area 0



!**************************************************


PE1#sh mpls traffic-eng tunnels summary 
Signalling Summary:
    LSP Tunnels Process:            running
    RSVP Process:                   running
    Forwarding:                     enabled
    Head: 1 interfaces, 1 active signalling attempts, 1 established
          1 activations, 0 deactivations
    Midpoints: 0, Tails: 1
    Periodic reoptimization:        every 3600 seconds, next in 3298 seconds
    Periodic auto-bw collection:    disabled


PE1#sh mpls traffic-eng tunnels Tunnel0

Name: PE1_t0                              (Tunnel0) Destination: 192.168.1.33
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected
    path option 10, type dynamic (Basis for Setup, path weight 128)
  Config Parameters:
    Bandwidth: 50       kbps (Global)  Priority: 7  7   Affinity: 0x0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  disabled  LockDown: disabled  Loadshare: 50       bw-based
    auto-bw: disabled

  InLabel  :  - 
  OutLabel : Serial0/3, 19
  RSVP Signalling Info:
       Src 192.168.1.17, Dst 192.168.1.33, Tun_Id 0, Tun_Instance 120
    RSVP Path Info:
      My Address: 192.168.1.17   
      Explicit Route: 192.168.1.50 192.168.1.65 192.168.1.33 
      Record Route:  NONE
      Tspec: ave rate=50 kbits, burst=1000 bytes, peak rate=50 kbits
    RSVP Resv Info:
      Record Route:  NONE
      Fspec: ave rate=50 kbits, burst=1000 bytes, peak rate=50 kbits
  Shortest Unconstrained Path Info:
    Path Weight: 128 (TE)
    Explicit Route: 192.168.1.50 192.168.1.65 192.168.1.33 
  History:
    Tunnel:
      Time since created: 59 minutes, 10 seconds
      Time since path change: 3 minutes, 49 seconds
    Current LSP:
      Uptime: 3 minutes, 49 seconds

PE1#show mpls traffic-eng tunnels

Name: PE1_t0                              (Tunnel0) Destination: 192.168.1.33
  Status:
    Admin: up         Oper: up     Path: valid       Signalling: connected

    path option 10, type dynamic (Basis for Setup, path weight 1064)

  Config Parameters:
    Bandwidth: 50       kbps (Global)  Priority: 7  7   Affinity: 0x0/0xFFFF
    Metric Type: TE (default)
    AutoRoute:  disabled  LockDown: disabled  Loadshare: 50       bw-based
    auto-bw: disabled

  InLabel  :  - 
  OutLabel : Serial0/3, 19
  RSVP Signalling Info:
       Src 192.168.1.17, Dst 192.168.1.33, Tun_Id 0, Tun_Instance 120
    RSVP Path Info:
      My Address: 192.168.1.17   
      Explicit Route: 192.168.1.50 192.168.1.65 192.168.1.33 
      Record Route:  NONE
      Tspec: ave rate=50 kbits, burst=1000 bytes, peak rate=50 kbits
    RSVP Resv Info:
      Record Route:  NONE
      Fspec: ave rate=50 kbits, burst=1000 bytes, peak rate=50 kbits
  History:
    Tunnel:
      Time since created: 1 hours, 4 minutes
      Time since path change: 8 minutes, 48 seconds
    Current LSP:
      Uptime: 8 minutes, 48 seconds

LSP Tunnel PE2_t0 is signalled, connection is up
  InLabel  : Serial0/3, implicit-null
  OutLabel :  - 
  RSVP Signalling Info:
       Src 192.168.1.33, Dst 192.168.1.17, Tun_Id 0, Tun_Instance 69
    RSVP Path Info:
      My Address: 192.168.1.17   
      Explicit Route:  NONE
      Record Route:  NONE
      Tspec: ave rate=50 kbits, burst=1000 bytes, peak rate=50 kbits
    RSVP Resv Info:
      Record Route:  NONE
      Fspec: ave rate=50 kbits, burst=1000 bytes, peak rate=50 kbits



PE1#show ip rsvp interface
interface    allocated  i/f max  flow max sub max 
Se0/3        50K        100K     100K     0 

PE1#show mpls traffic-eng topology 192.168.1.33

IGP Id: 192.168.1.33, MPLS TE Id:192.168.1.33 Router Node  id 2
      link[0 ]:Nbr IGP Id: 192.168.1.81, nbr_node_id:3, gen:6
          frag_id 0, Intf Address:192.168.1.65, Nbr Intf Address:192.168.1.66
          TE metric:64, IGP metric:64, attribute_flags:0x0
          physical_bw: 1544 (kbps), max_reservable_bw_global: 100 (kbps)
          max_reservable_bw_sub: 0 (kbps)

                                 Global Pool       Sub Pool
               Total Allocated   Reservable        Reservable
               BW (kbps)         BW (kbps)         BW (kbps)
               ---------------   -----------       ----------
        bw[0]:            0              100                0
        bw[1]:            0              100                0
        bw[2]:            0              100                0
        bw[3]:            0              100                0
        bw[4]:            0              100                0
        bw[5]:            0              100                0
        bw[6]:            0              100                0
        bw[7]:           50               50                0
Advertisements

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.
Entries and comments feeds.

%d bloggers like this: