Using Traceroute; Setting The Switch's Shell Timeout; Displaying Vty Sessions - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

Chapter 1
CLI Overview
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

The traceroute command 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
traceroute to www.cisco.com (171.71.181.19), 30 hops max, 38 byte packets
1
2
3
4
5
6
7
8
To abnormally terminate a traceroute session, enter Ctrl-C.

Setting the Switch's 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 from 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.

Displaying VTY Sessions

Use the show line command to display all configured VTY sessions:
switch# show line
line Console:
line Aux:
OL-16217-01, Cisco MDS SAN-OS Release 3.x
kingfisher1-92.cisco.com (172.22.92.2)
nubulab-gw1-bldg6.cisco.com (171.71.20.130)
172.24.109.185 (172.24.109.185)
sjc12-lab4-gw2.cisco.com (172.24.111.213)
sjc5-sbb4-gw1.cisco.com (171.71.241.174)
sjc12-dc2-gw2.cisco.com (171.71.241.230)
sjc12-dc2-cec-css1.cisco.com (171.71.181.5)
www.cisco.com (171.71.181.19)
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.
Speed:
9600 bauds
Databits:
8 bits per byte
Stopbits:
1 bit(s)
Parity:
none
Modem In: Disable
Modem Init-String -
default : ATE0Q1&D2&C1S0=1\015
Statistics:
tx:5558511
Speed:
9600 bauds
Databits:
8 bits per byte
Stopbits:
1 bit(s)
0.598 ms
0.698 ms
0.478 ms
0.459 ms
0.529 ms
0.521 ms
0.521 ms
2.612 ms
2.496 ms *
2.135 ms
rx:5033958
Register Bits:RTS|CTS|DTR|DSR|CD|RI
Cisco MDS 9000 Family Command Reference
Searching and Filtering CLI Output
0.470 ms
0.484 ms
0.452 ms
0.481 ms
0.484 ms
0.577 ms
0.480 ms
0.495 ms
0.604 ms
0.614 ms
0.479 ms
2.093 ms
2.118 ms
1-25

Advertisement

Table of Contents
loading

Table of Contents