<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic policy-map on tunnel or physical interface? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940548#M1015254</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a 3800 headend router which has a number of ipsec tunnels to remote office sites. Our current QoS design applies a policy-map to each tunnel interface to prioritise and shape outbound traffic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how does the physical egress interface queue and transmit traffic from tunnel interfaces with this design? For example, if a mixture of large data packets and voice packets from different tunnel interfaces hit the physical interface around the same time what will happen to the voice packets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, would it be a better to apply the policy-map to the physical interface instead of the tunnel interfaces? What advantages if any would this bring?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 10:00:08 GMT</pubDate>
    <dc:creator>steve_mils</dc:creator>
    <dc:date>2020-02-21T10:00:08Z</dc:date>
    <item>
      <title>policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940548#M1015254</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a 3800 headend router which has a number of ipsec tunnels to remote office sites. Our current QoS design applies a policy-map to each tunnel interface to prioritise and shape outbound traffic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how does the physical egress interface queue and transmit traffic from tunnel interfaces with this design? For example, if a mixture of large data packets and voice packets from different tunnel interfaces hit the physical interface around the same time what will happen to the voice packets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, would it be a better to apply the policy-map to the physical interface instead of the tunnel interfaces? What advantages if any would this bring?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 10:00:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940548#M1015254</guid>
      <dc:creator>steve_mils</dc:creator>
      <dc:date>2020-02-21T10:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940549#M1015258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should depend whether your tunnel shapers' oversubscribe the physical interface.  If so (i.e. you oversubscribe), then you could get congestion at the physical interface which would be handled by its default queuing for that interface type.  If this is the case, you would need a policy on the physical interface to prioritize important tunnel traffic.  (This is in addition to the tunnel policy.)  Selecting the correct packets to prioritize could be based on the original packet's ToS copied to the tunnel packet's ToS, or via usage of qos pre-classify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2008 23:21:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940549#M1015258</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2008-04-29T23:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940550#M1015261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each tunnel uses the same nested policy, shaped to the speed of the physical internet link (10Mbps):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map QUEUE_DATA&lt;/P&gt;&lt;P&gt; class Voice&lt;/P&gt;&lt;P&gt;  priority percent 15&lt;/P&gt;&lt;P&gt; class Interactive_Video&lt;/P&gt;&lt;P&gt;  priority percent 20&lt;/P&gt;&lt;P&gt; class Call_Signaling&lt;/P&gt;&lt;P&gt;  bandwidth percent 4&lt;/P&gt;&lt;P&gt; class Network_Control&lt;/P&gt;&lt;P&gt;  bandwidth percent 4&lt;/P&gt;&lt;P&gt; class Critical_Data&lt;/P&gt;&lt;P&gt;  bandwidth percent 27&lt;/P&gt;&lt;P&gt;  random-detect dscp-based&lt;/P&gt;&lt;P&gt; class Bulk_Data&lt;/P&gt;&lt;P&gt;  bandwidth percent 4&lt;/P&gt;&lt;P&gt;  random-detect dscp-based&lt;/P&gt;&lt;P&gt; class Scavenger&lt;/P&gt;&lt;P&gt;  set dscp cs1&lt;/P&gt;&lt;P&gt; class class-default&lt;/P&gt;&lt;P&gt;  bandwidth percent 25&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS&lt;/P&gt;&lt;P&gt; class class-default&lt;/P&gt;&lt;P&gt;  shape average 10000000&lt;/P&gt;&lt;P&gt;  service-policy QUEUE_DATA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel0&lt;/P&gt;&lt;P&gt;  description Remote Site X&lt;/P&gt;&lt;P&gt;  service-policy output NESTED_QOS&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel1&lt;/P&gt;&lt;P&gt;  description Remote Site Y&lt;/P&gt;&lt;P&gt;  service-policy output NESTED_QOS&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel2&lt;/P&gt;&lt;P&gt;  description Remote Site Z&lt;/P&gt;&lt;P&gt;  service-policy output NESTED_QOS&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be more efficient / effective to apply the policy-map to the physical interface instead of the tunnels?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 07:53:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940550#M1015261</guid>
      <dc:creator>steve_mils</dc:creator>
      <dc:date>2008-04-30T07:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940551#M1015262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're shaping each tunnel to the outbound physical bandwidth, yes it would be better to just have the policy, without any shaping, on the physical interface.  Again, you'll will either need to depend on a copied ToS value in the outbound packet or use qos pre-classify.  (A single physical policy would be much like your QUEUE_DATA if using qos pre-classify.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!assumes qos-preclassify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Ethernet0&lt;/P&gt;&lt;P&gt;service-policy output QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I thought you might be doing, and you could also do, was shape each tunnel to the far side's ingress bandwidth.  This would require a distinct policy, if the shaper values change, for every tunnel interface, or a policy on the physical interface that has a class per tunnel (matches against tunnel destination address).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!assume local outbound interface not oversubscribed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS_512K&lt;/P&gt;&lt;P&gt;class class-default &lt;/P&gt;&lt;P&gt;shape average 512000 &lt;/P&gt;&lt;P&gt;service-policy QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS_768K&lt;/P&gt;&lt;P&gt;class class-default &lt;/P&gt;&lt;P&gt;shape average 768000&lt;/P&gt;&lt;P&gt;service-policy QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS_1500K&lt;/P&gt;&lt;P&gt;class class-default &lt;/P&gt;&lt;P&gt;shape average 1500000&lt;/P&gt;&lt;P&gt;service-policy QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel1 &lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_786K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel2 &lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_512K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel3&lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_1500K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel4&lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_512K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!assume local outbound interface not oversubscribed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map match-all Tunnel1&lt;/P&gt;&lt;P&gt;match group (ACL that matches tunnel1 destination address)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map match-all Tunnel2&lt;/P&gt;&lt;P&gt;match group (ACL that matches tunnel2 destination address)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map outbound_tunnels&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class Tunnel1&lt;/P&gt;&lt;P&gt;shape average 768000&lt;/P&gt;&lt;P&gt;service-policy output QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class Tunnel2&lt;/P&gt;&lt;P&gt;shape average 512000&lt;/P&gt;&lt;P&gt;service-policy output QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface Ethernet 0&lt;/P&gt;&lt;P&gt;service-policy outbound outbound_tunnels&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all the far side bandwidths exceed your local outbound physical bandwidth, then you should have both tunnel policies, that shape each tunnel, and a physical interface policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;!assume local outbound interface is oversubscribed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS_512K&lt;/P&gt;&lt;P&gt;class class-default &lt;/P&gt;&lt;P&gt;shape average 512000 &lt;/P&gt;&lt;P&gt;service-policy QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS_768K&lt;/P&gt;&lt;P&gt;class class-default &lt;/P&gt;&lt;P&gt;shape average 768000&lt;/P&gt;&lt;P&gt;service-policy QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS_1500K&lt;/P&gt;&lt;P&gt;class class-default &lt;/P&gt;&lt;P&gt;shape average 1500000&lt;/P&gt;&lt;P&gt;service-policy QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel1 &lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_786K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel2 &lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_512K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel3&lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_1500K &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel4&lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_512K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!assumes qos-preclassify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Ethernet0&lt;/P&gt;&lt;P&gt;service-policy output QUEUE_DATA &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 10:30:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940551#M1015262</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2008-04-30T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940552#M1015263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The physical egress interface is 10Mbps on the headend and we have remote sites that have 10, 4 and 4Mbps internet links respectively. Based on your feedback it seems that the best approach for the headend would be to have separate tunnel policies which shape at 10, 4 and 4Mbps and then an overall 10Mbps shaping for the physical interface. We'll also use qos pre-classify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 13:04:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940552#M1015263</guid>
      <dc:creator>steve_mils</dc:creator>
      <dc:date>2008-04-30T13:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940553#M1015264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You shouldn't need a shaper for your 10 Mbps tunnel or egress interface, i.e. something like this might do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map NESTED_QOS_4M&lt;/P&gt;&lt;P&gt;class class-default &lt;/P&gt;&lt;P&gt;shape average 4000000 &lt;/P&gt;&lt;P&gt;service-policy QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel1 &lt;/P&gt;&lt;P&gt;!the physical interface's policy will manage congestion for this tunnel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel2 &lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_4M &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Tunnel3 &lt;/P&gt;&lt;P&gt;service-policy output NESTED_QOS_4M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!assumes qos-preclassify &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface Ethernet0 &lt;/P&gt;&lt;P&gt;service-policy output QUEUE_DATA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 16:20:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940553#M1015264</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2008-04-30T16:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940554#M1015265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just found out that the 10Mbps circuit to the provider is a burstable to 40Mbps and is provided over a 100Mbps bearer. Would it therefore be advisable to create a QUEUE_DATA_10M for the 10Mbps tunnel because this could in theory get swamped?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 09:45:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940554#M1015265</guid>
      <dc:creator>steve_mils</dc:creator>
      <dc:date>2008-05-01T09:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: policy-map on tunnel or physical interface?</title>
      <link>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940555#M1015266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming your remote sites are physically limited to 10, 4 and 4, yes, if burstable to 40 Mbps and the physical interface can support 100 Mbps or gig.  Shape the 10 Mbps tunnel at 10 Mbps.  No need to do anything at the physical interface, since both a 100 Mbps physical and 40 Mbps logical can deal with the combined 18 Mbps without the need to queue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, if your handoff circuit is truly stuck at 10 Mbps.  The physical 10 Mbps at the interface will "shape" both your total traffic and the 10 Mbps tunnel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 10:33:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/policy-map-on-tunnel-or-physical-interface/m-p/940555#M1015266</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2008-05-01T10:33:37Z</dc:date>
    </item>
  </channel>
</rss>

