Send documentation comments to mdsfeedback-doc@cisco.com
23-41
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 23 T Commands
terminal
terminal
To configure terminal attributes, use the terminal command in EXEC mode. To revert to the defaults,
use the no form of the command.
terminal {length lines | monitor | session-timeout | terminal-type type | tree-update |
width integer}
terminal no {length | monitor | session-timeout | terminal-type | width}
Syntax Description
Defaults The default number of lines for the length is 24. The default width is 80 lines.
Command Modes EXEC mode.
Command History
Usage Guidelines Remember that all terminal parameter-setting commands are set locally and do not remain in effect after
a session is ended. You must perform this task at the EXEC prompt at each session to see the debugging
messages.
If the length is not 24 and the width is not 80, then you need to set a length and width.
Examples The following example displays debug command output and error messages during the current terminal
session.
switch# terminal monitor
Aug 8 10:32:42 sup48 % LOG_PLATFORM-5-PLATFORM_MOD_CFG_PWRDN: Module 1 powered down
Aug 8 10:32:42 sup48 % LOG_PLATFORM-5-PLATFORM_MOD_PWRDN: Module 1 powered down
Aug 8 10:32:42 sup48 % LOG_PLATFORM-5-PLATFORM_MOD_INSERT: Module 1 has been inserted
Aug 8 10:33:12 sup48 % LOG_PLATFORM-5-PLATFORM_MOD_PWRON: Module 1 powered up
Aug 8 10:33:13 sup48 % LOG_MODULE-5-MOD_REG_OK: LCM - Registration succeeded for module 1
Aug 8 10:38:15 sup48 % LOG_PLATFORM-5-PLATFORM_MOD_CFG_PWRDN: Module 1 powered down
Aug 8 10:38:15 sup48 % LOG_PLATFORM-5-PLATFORM_MOD_INSERT: Module 1 has been inserted
......
length lines Specifies the number of lines on the screen. The range is 0 to 512. Enter 0
to scroll continuously.
monitor Copies Syslog output to the current terminal line.
session-timeout Specifies the session timeout value in minutes. The range is 0 to 525600.
Enter 0 to disable.
terminal-type type Sets the terminal type. Maximum length is 80 characters.
tree-update Updates the main parse tree.
width integer Sets the width of the display terminal, from 0 to 80.
Release Modification
1.0(2) This command was introduced.