<?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 RE: creating acl in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26246#M3481</link>
    <description>Are you applying this ACL on a port or a VLAN? I am assuming you are applying it on the ingress? Also, if the IP address 192.168.3.10 "resides" inside your switch you probably need to swap the destination IP with the source IP (assuming you are applying the ACL on ingress).</description>
    <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
    <dc:creator>Annas_Shaker</dc:creator>
    <dc:date>2015-06-24T16:21:00Z</dc:date>
    <item>
      <title>creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26243#M3478</link>
      <description>Hello everyone,&lt;BR /&gt;
&lt;BR /&gt;
I'm creating acl at x460, however i'd like permit a few traffic and block any access to that specific service like acl below.&lt;BR /&gt;
&lt;BR /&gt;
edit policy acl_input&lt;BR /&gt;
&lt;BR /&gt;
entry permit_telnet {      &lt;BR /&gt;
        if match any {&lt;BR /&gt;
         destination-address 192.168.3.29/32;&lt;BR /&gt;
         source-address 192.168.3.10;&lt;BR /&gt;
         protocol tcp;       &lt;BR /&gt;
         destination-port 23;&lt;BR /&gt;
        }     &lt;BR /&gt;
        then {  &lt;BR /&gt;
         permit;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
                         &lt;BR /&gt;
entry permit_bgp {    &lt;BR /&gt;
        if match any {                       &lt;BR /&gt;
         destination-address 1.3.4.5/32;&lt;BR /&gt;
         source-address 192.168.3.10;&lt;BR /&gt;
         protocol tcp;               &lt;BR /&gt;
         destination-port 179;&lt;BR /&gt;
        } then {              &lt;BR /&gt;
         permit;&lt;BR /&gt;
        }          &lt;BR /&gt;
}                     &lt;BR /&gt;
entry permit_icmp {   &lt;BR /&gt;
        if match any {&lt;BR /&gt;
        protocol icmp;&lt;BR /&gt;
        source-address 192.168.3.10; &lt;BR /&gt;
        } then {                     &lt;BR /&gt;
        permit;  &lt;BR /&gt;
        }        &lt;BR /&gt;
}                &lt;BR /&gt;
entry block_all {&lt;BR /&gt;
        if match all {&lt;BR /&gt;
        source-address 192.168.3.10;&lt;BR /&gt;
        } then {                    &lt;BR /&gt;
        deny; } &lt;BR /&gt;
}               &lt;BR /&gt;
               &lt;BR /&gt;
&lt;BR /&gt;
The question is, when i applied it i lost all connection to switch, however i'd like permit a few ips and service and aftet to do that block all access doesn't permitted to switch. &lt;BR /&gt;
&lt;BR /&gt;
please, how can i created this acl?&lt;BR /&gt;
&lt;BR /&gt;
tks&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 02:33:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26243#M3478</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T02:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26244#M3479</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
where do you apply the policy ? Can you give more details ?&lt;BR /&gt;
Maybe you are connecting to the switch from 192.168.3.10 ?&lt;BR /&gt;
Do you have any other ACL on the switch ?&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Jarek&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26244#M3479</guid>
      <dc:creator>Jarek</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26245#M3480</link>
      <description>Hi Jarek,&lt;BR /&gt;
&lt;BR /&gt;
I'm applying it on x460 where the ip address is 192.168.3.10, a few time later applied it i try connecting on the switch and i can't do that more, so i need logg in via console and disable this access-list, and so on, i'm able connecting them again.&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;Do you have any other ACL on the switch ?&lt;/I&gt;&lt;BR /&gt;
No, i don't&lt;BR /&gt;
&lt;BR /&gt;
In this acl, i'd like firstly permit a few ip address to connect on switch also establish bgp section, after permit i'd like block any attempt access not permit in toward of switch.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26245#M3480</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26246#M3481</link>
      <description>Are you applying this ACL on a port or a VLAN? I am assuming you are applying it on the ingress? Also, if the IP address 192.168.3.10 "resides" inside your switch you probably need to swap the destination IP with the source IP (assuming you are applying the ACL on ingress).</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26246#M3481</guid>
      <dc:creator>Annas_Shaker</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26247#M3482</link>
      <description>Hi Annas,&lt;BR /&gt;
&lt;BR /&gt;
I'm applying this on specific vlan and  mode ingress.&lt;BR /&gt;
&lt;BR /&gt;
it's really Annas, i made a mistake that. i've swapped and work fine until now.&lt;BR /&gt;
&lt;BR /&gt;
Thank you for looking this wrong.&lt;BR /&gt;
&lt;BR /&gt;
Other thing, about creating routing policy like prefix-list at Cisco for instance below;&lt;BR /&gt;
&lt;BR /&gt;
ip prefix-list TESTE seq 10 permit/deny 10.10.0.0/8 le 32&lt;BR /&gt;
&lt;BR /&gt;
At Extreme i can do it like below;&lt;BR /&gt;
as_65000-IN.pol&lt;BR /&gt;
&lt;BR /&gt;
entry politic_input {&lt;BR /&gt;
          if { &lt;BR /&gt;
        nrli 10.10.0.0/8;&lt;BR /&gt;
        }&lt;BR /&gt;
        then {&lt;BR /&gt;
        permit/deny;&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
In this rule i  mean to block the network 10.10.0.0/8, but i need block whole network from /8 until /32, please how can i to do it on Extreme?&lt;BR /&gt;
&lt;BR /&gt;
tks&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26247#M3482</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26248#M3483</link>
      <description>the policy you have above should block the whole network from /8 to /32.</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26248#M3483</guid>
      <dc:creator>Annas_Shaker</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26249#M3484</link>
      <description>Hi Annas, &lt;BR /&gt;
&lt;BR /&gt;
So, it will block or accept from /8 until /32 implicit, so that, i'd like  just /8 or /24 i should configure  "nrli 10.10.0.0/24 exact;" shouldn't i?&lt;BR /&gt;
&lt;BR /&gt;
sincerely&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26249#M3484</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26250#M3485</link>
      <description>For prefix  /24, yes, you must add exact at end.&lt;BR /&gt;
&lt;BR /&gt;
Search in the  concept guide for "Prefix Range Examples" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Jarek</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26250#M3485</guid>
      <dc:creator>Jarek</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26251#M3486</link>
      <description>Tks Jarek for tip.&lt;BR /&gt;
&lt;BR /&gt;
I found what i'm need, i was researching Extremes User Guid and itself doesn't has this information.&lt;BR /&gt;
Now i found in Concepts Guide.&lt;BR /&gt;
&lt;BR /&gt;
Tks</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26251#M3486</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26252#M3487</link>
      <description>after i've read this guide and found "Prefix Range Examples" i configured my route-policy as below;&lt;BR /&gt;
&lt;BR /&gt;
entry bgp_filter {&lt;BR /&gt;
        if match any {&lt;BR /&gt;
        as-path "15123";&lt;BR /&gt;
        } then {&lt;BR /&gt;
        permit;&lt;BR /&gt;
        local-preference 800;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
entry bgp_filter-05 {&lt;BR /&gt;
        if match any {&lt;BR /&gt;
        as-path "1234";&lt;BR /&gt;
        }&lt;BR /&gt;
        then {&lt;BR /&gt;
        permit;&lt;BR /&gt;
        local-preference 450;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
entry bgp_filter-10 {&lt;BR /&gt;
        if match any {&lt;BR /&gt;
        nlri any/20 max 24;&lt;BR /&gt;
        as-path "^56789$";&lt;BR /&gt;
        }&lt;BR /&gt;
        then {&lt;BR /&gt;
        permit;&lt;BR /&gt;
        local-preference 750;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
entry bgp_filter-100 {&lt;BR /&gt;
        if match all {&lt;BR /&gt;
        } then {&lt;BR /&gt;
        deny;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
at entry bgp_filter-10 i wanna permit all ip address inside from /20 to /24 but when i runnig refresh in my policy, i can't see this filter being full applied, or be, i still see prefix from /20 to /32 and the local-preference being applied.&lt;BR /&gt;
&lt;BR /&gt;
What is the better way to built this rule?</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26252#M3487</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26253#M3488</link>
      <description>Insert rule  "bgp_filter-10"  on the top of this policy.&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Jarek&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26253#M3488</guid>
      <dc:creator>Jarek</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26254#M3489</link>
      <description>Hi&lt;B&gt;@Jarek&lt;/B&gt;,&lt;BR /&gt;
&lt;BR /&gt;
I have done it, however when i applied this rule it mark all prefix from /20 to /32 as local-preference 750, in case i belive that i should create a rule blocking  /25 like "nlri any/25;" comming into ASN 56789 and so, apply another policy setting up local-preference, because i'm looking that Prefix Range doesn't work as should. &lt;BR /&gt;
&lt;BR /&gt;
So, i applied the rule like below to work as i wish.&lt;BR /&gt;
&lt;BR /&gt;
entry bgp_filter-0 {&lt;BR /&gt;
        if match any {&lt;BR /&gt;
        nlri any/25 ;&lt;BR /&gt;
        as-path "^56789$";&lt;BR /&gt;
        }&lt;BR /&gt;
        then {&lt;BR /&gt;
   deny;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
entry bgp_filter-3 {&lt;BR /&gt;
        if match any {&lt;BR /&gt;
        as-path "^56789$";&lt;BR /&gt;
        }&lt;BR /&gt;
        then {&lt;BR /&gt;
    local-preference 750;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
and the next rule are the same.&lt;BR /&gt;
&lt;BR /&gt;
Is prefix range working as hope? It is my doubts.</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26254#M3489</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26255#M3490</link>
      <description>Wellison, I forgot to add one thing about the entry.&lt;BR /&gt;
&lt;BR /&gt;
entry bgp_filter-10 {&lt;BR /&gt;
        if match any {                      &lt;BR /&gt;
        nlri any/20 max 24;&lt;BR /&gt;
        as-path "^56789$";&lt;BR /&gt;
        }&lt;BR /&gt;
        then {&lt;BR /&gt;
        permit;&lt;BR /&gt;
        local-preference 750;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
"if match any" means - if any of those two is true, match occours &lt;BR /&gt;
In this case all prefixes /XX will be true for  as-path "^56789$" + prefixes  /20 to /24&lt;BR /&gt;
&lt;BR /&gt;
If you change this to "if match all" (which is default), then all match conditions must be true&lt;BR /&gt;
 and you will have prefixes /20 - /24 in AS 56789&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Jarek</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26255#M3490</guid>
      <dc:creator>Jarek</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: creating acl</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26256#M3491</link>
      <description>Hello Jarek.&lt;BR /&gt;
&lt;BR /&gt;
It's exactly i wish. I need match all.&lt;BR /&gt;
&lt;BR /&gt;
somehow what i concluded is this table "Prefix Range Example" doesn't work as expected.&lt;BR /&gt;
&lt;BR /&gt;
If anyone at Extreme wishs to do more test i'm avaliable to go ahed with it.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/creating-acl/m-p/26256#M3491</guid>
      <dc:creator>welisson</dc:creator>
      <dc:date>2015-06-24T16:21:00Z</dc:date>
    </item>
  </channel>
</rss>

