Specifications

9-57
Cisco MGX 8800/8900 Series Software Configuration Guide
Release 5.1, Part Number OL-6482-01, Rev. A0, January 25, 2005
Chapter 9 Switch Operating Procedures
Managing Telnet Access Features
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
the default escape character, 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 will terminate the session on Switch C and display the session on Switch
B.
Returning to the Original CLI Session
After you Telnet from switch to switch, enter the escape character to close all Telnet sessions and return
to the original CLI session. The default escape sequence is Escape, Q (uppercase Q). Press Escape first,
then press Shift-Q. If you specified an alternate escape character when opening Telnet sessions, enter
that character in place of Q.
For example, if you Telnet from Switch A to Switch B to Switch C, the escape character sequence closes
the Telnet sessions on Switches B and C, and displays the CLI session on Switch A.
Displaying a Telnet Trace
After you Telnet from switch to switch, enter the trace escape character to display a list of connections
you have established between switches. The default escape sequence is Escape, g (lowercase g). Press
Escape first, then press g. If you specified an alternate escape character when opening Telnet sessions,
enter that character in place of g.
The following example shows a sequence of Telnet sessions and the trace that documents the sequence:
mgx8830a.1.PXM.a > telnet 172.29.52.88
Trying 172.29.52.88...
Connected to 172.29.52.88
Login: cisco
password:
mgx8830b.1.PXM.a > telnet 172.29.52.56
Trying 172.29.52.56...
Connected to 172.29.52.56