beautypg.com

Port set command, Table 5.11: port set command parameters – Avocent CCM User Manual

Page 75

background image

Chapter 5: CCM Appliance Commands 61

The following command enables NFS on port 7, using a substitution string within the filename
specification, and setting zero thresholds for both size and time. (This configuration will not be
acceptable if the file type is daily, because the file specification does not include a date substitution
string that would make each daily file uniquely named.) Assuming the file type is linear, data will
be written to the NFS server file named ccm_1_P07 as soon as it is available, because both
thresholds are zero.

port 7 nfs ena size=0 time=0 file=ccm_1_%#

Port Set command

The Port Set command changes serial port settings in the CCM configuration database. At least one
keyword parameter and value must be specified. Some changes become effective upon the next
connection to the port.
For more information, see Configuring Serial Port Settings on page 15.
Access right: SCON or PCON
Access level: ADMIN or APPLIANCEADMIN

Syntax

PORT [<port>|ALL] SET
[TD=<device>] [NAME=<name>] [BAUD=<baud>] [SIZE=<size>] [PARITY=<parity>]
[STOP=<stopbits>] [FLOW=<signal>] [TIMEOUT=<time-out>] [SOCKET=<socket>]
[CHAR=^<cli_char>] [TOGGLE=NONE|DTR] [POWER=<signal>] [GROUP=<group>]

Table 5.11: Port Set Command Parameters

Parameter

Description

<port>

A port number, port name or CON.
Default = port to which you are attached

ALL

Indicates that the port settings that follow should be applied to all ports except the
console port.

TD=<device>

Target device type. Valid values are Console and SPC. If SPC is specified, only the
Name and Group parameters may be specified with this command. This parameter
is not valid for the console port.
Default = Console

NAME=<name>

Port name, up to 32 characters. The name cannot be Names, All, Set or Alert (in any
case or any shortened form) or CON. The name must be unique; two ports cannot
have the same name. Port names are case sensitive. The name cannot begin with a
number or a space, nor can it contain a double quote (“) or comma (,). If the name
contains spaces, enclose the name in double quotes. To return a port name to its
default value, specify Name=“”. This parameter is not valid for the console port.
Default = last 3 octets of MAC address, followed by P and the port number

BAUD=<baud>

Baud rate. Valid values are: 50, 75, 110, 134, 150, 200. 300, 600, 1200, 2400, 4800,
7200, 9600, 14400, 19200, 28800, 38400, 57600 and 115200.
Default: = 9600