line com1
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
Command Modes
Configuration mode.
Command History
Release
1.2(2)
3.0(1)
Usage Guidelines
The line com1 command available in config t command mode. The line com1 configuration commands
are available in
You can perform the configuration specified in this section only if you are connected to the console port
or the COM1 port.
We recommend you use the default initialization string. If the required options are not provided in the
user-input string, the initialization string is not processed.
You must first set the user-input string before initializing the string.
For additional information on the user-input initialization string for the Supervisor-1 and Supervisor-2
modules, refer to the Cisco SAN-OS MDS 9000 Family CLI Configuration Guide.
Examples
The following example configures a line console and sets the options for that terminal line:
switch
switch(config)#
switch(config)# line com1
switch(config-com1)# databits 6
switch(config-com1)# parity even
switch(config-com1)# stopbits 1
The following example disables the current modem from executing its functions:
switch# config terminal
switch(config)# line com1
switch(config-com1)# no modem in
The following example enables (default) the COM1 port to only connect to a modem:
switch# config terminal
switch(config)# line com1
switch(config-com1)# modem in
The following example Writes the provides initialization string to the modem. This is the default:
switch# config terminal
switch(config)# line com1
switch(config-com1)# modem init-string default
The following example assigns the user-specified initialization string for a Supervisor-1 module to its
corresponding profile:
switch# config terminal
switch(config)# line com1
switch(config-com1)# modem set-string user-input ATE0Q1&D2&C1S0=3\015
Cisco MDS 9000 Family Command Reference
14-4
Modification
This command was introduced.
Added an example to show the user-input initialization string for the
Supervisor-2 module.
submode.
config-com1
#
# config terminal
Chapter 14
L Commands
OL-18089-01, Cisco MDS NX-OS Release 4.x