localzuk Posted February 10, 2012 Posted February 10, 2012 Is it possible to set up an ACL on a cisco switch which covers a range of ports (eg. 30015-30215)? I can do individual ports easily enough, but I don't want to have to do 200 ports...
alttab Posted February 10, 2012 Posted February 10, 2012 Is it possible to set up an ACL on a cisco switch which covers a range of ports (eg. 30015-30215)? I can do individual ports easily enough, but I don't want to have to do 200 ports... have a look at the int range command. should put a range of interfaces (either vlan, gigE, FE) from within config mode. if you have a range of none contiguous ports you may be able to use a comma to specify all the different ports you want to apply acl to in one command (although have not had a reason to use that before so don't know how well the latter works)
localzuk Posted February 10, 2012 Author Posted February 10, 2012 have a look at the int range command. should put a range of interfaces (either vlan, gigE, FE) from within config mode. if you have a range of none contiguous ports you may be able to use a comma to specify all the different ports you want to apply acl to in one command (although have not had a reason to use that before so don't know how well the latter works) I'm referring to TCP/UDP ports, rather than physical ports. The int range command refers to physical ports.
alttab Posted February 11, 2012 Posted February 11, 2012 I'm referring to TCP/UDP ports, rather than physical ports. The int range command refers to physical ports. sorry, i read it as you wanting to apply an acl(s) to a range of interfaces. thought it sounded a bit strange needing to apply ip acl's to 200 switch ports. should have read your first post properly.
cpjitservices Posted February 16, 2012 Posted February 16, 2012 This page may help you. Configuring Commonly Used IP ACLs - Cisco Systems I love ACL's
nicholab Posted February 16, 2012 Posted February 16, 2012 Just stick "range 30015-30215" instead of "eq 30015"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now