S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
2-17
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 2 Before You Begin
Configuring Terminal Parameters
switch#
traceroute www.cisco.com
Tracing route to www.cisco.com [198.133.219.25] 30 hops max, 38 byte packets
1 bras3-l0.pltnca.sbcglobal.net [151.164.184.79] 30 ms 30 ms 20 ms
2 dist2-vlan50.pltn13.pbi.net [64.164.97.67] 20 ms 20 ms 30 ms
3 bb2-g1-1.pltn13.pbi.net [67.116.251.194] 20 ms 20 ms 20 ms
4 bb1-p12-0.pltn13.pbi.net [151.164.40.17] 20 ms 21 ms 20 ms
5 bb2-p13-0.sntc01.pbi.net [151.164.191.65] 20 ms 20 ms 30 ms
6 ex1-p3-0.eqsjca.sbcglobal.net [64.161.1.54] 20 ms 20 ms 30 ms
7 sl-st20-sj-0-0.sprintlink.net [144.223.242.81] 20 ms 20 ms 30 ms
8 sl-bb25-sj-10-0.sprintlink.net [144.232.20.62] 20 ms 30 ms 20 ms
9 sl-gw11-sj-10-0.sprintlink.net [144.232.3.134] 70 ms 30 ms 30 ms
10 sl-ciscopsn2-11-0-0.sprintlink.net [144.228.44.14] 20 ms 30 ms 20 ms
11 sjce-dmzbb-gw1.cisco.com [128.107.239.89] 20 ms 30 ms 30 ms
12 sjck-dmzdc-gw1.cisco.com [128.107.224.69] 20 ms 30 ms 20 ms
13 www.cisco.com (198.133.219.25) 2.496 ms * 2.135 ms
The IPv6 syntax for this command is
traceroute ipv6
host
or
traceroute ipv6
ipv6-address
.
switch#
traceroute ipv6
Target IPv6 address:
2001:0DB8::3/64
Datagram size [40]:
Extended commands [n]:
y
Maximum time-to-live [30]:
Source address:
Port number [33434]:
To cancel a
traceroute
or
traceroute ipv6
command before it completes, enter
Ctrl-C
.
Configuring Terminal Parameters
This section includes the following topics:
•
Setting the Terminal Session Timeout, page 2-17
•
Setting the Terminal Timeout, page 2-18
•
Setting the Terminal Type, page 2-19
•
Setting the Terminal Screen Length, page 2-19
•
Setting the Terminal Screen Width, page 2-19
•
Displaying Terminal Settings, page 2-19
Setting the Terminal Session Timeout
Use the
exec-timeout
command in configuration mode to configure the lifetime of all terminal sessions
on that switch. When the time limit configured by this command is exceeded, the shell exits and closes
that session. The syntax for this command is
exec-timeout
minutes.
The default is 30 minutes. You can configure different timeout values for a console or a virtual terminal
line (VTY) session. You can set the
exec-timeout
value to 0 to disable this feature so the session remains
active until you exit the switch. This change is saved in the configuration file.
•
From the console:
switch(config)#
line console
switch(config-console)#
exec-timeout 60
Specifies the current console shell timeout to be 60 minutes.