Specifications
7-79
Cisco MGX 8850 (PXM45) and MGX 8950 Software Configuration Guide
Release 3, Part Number 78-14788-01 Rev. C0, January 2004
Chapter 7 Switch Operating Procedures
Starting and Managing Telnet Sessions to Other Switches
Starting and Managing Telnet Sessions to Other Switches
The Cisco MGX 8850 and Cisco MGX 8950 switches support Telnet sessions between switches. For
example, you can start a CLI session with one switch, Telnet to a second switch to view configuration
information, then switch back to the first switch and continue that CLI session. Each switch supports up
to
15 simultaneous Telnet sessions, and you can Telnet across multiple switches. For example, you can
establish a CLI session on switch A, Telnet to switch B, and then Telnet from switch B to switch C.
The following sections describe:
• Starting a Telnet Session
• Returning to a Previous Session
• Returning to the Original CLI Session
• Displaying a Telnet Trace
Starting a Telnet Session
To start a Telnet session, enter the telnet command as follows:
pop20one.7.PXM.a > telnet [-E<escapeCharacter>] [-R<tracerouteCharacter>] <ipAddress>
[[0x|X|x]<tcpPort>]
You must enter an IP address with the telnet command as shown in the following example:
pop20one.7.PXM.a > telnet 172.29.52.88
Trying 172.29.52.88...
Connected to 172.29.52.88
Login: cisco
password:
The -E option allows you to specify an escape character that takes you back to the previous session. For
example, if you have Telnetted from Switch A to Switch B to Switch C, you can use this escape character
to return to Switch B. The default escape character is Q. To change this, specify an alternate escape
character with the -E option when you start a Telnet session. There should be no space character between
the -E and the escape character.
The -R option allows you to specify an escape character that displays a trace of your Telnet activity. For
example, if you have Telnetted from Switch A to Switch B to Switch C, you can use this escape character
to display the Telnet routes from A to B and from B to C. The default escape character is g. To change
this, specify an alternate escape character withe the -R option when you start a Telnet session. There
should be no space character between the -R and the escape character.
The tcpPort option allows you to specify a destination port for the Telnet session. If you omit this option,
the Telnet session uses the default Telnet port.
Returning to a Previous Session
After you Telnet from one switch to another, enter the bye command or the exit command to close the
current session and return to the previous session. For example, if you Telnet from Switch A to Switch
B to Switch C, the bye command terminates the session on Switch C and displays the session on Switch
B.