cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
434
Views
0
Helpful
4
Replies

Blocking Services

Amin Shaikh
Level 1
Level 1

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 4

Jon Marshall
Hall of Fame
Hall of Fame

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

bjornarsb
Level 4
Level 4

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

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

Spinu Viorel
Level 1
Level 1

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

Review Cisco Networking products for a $25 gift card