08-28-2017 04:02 PM - edited 03-05-2019 09:03 AM
Hi there,
Thanks for reading.
My ISP is dropping packets from our BE COS queue. I just found out we're not marking properly and only 10% of our traffic is in the correct COS queue. Based on legacy requests, the ISP has COS2 set as highest priority. The interface is the termination for IPSEC tunnels. I need to mark those outgoing packets on those tunnels for COS2. I think i need a map and a policy and then attach that policy to tunnel interfaces?
Thanks!
Bob
Solved! Go to Solution.
08-30-2017 12:29 AM
Hi Bob,
OK, only a slight tweak required for IOS-XE:
! ip access-list extended IPSEC-ACL permit udp any eq isakmp any eq isakmp permit esp any any ! class-map IPSEC-CM match access-group IPSEC-ACL ! policy-map IPSEC-PM class IPSEC-CM set cos 2 set dcsp cs2 ! int <outbound_interface> service-policy output IPSEC-PM !
More information can be found here:
cheers,
Seb.
08-29-2017 02:47 AM
Hi Bob,
Try the following:
! ip access-list extended IPSEC-ACL permit udp any eq isakmp any eq isakmp permit esp any any ! class-map match-all IPSEC-CM match access-group name IPSEC-ACL ! policy-map type qos IPSEC-PM class IPSEC-CM set cos 2 set dscp cs2 ! int <outbound_interface> service-policy output IPSEC-PM !
cheers,
Seb.
08-29-2017 11:43 AM
Hi Seb,
Thanks for writing!
My IOS doesn't have type qos under policy-map. Here's what it DOES have. None seem to lead to type QoS. I'm using IOSXE 03.16.03.S
access-control
appnav
control
inspect
packet-service
performance-monitor
service
service-chain
Thanks!
08-30-2017 12:29 AM
Hi Bob,
OK, only a slight tweak required for IOS-XE:
! ip access-list extended IPSEC-ACL permit udp any eq isakmp any eq isakmp permit esp any any ! class-map IPSEC-CM match access-group IPSEC-ACL ! policy-map IPSEC-PM class IPSEC-CM set cos 2 set dcsp cs2 ! int <outbound_interface> service-policy output IPSEC-PM !
More information can be found here:
cheers,
Seb.
08-30-2017 09:29 AM
Thanks Seb, I tried that and can confirm: your recommendations worked, including the IOSXE modification.
08-29-2017 05:34 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide