Network Management

 View Only
  • 1.  Access-list with inverse mask on AOS-CX

    Posted Oct 09, 2026 11:11 AM

    Hello!

    I want to make an access-list to block all networks from 10.X.50.0/22 to 10.X.80.0/22.  How to do that with AOS-CX ?

    Before with Brocade, I used something like:

    deny ip 10.0.50.0 0.255.3.255 10.0.80.0 0.255.3.255

    One line on all routers.  With AOS-CX it does'nt seem to work, the command is accepted but it block nothing.  The only way I think I could do it, it's to use an object-group and create all networks inside it and block that object-group.

    Is this how to do it with AOS-CX?

    Thank you!



  • 2.  RE: Access-list with inverse mask on AOS-CX
    Best Answer

    Posted Oct 09, 2026 12:40 PM

    AOS-CX doesn't use wildcard masks. In A.B.C.D/W.X.Y.Z the second part is an ordinary subnet mask, where a 1 bit has to match. Your Brocade 0.255.3.255 gets read inverted: the switch accepts it, but it only matches packets with a 0 in the second and last octets, so nothing real gets blocked.

    Flip the mask and it's still one line inside your access-list ip:

    10 deny any 10.0.48.0/255.0.252.0 10.0.80.0/255.0.252.0

    10.X.50.0/22 isn't on a /22 boundary, so that block is really .48.0 to .51.255. Brocade was quietly doing the same with 3.255.

    As far as I know CX ACLs take a non-contiguous mask like 255.0.252.0, but I haven't tested this one. Put count on the entry and check show access-list hitcounts before you roll it out to every router. If your platform won't program it, the object-group you mentioned is the fallback.



    ------------------------------
    Dustin Burns
    @Worldcom Exchange, Inc.
    www.wei.com

    - - -
    The comments I post here are my own, and not my employers
    If my post was useful accept solution and/or give kudos
    Personal Blog: www.networkfieldnotes.com
    - - -
    ------------------------------



  • 3.  RE: Access-list with inverse mask on AOS-CX

    Posted Oct 12, 2026 01:20 PM

    Did flipping the mask sort it? If show access-list hitcounts stays at zero on that deny entry while traffic between those ranges is flowing, your platform probably won't program the non-contiguous mask, and the object-group's the way to go. If it worked, marking it solved helps the next person who goes looking for wildcard masks on CX.



    ------------------------------
    Dustin Burns
    @Worldcom Exchange, Inc.
    www.wei.com

    - - -
    The comments I post here are my own, and not my employers
    If my post was useful accept solution and/or give kudos
    Personal Blog: www.networkfieldnotes.com
    - - -
    ------------------------------



  • 4.  RE: Access-list with inverse mask on AOS-CX

    Posted Oct 13, 2026 02:23 PM

    Hello!

    Yes it's seem to working when we flip the mask.

    Thank you for your help!