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-19
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 2 Before You Begin
Configuring the Switch Banner Message
Setting the Terminal Type
Use the
terminal terminal-type
command in EXEC mode to specify the terminal type for a switch:
The syntax for this command is
terminal terminal-type
terminal-type.
switch#
terminal terminal-type vt100
Specifies the terminal type. The
terminal-type
string is restricted to 80 characters and must be a valid
type (for example vt100 or xterm). If a Telnet or SSH session specifies an unknown terminal type, the
switch uses the vt100 terminal by default.
Setting the Terminal Screen Length
Use the
terminal length
command in EXEC mode to set the terminal screen length for the current
session. This command is specific to only the console port. Telnet and SSH sessions set the length
automatically.
The syntax for this command is
terminal length
lines.
switch#
terminal length
20
Sets the screen length for the current session to 20 lines for the current terminal session. The default is
24 lines.
Setting the Terminal Screen Width
Use the
terminal width
command in EXEC mode to set the terminal screen width for the current session.
This command is specific to only the console port. Telnet and SSH sessions set the width automatically.
The syntax for this command is
terminal width
columns.
switch#
terminal width 86
Sets the screen length for the current session to 86 columns for the current terminal session. The default
is 80 columns.
Displaying Terminal Settings
Use the
show terminal
command to display the terminal settings for the current session:
switch#
show terminal
TTY: Type: “vt100”
Length: 24 lines, Width: 80 columns
Session Timeout: 525600 minutes
Configuring the Switch Banner Message
You can issue the
banner motd
command in configuration mode to configure a message of the day
(MOTD).
The syntax for this command is
banner motd [
delimiting-character message delimiting-character
]