Using Traceroute; Setting The Shell Timeout - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

CLI Command Navigation
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 .

Using traceroute

Use the traceroute command to prints the routes taken by a specified host or IP address.
The syntax for this command is traceroute <host or ip address>.
switch# traceroute www.cisco.com
Tracing route to www.cisco.com [198.133.219.25] 30 hops max, 38 byte packets
1
2
3
4
5
6
7
8
9
10
11
12
13
To abnormally terminate a traceroute session, enter Ctrl-C.

Setting the Shell 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.
Cisco MDS 9000 Family Configuration Guide
2-16
bras3-l0.pltnca.sbcglobal.net [151.164.184.79] 30 ms
dist2-vlan50.pltn13.pbi.net [64.164.97.67] 20 ms
bb2-g1-1.pltn13.pbi.net [67.116.251.194] 20 ms
bb1-p12-0.pltn13.pbi.net [151.164.40.17] 20 ms
bb2-p13-0.sntc01.pbi.net [151.164.191.65] 20 ms
ex1-p3-0.eqsjca.sbcglobal.net [64.161.1.54] 20 ms
sl-st20-sj-0-0.sprintlink.net [144.223.242.81] 20 ms
sl-bb25-sj-10-0.sprintlink.net [144.232.20.62] 20 ms
sl-gw11-sj-10-0.sprintlink.net [144.232.3.134] 70 ms
sl-ciscopsn2-11-0-0.sprintlink.net [144.228.44.14] 20 ms
sjce-dmzbb-gw1.cisco.com [128.107.239.89] 20 ms
sjck-dmzdc-gw1.cisco.com [128.107.224.69] 20 ms
www.cisco.com (198.133.219.25)
From the console:
switch(config)# line console
switch(config-console)# exec-timeout 60
Specifies the current console shell timeout to be 60 minutes.
From a VTY session (Telnet or SSH):
switch(config)# line vty
switch(config-line)# exec-timeout 60
Specifies the current console shell timeout to be 60 minutes.
20 ms
20 ms
21 ms
20 ms
20 ms
30 ms
30 ms
2.496 ms *
2.135 ms
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Chapter 2
Before You Begin
30 ms
20 ms
30 ms
20 ms
20 ms
30 ms
30 ms
20 ms
30 ms
30 ms
20 ms
30 ms
30 ms
30 ms
20 ms
30 ms
20 ms

Advertisement

Table of Contents
loading

Table of Contents