cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1666
Views
0
Helpful
4
Replies

Why I can't set exp bit ?

policy-map match
class exp_0
class exp_1
class exp_2
class exp_3
class exp_4
class exp_5
class exp_6
class exp_7

class-map match-all exp_2
match mpls experimental topmost 2
class-map match-all exp_3
match mpls experimental topmost 3
class-map match-all exp_0
match mpls experimental topmost 0
class-map match-all exp_1
match mpls experimental topmost 1
class-map match-all exp_6
match mpls experimental topmost 6
class-map match-all exp_7
match mpls experimental topmost 7
class-map match-all exp_4
match mpls experimental topmost 4
class-map match-all exp_5
match mpls experimental topmost 5

policy-map L3VPN_multigold_in_100m
class class-default
  police cir 100000000 conform-action transmit exceed-action drop

  service-policy L3VPN_mutigold_in_Child

policy-map L3VPN_mutigold_in_Child
class realtime
  police rate percent 50 conform-action set-mpls-exp-imposition-transmit 4 exceed-action drop
class business_data
  police rate percent 25 conform-action set-mpls-exp-imposition-transmit 4 exceed-action drop
class class-default
  police rate percent 25 conform-action set-mpls-exp-imposition-transmit 4 exceed-action transmit

class-map match-any realtime
match dscp ef
match dscp cs5
match dscp cs6
match dscp cs7
match dscp af41
class-map match-any business_data
match dscp af31
match dscp cs3
match dscp cs2
match dscp af21

interface TenGigabitEthernet2/1
ip arp inspection limit none
no ip address
load-interval 30
service-policy input L3VPN_multigold_in_100m
service instance 10 ethernet
  encapsulation dot1q 10
  rewrite ingress tag pop 1 symmetric
  bridge-domain 10

interface Vlan10

ip vrf forwarding l3vpn-mqos

ip address 192.168.1.1 255.255.255.0


interface TenGigabitEthernet2/2
mtu 9000
ip address 192.168.11.2 255.255.255.0
ip router isis
load-interval 30
mpls ip
mpls traffic-eng tunnels
clns mtu 1497
isis circuit-type level-2-only
isis network point-to-point
isis metric 100 level-2
service-policy output match
ip rsvp bandwidth 1410066

pe1#sho policy-map int | inc Ten|Cla|pac
TenGigabitEthernet2/1
Class-map: class-default (match-any)
  2465961 packets, 2579395206 bytes
  conformed 1264280 packets, 1322436880 bytes; actions:
  exceeded 300382 packets, 314199572 bytes; actions:
Class-map: realtime (match-any)
  1232980 packets, 1289697080 bytes
  conformed 632139 packets, 661217394 bytes; actions:
  exceeded 600767 packets, 628402282 bytes; actions:
Class-map: business_data (match-any)
  616491 packets, 644849586 bytes
  conformed 316070 packets, 330609220 bytes; actions:
  exceeded 300384 packets, 314201664 bytes; actions:
Class-map: class-default (match-any)
  616490 packets, 644848540 bytes
  conformed 316069 packets, 330608174 bytes; actions:
  exceeded 300384 packets, 314201664 bytes; actions:
TenGigabitEthernet2/2
Class-map: exp_0 (match-all)
  471098 packets, 494652900 bytes
Class-map: exp_1 (match-all)
  0 packets, 0 bytes
Class-map: exp_2 (match-all)
  245559 packets, 257836950 bytes
Class-map: exp_3 (match-all)
  0 packets, 0 bytes
Class-map: exp_4 (match-all)
  0 packets, 0 bytes
Class-map: exp_5 (match-all)
  554263 packets, 581976150 bytes
Class-map: exp_6 (match-all)
  0 packets, 0 bytes
Class-map: exp_7 (match-all)
  0 packets, 0 bytes
Class-map: class-default (match-any)
  0 packets, 0 bytes

SW: (c7600rsp72043_rp-ADVIPSERVICESK9-M), Version 15.3(1)S
HW: 76-ES+XT-2TG3CXL

Thank you very much.

4 Replies 4

rsimoni
Cisco Employee
Cisco Employee

Hi,

can you try to use in L3VPN_mutigold_in_Child policy the command set-mpls-exp-topmost-transmit instead of

set-mpls-exp-imposition-transmit?

Riccardo

Now I changed to:

policy-map L3VPN_mutigold_in_Child

class realtime

  police rate percent 50 conform-action set-mpls-exp-topmost-transmit 4 exceed-action drop

class business_data

  police rate percent 25 conform-action set-mpls-exp-imposition-transmit 4 exceed-action drop

class class-default

  police rate percent 25 conform-action set-mpls-exp-imposition-transmit 4 exceed-action transmit

Its not changed.

pe1# pe1#sho policy-map int | inc Cla|pac
    Class-map: class-default (match-any) 
      11721193 packets, 12002501632 bytes
        conformed 6001573 packets, 6145610752 bytes; actions:
        exceeded 0 packets, 0 bytes; actions:
        Class-map: realtime (match-any) 
          11721193 packets, 12002501632 bytes
            conformed 6001573 packets, 6145610752 bytes; actions:
            exceeded 5719822 packets, 5857097728 bytes; actions:
        Class-map: business_data (match-any) 
          0 packets, 0 bytes
            conformed 0 packets, 0 bytes; actions:
            exceeded 0 packets, 0 bytes; actions:
        Class-map: class-default (match-any) 
          0 packets, 0 bytes
            conformed 0 packets, 0 bytes; actions:
            exceeded 0 packets, 0 bytes; actions:
    Class-map: exp_0 (match-all) 
      0 packets, 0 bytes
    Class-map: exp_1 (match-all) 
      0 packets, 0 bytes
    Class-map: exp_2 (match-all) 
      0 packets, 0 bytes
    Class-map: exp_3 (match-all) 
      0 packets, 0 bytes
    Class-map: exp_4 (match-all) 
      0 packets, 0 bytes
    Class-map: exp_5 (match-all) 
      0 packets, 0 bytes
    Class-map: exp_6 (match-all) 
      0 packets, 0 bytes
    Class-map: exp_7 (match-all) 
      0 packets, 0 bytes
    Class-map: class-default (match-any) 
      0 packets, 0 bytes

Thank you very much.

Hi,

that fact that NO class is seeing hits makes me think that the output policy is not working as expected.

So we cannot tell if we have a cosmetic issue for which traffic is correctly marked but not accounted as such, or traffic is really not marked.

Finding this out on the same device can be troublesome and time consuming, specially on a forum thread.

You should be doing some capture on  egress PE in order to see the actual marking for this FEC?

Riccardo

Hi,

I captured on egress PE for you.

monitor session 1 source interface Te2/2 tx

monitor session 1 destination interface Gi5/2

http://www.4shared.com/get/5aYgjarq/ES_Problem_cant_set_exp_bit.html

Its seen exp bit is 0.

Thank you very much.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: