Solved

telnet from one switch to another

Posted on 2013-01-13
5
1,393 Views
Last Modified: 2013-01-27
I have Swicth1 and Switch2 Trunked.
I have only one Rollover cable(console cable), plugged to one of the switches.
Instead of unplugging the rollover cable from on switch and plug it to another, I would like just to telnet from one switch to another then back whenever I need.
Both switch are L3 Switches and have some common vlans, and they are both configured with Interface vlans for each vlan.

Any  help will be appreciated
Thanks
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 17

Assisted Solution

by:rochey2009
rochey2009 earned 125 total points
ID: 38772387
Hi,

I'm assuming they're Cisco switches.

Make sure you have

Lin vty 0 4
 Password xxxxxx
 Login

Defined on the switch you want to telnet onto.

The numbers may vary.

Also make sure both switches have an ip address that is reachable by the other.


You can either use

Telnet x.x.x.x or just the address x.x.x.x on its own will let you telnet onto the other switch.
0
 
LVL 18

Assisted Solution

by:Akinsd
Akinsd earned 125 total points
ID: 38772557
The switches must have an ip address and be in the same vlan for you to be able to telnet.

It is a good idea to have a management lan if you don't have one.

Asuming
your subnet is 192.168.1.0 /24
your management lan is vlan 10
You gateway is 192.168.1.254

on each switch,
Sw1(config)#int vlan 10
Sw1(config-if)#ip address 192.168.1.201 255.255.255.0
Sw1(config-if)#exit
Sw1(config)#ip default-gateway 192.168.1.254

Sw2(config)#int vlan 10
Sw2(config-if)#ip address 192.168.1.202 255.255.255.0
Sw2(config-if)#exit
Sw2(config)#ip default-gateway 192.168.1.254

from the priviledge mode of Sw1, you can then telnet to Sw2
eg
Sw1#telnet 192.168.1.202
0
 
LVL 9

Assisted Solution

by:Sandeep Gupta
Sandeep Gupta earned 125 total points
ID: 38773580
SW1# telnet <<SW2 B2B IP>> /source-interface <<SW1 B2B interface>>
0
 
LVL 6

Accepted Solution

by:
airwrck earned 125 total points
ID: 38783741
you've been given the configuration and instructions on the telnet activity.

In order to switch back to the source session without logging off,  <Ctrl> <Shift> 6 x (basically <Ctrl> ^ and then the x key).  It will take you back to your source switch, allow you to do operations, and you can return to the client telnet session by pressing <Return> on a blank line.  You can also manually disconnect the client telnet session by typing discon 1 on the command line of the source session.

hope this helps, good luck with whatever you're doing (sounds like a little lab setup)
0
 

Author Closing Comment

by:jskfan
ID: 38825809
Thank you
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPv6 question 1 55
SolarWinds reporting 2 31
VLAN Configuration on Cisco Switch 8 37
Multicast IGMP Join Group 8 19
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question