cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
228
Views
0
Helpful
1
Replies

Class-map used by two policies input and output in the same router & interface

alison.hou
Level 1
Level 1

Class-map used by two policies input and output in the same router & interface

Please see partial configs.

 

!for both inbound and outbound

class-map match-any Voice

match ip dscp ef

!

!for inbount policy

policy-map INBOUND

class Voice

   priority percent 40

   set dscp ef

class class-default

   fair-queue!

 

! for outbound policy

policy-map OUTBOUND

  class Voice

    priority 1000

  class class-default

   fair-queue

 

interface atm1/IMA0

Service-policy output OUTBOUND

Service-policy input INBOUND

 

Can this work?

 

thanks,

Alison

1 Reply 1

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Yes (to your post's header question) and no (to your post's content).

 

You can use the same class-map in both IN and OUT CBWFQ policies, as they generally just match packets.  (Although you're not doing so in your posted config, don't forget when matching, and using ACLs, source and destination reverse for IN and OUT.)

 

You can use some of the same policy map class statements, for both IN and OUT, but in your IN policy you're using class statements (queuing) that are limited to just OUT policies.

Review Cisco Networking products for a $25 gift card