<?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 S/N/K-Series Policy Based Routing example Selects among Multiple Next Hops in FAQs</title>
    <link>https://community.extremenetworks.com/t5/faqs/s-n-k-series-policy-based-routing-example-selects-among-multiple/m-p/50452#M660</link>
    <description>Article ID: 13620 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
S-Series&lt;BR /&gt;
Matrix N-Series DFE, firmware 7.11.01.0025 and higher&lt;BR /&gt;
K-Series &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
Use different PBR next-hop addresses depending on packet characteristics. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
This may be accomplished by specifying more than one map within the assigned route-map, with each map represented by a sequence number. When evaluating a PBR route-map for a routed packet, the process walks through each map in sequence. &lt;BR /&gt;
&lt;BR /&gt;
In the firmware 7.x sample configuration shown here...&lt;UL&gt; 
&lt;LI&gt;Initially, map 10 yields a packet match to the NacWebRedirect access-list if the packet uses both TCP port 80 and DSCP value af12 (&lt;A href="http://bit.ly/1rOVKny" target="_blank" rel="nofollow noreferrer noopener"&gt;5811&lt;/A&gt;). If it does match, then it is forwarded to the next-hop address as defined ("10.10.12.1"). 
&lt;/LI&gt;&lt;LI&gt;Otherwise, map 20 (next in sequence) yields a packet match to the ACL-SourceIP access-list if the packet's Source IP address falls within one of the specified (reverse-masked) ranges. If it does match, then it is forwarded to the next-hop address as defined ("10.10.0.6"). 
&lt;/LI&gt;&lt;LI&gt;This process may continue for further iterations as desired. Here there are only two maps configured. 
&lt;/LI&gt;&lt;LI&gt;When all relevant maps have been examined with no match, then (by default: &lt;A href="http://bit.ly/1d12d2G" target="_blank" rel="nofollow noreferrer noopener"&gt;13123&lt;/A&gt;) the packet is forwarded per the routing table.&lt;/LI&gt;&lt;/UL&gt;configure terminal&lt;BR /&gt;
!&lt;BR /&gt;
ip access-list extended NacWebRedirect&lt;BR /&gt;
  permit tcp any any eq 80 dscp af12&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
 ip access-list standard ACL-SourceIP&lt;BR /&gt;
  permit 10.10.179.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.250.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.248.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.200.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.253.224 0.0.0.31&lt;BR /&gt;
  permit 10.10.254.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.181.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.251.254 0.0.0.255&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
 route-map policy policy1 permit 10&lt;BR /&gt;
  match ip address NacWebRedirect&lt;BR /&gt;
  set next-hop 10.10.12.1&lt;BR /&gt;
  exit&lt;BR /&gt;
 route-map policy policy1 permit 20&lt;BR /&gt;
  match ip address ACL-Source-IP&lt;BR /&gt;
  set next-hop 10.10.0.6&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
interface vlan.0.10 &lt;BR /&gt;
  ip address 10.10.0.129 255.255.255.248 primary&lt;BR /&gt;
  ip policy route-map policy1&lt;BR /&gt;
  no shutdown&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
exitFor more information, please refer to the &lt;A href="http://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Configuration/CLI Guide&lt;/A&gt; applicable to your product and firmware version.</description>
    <pubDate>Fri, 06 Dec 2013 23:56:00 GMT</pubDate>
    <dc:creator>FAQ_User</dc:creator>
    <dc:date>2013-12-06T23:56:00Z</dc:date>
    <item>
      <title>S/N/K-Series Policy Based Routing example Selects among Multiple Next Hops</title>
      <link>https://community.extremenetworks.com/t5/faqs/s-n-k-series-policy-based-routing-example-selects-among-multiple/m-p/50452#M660</link>
      <description>Article ID: 13620 &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Products&lt;/B&gt;&lt;BR /&gt;
S-Series&lt;BR /&gt;
Matrix N-Series DFE, firmware 7.11.01.0025 and higher&lt;BR /&gt;
K-Series &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Goals&lt;/B&gt;&lt;BR /&gt;
Use different PBR next-hop addresses depending on packet characteristics. &lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Solution&lt;/B&gt;&lt;BR /&gt;
This may be accomplished by specifying more than one map within the assigned route-map, with each map represented by a sequence number. When evaluating a PBR route-map for a routed packet, the process walks through each map in sequence. &lt;BR /&gt;
&lt;BR /&gt;
In the firmware 7.x sample configuration shown here...&lt;UL&gt; 
&lt;LI&gt;Initially, map 10 yields a packet match to the NacWebRedirect access-list if the packet uses both TCP port 80 and DSCP value af12 (&lt;A href="http://bit.ly/1rOVKny" target="_blank" rel="nofollow noreferrer noopener"&gt;5811&lt;/A&gt;). If it does match, then it is forwarded to the next-hop address as defined ("10.10.12.1"). 
&lt;/LI&gt;&lt;LI&gt;Otherwise, map 20 (next in sequence) yields a packet match to the ACL-SourceIP access-list if the packet's Source IP address falls within one of the specified (reverse-masked) ranges. If it does match, then it is forwarded to the next-hop address as defined ("10.10.0.6"). 
&lt;/LI&gt;&lt;LI&gt;This process may continue for further iterations as desired. Here there are only two maps configured. 
&lt;/LI&gt;&lt;LI&gt;When all relevant maps have been examined with no match, then (by default: &lt;A href="http://bit.ly/1d12d2G" target="_blank" rel="nofollow noreferrer noopener"&gt;13123&lt;/A&gt;) the packet is forwarded per the routing table.&lt;/LI&gt;&lt;/UL&gt;configure terminal&lt;BR /&gt;
!&lt;BR /&gt;
ip access-list extended NacWebRedirect&lt;BR /&gt;
  permit tcp any any eq 80 dscp af12&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
 ip access-list standard ACL-SourceIP&lt;BR /&gt;
  permit 10.10.179.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.250.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.248.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.200.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.253.224 0.0.0.31&lt;BR /&gt;
  permit 10.10.254.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.181.0 0.0.0.255&lt;BR /&gt;
  permit 10.10.251.254 0.0.0.255&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
 route-map policy policy1 permit 10&lt;BR /&gt;
  match ip address NacWebRedirect&lt;BR /&gt;
  set next-hop 10.10.12.1&lt;BR /&gt;
  exit&lt;BR /&gt;
 route-map policy policy1 permit 20&lt;BR /&gt;
  match ip address ACL-Source-IP&lt;BR /&gt;
  set next-hop 10.10.0.6&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
interface vlan.0.10 &lt;BR /&gt;
  ip address 10.10.0.129 255.255.255.248 primary&lt;BR /&gt;
  ip policy route-map policy1&lt;BR /&gt;
  no shutdown&lt;BR /&gt;
  exit&lt;BR /&gt;
!&lt;BR /&gt;
exitFor more information, please refer to the &lt;A href="http://extranet.enterasys.com/downloads/" target="_blank" rel="nofollow noreferrer noopener"&gt;Configuration/CLI Guide&lt;/A&gt; applicable to your product and firmware version.</description>
      <pubDate>Fri, 06 Dec 2013 23:56:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/faqs/s-n-k-series-policy-based-routing-example-selects-among-multiple/m-p/50452#M660</guid>
      <dc:creator>FAQ_User</dc:creator>
      <dc:date>2013-12-06T23:56:00Z</dc:date>
    </item>
  </channel>
</rss>

