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

CatOS - Restrict telnet access

Does the following restrict telnet access to designated hosts?

Or is it just restricting snmp?

set ip permit enable telnet

set ip permit enable snmp

set ip permit 172.20.1.1 255.255.255.240

set ip permit 172.20.2.1 255.255.255.240

2 REPLIES
New Member

Re: CatOS - Restrict telnet access

Archie, I use in this way and works:

set ip permit enable telnet

set ip permit enable snmp

set ip permit 10.0.65.16 telnet

set ip permit 10.0.65.16 snmp

set ip permit 10.0.75.0 255.255.255.0 telnet

set ip permit 10.0.75.0 255.255.255.0 snmp

Good luck

Paulo

Re: CatOS - Restrict telnet access

set ip permit enable telnet

set ip permit enable snmp

These two commands enable the telnet and SNMP protocol.

set ip permit 172.20.1.1 255.255.255.240

set ip permit 172.20.2.1 255.255.255.240

These two commands allow the two hosts to use the enabled protocols.

You can restrict who can use what protocol. Here is an example.

set ip permit 10.1.2.3 ssh

Only this IP can SSH in

set ip permit 10.1.2.4 snmp

Only this IP can SNMP

If you do no enter any 'set ip permit's, all IP's have access to all enabled protocols.

HTH

227
Views
3
Helpful
2
Replies
CreatePlease login to create content