![Cisco MDS 9000 Series Скачать руководство пользователя страница 766](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253766.webp)
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
14-4
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 14 L Commands
line com1
Command Modes
Configuration mode.
Command History
Usage Guidelines
The
line com1
command available in
config t
command mode. The
line com1
configuration commands
are available in
config-com1
submode.
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 Guid
e.
Examples
The following example configures a line console and sets the options for that terminal line:
switch
#
#
config terminal
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
Release
Modification
1.2(2)
This command was introduced.
3.0(1)
Added an example to show the user-input initialization string for the
Supervisor-2 module.