Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Cisco Employee

MQC on main int and MQC on sub int and shared policy-map difference

Hi team,

 

I would like to know how it is different for the following three config in terms of behavior and resource management.

 

1) One shared policy instance on multiple sub-interfaces.

interface TenGigE0/0/0/0
!
interface TenGigE0/0/0/0.100

 service-policy output TEST shared-policy-instance
 encapsulation dot1q 100
!
interface TenGigE0/0/0/0.200

 service-policy output TEST shared-policy-instance
 encapsulation dot1q 200
!
interface TenGigE0/0/0/0.3

 service-policy output TEST shared-policy-instance
 encapsulation dot1q 300

  

2) One policy-map on main interface.

interface TenGigE0/0/0/0
 service-policy output TEST
!
interface TenGigE0/0/0/0.100
 encapsulation dot1q 100
!
interface TenGigE0/0/0/0.200
 encapsulation dot1q 200
!
interface TenGigE0/0/0/0.3
 encapsulation dot1q 300

 

3) Multiple policy-map on multiple sub-interfaces.

interface TenGigE0/0/0/0
!
interface TenGigE0/0/0/0.100

 service-policy output TEST
 encapsulation dot1q 100
!
interface TenGigE0/0/0/0.200

 service-policy output TEST
 encapsulation dot1q 200
!
interface TenGigE0/0/0/0.3

 service-policy output TEST
 encapsulation dot1q 300

 

policy-map TEST
 class IT
  police rate percent 40
   conform-action transmit
   exceed-action drop
  !
  priority level 1
 !
 class IT_PREMIUM
  bandwidth percent 30
 !
 class class-default
  bandwidth percent 30
 !
 end-policy-map

 

Thanks.

Juho

 

Everyone's tags (1)
29
Views
0
Helpful
0
Replies
CreatePlease to create content