|
|
To list the open sessions, use the where EXEC command.
whereThis command has no keywords or parameters
This command has no default setting.
EXEC
The where command displays all open sessions associated with the current terminal line.
The Ctrl^x, where, and resume commands are available with all supported connection protocols.
In the output the current terminal sessions are indicated by an asterisk (*).
The following is sample output from the where command.
Switch# where
Conn Host Address Byte Idle Conn Name
1 MATHOM 192.31.7.21 0 0 MATHOM
* 2 CHAFF 131.108.12.19 0 0 CHAFF
Table 22-1 describes significant fields shown in the display.
| Field | Description |
|---|---|
| Conn | Name or address of the remote host to which the connection is made. |
| Host | Remote host to which the router is connected through a Telnet session. |
| Address | IP address of the remote host. |
| Byte | Number of unread bytes for the user to see on the connection. |
| Idle | Interval (in minutes) since data was last sent on the line. |
| Conn Name | Assigned name of the connection. |
To set the terminal screen width, use the width line configuration command. This command sets the number of character columns displayed on the attached terminal.
width characters| characters | Integer that specifies the number of character columns displayed on the terminal. |
80 character columns
Line configuration
The rlogin protocol uses the characters argument to set up terminal parameters on a remote host.
Some hosts can learn the values for both length and width specified with the line and width commands.
The following example changes the column width to 132 characters for the console terminal.
Switch(config)#line consoleSwitch(config-line)#location console terminalSwitch(config-line)#width 132
terminal width
The erase startup-config command replaces this command. Refer to the description of the erase command for more information on erase startup-config.
The copy running-config startup-config command replaces this command. Refer to the description of the copy running-config command for more information on copy running-config startup-config.
The copy running-config rcp or copy running-config tftp command replaces this command. Refer to the description of the copy running-config command for more information on copy running-config rcp or copy running-config tftp.
The show running-config command replaces this command. Refer to the description of show running-config for more information
|
|