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

Blocking Services

I have 20users on a BO site with 2960 layer2switch and router connecting to HO

I want to block all telnet | SSH | ping request initiating from these 2960 switch.

What configuration is required on the switch to accomplish it.

4 REPLIES
Hall of Fame Super Blue

Re: Blocking Services

Hi

Do you want to restrict telnet/ssh/ping from the BO to any other office or from the users within the BO to anywhere else including the router in the BO.

If the first you could use an inbound access-list on the router interface connecting to the 2960 switch.

if the seconf you might need to look into Vlan access-lists.

Could you tell us which one it is ?

Jon

Bronze

Re: Blocking Services

Hi,

You need to apply an access-list on your router.

Se this brilliant doc on how to do it:

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a0080430e5b.html

HTH

Regards,

Bjornarsb

Re: Blocking Services

Friend,

If you want to disable telnet sessions initiated from the 2960, just use the command transport output none

Line vty 0 15

transport output none.

For disabling ping, you would require an ICMP access-list applied to the gateway router /L3

HTH, rate if it does

Narayan

Community Member

Re: Blocking Services

Far as I know, if U want to block some services like ssh, telnet, icmp U have to work on upper layers, and not layer2...so u can't do that on the swith...I would say u can configure ACL on the router.

U have to build the acl and then apply on a n interface, and on a direction in or out.

Viorel

257
Views
0
Helpful
4
Replies
CreatePlease to create content