Community
Command Central
MVP Program
Monthly Mission
Blogs
Groups
Events
Media Vault
Products
Observability
Network Management
Application Management
IT Security
IT Service Management
System Management
Database Management
Content Exchange
SolarWinds Platform
Server & Application Monitor
Database Performance Analyzer
Server Configuration Monitor
Network Performance Monitor
Network Configuration Manager
SQL Sentry
Web Help Desk
Free Tools & Trials
Store
Home
Products
Network Configuration Manager (NCM)
Line vty 0 4
garciaj
Does anybody know why I can't access to the 3548 switch after running a script. I'm new on this and testing this script on this 3548 switch. The script went successfully without any error, but no luck logging on as telnet or console. Here is the command that I use to execute the script:
${EnterConfigMode}
Line con 0
Password testing
Login
Exec-timeout 15
Line vty 0 4
Password testing
Login
Exec–timeout 15
Line vty 5 15
Password testing
Login
Exec–timeout 15
exit
exit
I don't want to wr mem, until I test the switch. So I try testing it and no luck to access the switch by telnet or console. So I reboot the switch, to get back to the original run-configuration and was able to access the switch. I'm I going something wrong on the script?
Thanks,
Jen
Find more posts tagged with
Accepted answers
All comments
hugh.brown
I don't see a transport line in your script nor can I tell from this if you have a username defined. Ought to look something like this:
${EnterConfigMode}
' Setup the username
username blah *******
' Provide a decent timeout interval
' Choose the transport methods allowed and force login
line vty 0 15
exec-timeout 60 0
password 7 ************
transport input telnet ssh
login
'
${ExitConfigMode}
Do the same for the con 0 connection. Just be careful you don't lock yourself out of the device with the parameters you choose. Keep a console window open and active and test from another.
If you want the choices do a 'Router(config-line)#transport input ?'
ceclark
There should be a results tab. If you have an error, you should see it there.
ceclark
The default transport is all protocols, so that is not needed. Also a username is not a requirement, but a good security measure. You have the commands right, the problem is somewhere else. Check the results tab and see where it is erroring at. What is the error when you try to telnet into the switch?
BTW- You can do the entire vty range (line vty 0 15)
garciaj
Hello, thanks for trying to help me on this. I figure this out. Additionally, you need to add true or false statement in order to work for Cirrus to understand. Here is the command:
Command Script
--------------
'ADVANCED:FILTER RESULTS:False
'ADVANCED:FILTER PATTERN:Serial
'ADVANCED:SHOW COMMANDS:True
${EnterConfigMode}
Line vty 0 4
Password c1sc0
Login
Exec-timeout 15
Line vty 5 15
Password c1sc0
Login
Exec-timeout 15
${ExitConfigMode}
Thanks all!!
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of