04-08-2015 07:19 AM - edited 03-07-2019 11:27 PM
Hi,
Could anyone explain me this lines in ACL:
...
permit tcp 10.10.1.0 0.0.0.255 any range 22 telnet
permit tcp 10.30.1.0 0.0.0.255 any range 22 telnet
permit tcp 10.30.2.0 0.0.0.255 any range 22 telnet
deny ip any any log
...
line vty 0 4
access-class telnet-acl in
I don't understand this part "range 22 telnet"
What does it mean?
Telnet port is 23.
SSH port is 22.
Thank you.
Solved! Go to Solution.
04-08-2015 07:46 AM
The range options allows a range of ports so it just allows you to have one line in your acl per IP subnet and include both ports in that line.
Otherwise you would need two lines per subnet, one for each port.
Jon
04-08-2015 07:46 AM
The range options allows a range of ports so it just allows you to have one line in your acl per IP subnet and include both ports in that line.
Otherwise you would need two lines per subnet, one for each port.
Jon
04-08-2015 07:46 AM
Ah
I've got it. Thank you.
I have that in some configuration where I have only telnet access allowed, and I was somehow confused with 22... I had a long day today.
Thanks again.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide