3 comments on “SP MPLS

  1. Hi,

    I am having a problem with class based tunnel selection.

    i configured 3 tunnels and assigned exp values per tunnel but all traffic is flowing through the same tunnel for some reason.

    for simplicity i am posting the configuration from ce and pe routers;

    upgrade fpd auto
    version 12.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname CE1
    !
    boot-start-marker
    boot-end-marker
    !
    logging message-counter syslog
    !
    no aaa new-model
    ip source-route
    ip cef
    !
    !
    !
    !
    no ip domain lookup
    no ipv6 cef
    !
    multilink bundle-name authenticated
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    archive
    log config
    hidekeys
    !
    !
    !
    !
    !
    !
    class-map match-any ef
    match packet length min 900 max 1000
    class-map match-any af12
    match packet length min 1300 max 1400
    class-map match-any af13
    match packet length min 1500 max 1600
    class-map match-any af11
    match packet length min 1100 max 1200
    !
    !
    policy-map input
    class ef
    set ip dscp ef
    class af11
    set ip dscp af11
    class af12
    set ip dscp af12
    class af13
    set ip dscp af13
    !
    !
    !
    !
    !
    interface Loopback0
    ip address 10.0.0.7 255.255.255.255
    !
    interface FastEthernet0/0
    no ip address
    shutdown
    duplex half
    !
    interface FastEthernet1/0
    description Connection to Client1
    bandwidth 5000
    ip address 192.168.153.1 255.255.255.0
    duplex auto
    speed auto
    service-policy input input
    !
    interface FastEthernet1/1
    description Connection to LER_PE1
    bandwidth 5000
    ip address 10.0.7.1 255.255.255.0
    duplex auto
    speed auto
    !
    router ospf 100
    log-adjacency-changes
    network 10.0.0.0 0.0.0.255 area 0
    network 10.0.7.0 0.0.0.255 area 0
    network 192.168.153.0 0.0.0.255 area 0
    !
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    !
    !
    !
    logging alarm informational
    !
    !
    !
    !
    !
    !
    !
    control-plane
    !
    !
    !
    !
    !
    !
    !
    gatekeeper
    shutdown
    !
    !
    line con 0
    stopbits 1
    line aux 0
    stopbits 1
    line vty 0 4
    login
    !
    end

    !
    upgrade fpd auto
    version 12.4
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname LER_PE1
    !
    boot-start-marker
    boot-end-marker
    !
    logging message-counter syslog
    no logging console
    !
    no aaa new-model
    ip source-route
    ip cef
    !
    !
    !
    !
    no ip domain lookup
    no ipv6 cef
    !
    multilink bundle-name authenticated
    mpls traffic-eng tunnels
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    !
    archive
    log config
    hidekeys
    !
    !
    !
    !
    !
    !
    class-map match-all mpls-af11
    match dscp af11
    class-map match-all mpls-af13
    match dscp af13
    class-map match-all mpls-af12
    match dscp af12
    class-map match-all mpls-ef
    match dscp ef
    class-map match-all mpls-exp
    !
    !
    policy-map mpls-exp
    class mpls-ef
    set mpls experimental topmost 5
    class mpls-af11
    set mpls experimental topmost 4
    class mpls-af12
    set mpls experimental topmost 3
    class mpls-af13
    set mpls experimental topmost 2
    !
    !
    !
    !
    !
    interface Loopback0
    ip address 10.0.0.1 255.255.255.255
    !
    interface Tunnel4
    ip unnumbered Loopback0
    tunnel destination 10.0.0.5
    tunnel mode mpls traffic-eng
    tunnel mpls traffic-eng autoroute announce
    tunnel mpls traffic-eng priority 2 2
    tunnel mpls traffic-eng bandwidth 512
    tunnel mpls traffic-eng path-option 1 dynamic
    tunnel mpls traffic-eng exp 4
    no routing dynamic
    !
    interface Tunnel5
    ip unnumbered Loopback0
    tunnel destination 10.0.0.5
    tunnel mode mpls traffic-eng
    tunnel mpls traffic-eng autoroute announce
    tunnel mpls traffic-eng priority 1 1
    tunnel mpls traffic-eng bandwidth 1024
    tunnel mpls traffic-eng path-option 1 dynamic
    tunnel mpls traffic-eng exp 5
    no routing dynamic
    !
    interface Tunnel32
    ip unnumbered Loopback0
    tunnel destination 10.0.0.5
    tunnel mode mpls traffic-eng
    tunnel mpls traffic-eng autoroute announce
    tunnel mpls traffic-eng priority 3 3
    tunnel mpls traffic-eng bandwidth 512
    tunnel mpls traffic-eng path-option 1 dynamic
    tunnel mpls traffic-eng exp 1 2 3 6 7
    no routing dynamic
    !
    interface FastEthernet0/0
    no ip address
    shutdown
    duplex half
    !
    interface FastEthernet1/0
    description Connection to LSR_P1
    bandwidth 2048
    ip address 10.0.3.1 255.255.255.0
    duplex auto
    speed auto
    mpls ip
    ip rsvp bandwidth 2048 2048
    !
    interface FastEthernet1/1
    description Connection to LSR_P2
    bandwidth 512
    ip address 10.0.2.1 255.255.255.0
    duplex auto
    speed auto
    mpls traffic-eng tunnels
    mpls ip
    ip rsvp bandwidth 512 512
    !
    interface FastEthernet2/0
    description Connection to LSR_P3
    bandwidth 1024
    ip address 10.0.1.1 255.255.255.0
    duplex auto
    speed auto
    mpls traffic-eng tunnels
    mpls ip
    ip rsvp bandwidth 1024 1024
    !
    interface FastEthernet2/1
    description Connection to Client1
    bandwidth 5000
    ip address 10.0.7.2 255.255.255.0
    duplex auto
    speed auto
    mpls ip
    service-policy input mpls-exp
    !
    router ospf 100
    mpls traffic-eng router-id Loopback0
    mpls traffic-eng area 0
    log-adjacency-changes
    network 10.0.0.0 0.0.0.255 area 0
    network 10.0.1.0 0.0.0.255 area 0
    network 10.0.2.0 0.0.0.255 area 0
    network 10.0.3.0 0.0.0.255 area 0
    network 10.0.7.0 0.0.0.255 area 0
    network 192.168.153.0 0.0.0.255 area 0
    !
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    !
    !
    !
    logging alarm informational
    !
    !
    !
    !
    !
    !
    !
    control-plane
    !
    !
    !
    !
    !
    !
    !
    gatekeeper
    shutdown
    !
    !
    line con 0
    stopbits 1
    line aux 0
    stopbits 1
    line vty 0 4
    login
    !
    end

    as you can see i have used policies to map traffic using packet size to dscp and dscp to mpls exp.

    any help will be greatly appreciated.

    Regards,
    Munder

  2. I found that this feature works correctly only in 12.0S on 7200s, wasted tons of nerves for a few days with it. Test it and curse morronic Indian Cisco programmers:)!

Leave a Reply

Fill in your details below or click an icon to log in:

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