Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Access-list port Ranges

Good day

I have a quick question I thought that

permit tcp host 206.190.98.82 host 192.168.5.250 eq 50000 50030

will enable be to use port range from 50000 to 50030 but when I do that it doesn't work. I've tried a " - " but that didn't work as well. What is the correct way?

2 REPLIES
Hall of Fame Super Silver

Re: Access-list port Ranges

Warren

Try it this way:

permit tcp host 206.190.98.82 host 192.168.5.250 range 50000 50030

it is range instead of eq

HTH

Rick

New Member

Re: Access-list port Ranges

Thank you sir!!!

450
Views
0
Helpful
2
Replies