Networks Thread, Cisco IOS ACL - port range? in Technical; Is it possible to set up an ACL on a cisco switch which covers a range of ports (eg. 30015-30215)?
...
-
10th February 2012, 01:52 PM #1 Cisco IOS ACL - port range?
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...
-
-
IDG Tech News
-
10th February 2012, 09:59 PM #2 
Originally Posted by
localzuk
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)
-
-
10th February 2012, 10:32 PM #3 
Originally Posted by
alttab
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.
-
-
11th February 2012, 05:49 AM #4 
Originally Posted by
localzuk
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.
-
-
16th February 2012, 09:07 AM #5
-
-
16th February 2012, 10:32 AM #6 Just stick "range 30015-30215" instead of "eq 30015"
-
SHARE:
Similar Threads
-
By phughes in forum Internet Related/Filtering/Firewall
Replies: 6
Last Post: 2nd November 2010, 12:16 PM
-
By pete in forum Networks
Replies: 0
Last Post: 27th May 2010, 11:41 AM
-
By Sunderwood in forum Classified Adverts
Replies: 16
Last Post: 31st March 2010, 11:00 PM
-
By Joedetic in forum Hardware
Replies: 4
Last Post: 28th February 2007, 11:39 AM
-
By Ric_ in forum Hardware
Replies: 10
Last Post: 2nd October 2005, 11:24 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules