<?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 Layer-7 Class-maps: 'not' match-any in Application Networking</title>
    <link>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463311#M30296</link>
    <description>&lt;P&gt;Hallo All,&lt;/P&gt;&lt;P&gt;I'm wondering if the following logic is possible on the ACEs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Match is:&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-any CM7-MatchSrcIP&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 10 match source-address 192.168.0.0 255.255.0.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 20 match source-address 172.16.0.0 255.255.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-any CM7-URLs&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 10 match http url /testing.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-all CM7-WWW&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 10 match class-map CM7-MatchSrcIP&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 20 match class-map CM7-URLs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above URL and IP sources are matched, I want to send to a specific SF. (easy enough)&lt;/P&gt;&lt;P&gt;If the URL matches /testing.* but source IP address doesn't match of any of the above subnets, I want to redirect to a 'restricted' page. (ummm)&lt;/P&gt;&lt;P&gt;If the URL is something else (e.g. /temporary.*) with any IP source address, I want it to be load-balanced by a different SF (say like in a class-default)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in adv&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2010 07:58:41 GMT</pubDate>
    <dc:creator>dlongworth</dc:creator>
    <dc:date>2010-08-24T07:58:41Z</dc:date>
    <item>
      <title>Layer-7 Class-maps: 'not' match-any</title>
      <link>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463311#M30296</link>
      <description>&lt;P&gt;Hallo All,&lt;/P&gt;&lt;P&gt;I'm wondering if the following logic is possible on the ACEs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First Match is:&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-any CM7-MatchSrcIP&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 10 match source-address 192.168.0.0 255.255.0.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 20 match source-address 172.16.0.0 255.255.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-any CM7-URLs&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 10 match http url /testing.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class-map type http loadbalance match-all CM7-WWW&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 10 match class-map CM7-MatchSrcIP&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 20 match class-map CM7-URLs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above URL and IP sources are matched, I want to send to a specific SF. (easy enough)&lt;/P&gt;&lt;P&gt;If the URL matches /testing.* but source IP address doesn't match of any of the above subnets, I want to redirect to a 'restricted' page. (ummm)&lt;/P&gt;&lt;P&gt;If the URL is something else (e.g. /temporary.*) with any IP source address, I want it to be load-balanced by a different SF (say like in a class-default)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in adv&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2010 07:58:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463311#M30296</guid>
      <dc:creator>dlongworth</dc:creator>
      <dc:date>2010-08-24T07:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Layer-7 Class-maps: 'not' match-any</title>
      <link>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463312#M30297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure you can try this on the ACE, you already created most of the configuration so now just need to apply the maps under the first-match policy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your description this is how this policy should look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;policy-map type loadbalance first-match SLB_LOGIC&lt;BR /&gt;&amp;nbsp; class CM7-WWW&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverfarm Testing&lt;BR /&gt;&amp;nbsp; class CM7-URLs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverfarm Restricted&lt;BR /&gt;&amp;nbsp; class class-default&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; serverfarm Any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- ACE checks for testing plus IP address matching.&lt;/P&gt;&lt;P&gt;- If user belongs to any other subnet then SF restricted is used.&lt;/P&gt;&lt;P&gt;- If none of the above statements is matched then defaul class map and SF is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;__ __&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 17:38:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463312#M30297</guid>
      <dc:creator>Pablo</dc:creator>
      <dc:date>2010-08-24T17:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Layer-7 Class-maps: 'not' match-any</title>
      <link>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463313#M30298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah! Matching the URL without the source IP and because of the class-maps respective position it should match all-else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your helpful reply Pablo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Aug 2010 23:12:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463313#M30298</guid>
      <dc:creator>dlongworth</dc:creator>
      <dc:date>2010-08-24T23:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Layer-7 Class-maps: 'not' match-any</title>
      <link>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463314#M30299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And Bingo was his name-o&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad to help &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__ __&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 05:32:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/application-networking/layer-7-class-maps-not-match-any/m-p/1463314#M30299</guid>
      <dc:creator>Pablo</dc:creator>
      <dc:date>2010-08-25T05:32:18Z</dc:date>
    </item>
  </channel>
</rss>

