Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Granting multiple port access in an access list 2

Status
Not open for further replies.

TGaylor

MIS
Jul 27, 2004
39
US
When creating a permit statement in an access list where ports are also being specified (eq 3000), what is the syntax to allow multiple ports in numerical sequence?

Would this work (eq 3000-3009), or would you need to create a permit statement for each port?

Thanks,

Tom
 
The syntax is:

access-list 151 permit tcp any any range 1023 9999

to open up TCP ports between 1023 and 9999 in this example
 
yep-

Code:
access-list 101 permit tcp any host xx.xx.xx.xx range 3000 3009

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top