cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3136
Views
0
Helpful
5
Replies

Clearing VTY lines using SNMP on Catalyst 6506

steinar.lervik
Level 1
Level 1

Hi, have a C6506 switch running at a remote site and now I'm unable to log into it. only gets : 

The remote system refused the connection.

I'm suspecting all vty lines are active and not disconnecting again.

are using net-snmp and runs snmpwalk -v 2c -c comstring hostname 1.3.6.1.4.1.9.2.9.2.1.1

to list out the active connections.

this works fine on the other switches on site like C2960, C3560 etc.  but on the C6506 it's not returning any data.

nor does the snmpset -v2c -c comstring hostname 1.3.6.1.4.1.9.2.9.10.0 integer 2 apare to have any impact on my issues.

This should clear the connection on line 2.

Any tips anyone?

1 Accepted Solution

Accepted Solutions

as per your description of the issue, you have tried different ways, the only option I see for now console.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

suggest to if some can console and clear vty lines will be helpful and set time out on the login, so you will not encounter this issue in the future

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

yes, will do so if not able to remote, requires getting tech staff on site and access to restricted areas, so I'm hoping to avoid the extra work.

as per your description of the issue, you have tried different ways, the only option I see for now console.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

guess I was hoping someone could tell me to use some different OID's for C6506 :-(

and also enable keepalives if you haven't already

service tcp-keepalives-in

service tcp-keepalives-out

 

that, along with an exec and session timeout should prevent this from happening.