beautypg.com

Port nfs command, Table 5.10: port nfs command parameters – Avocent CCM User Manual

Page 74

background image

60 CCM Installer/User Guide

Port NFS command

The Port NFS command enables or disables using the NFS feature on a port, and specifies NFS
parameters. For more information, see NFS history files on page 35.

NOTE: If you are enabling NFS on a port, an NFS Enable command must have successfully completed before
the Port NFS command will be accepted.

Access right: SCON or PCON
Access level: ADMIN or APPLIANCEADMIN

Syntax

PORT <port>|ALL NFS ENABLE [FILE=<file>] [SIZE=<bytes>] [TIME=<sec>]
-or-
PORT <port>|ALL NFS DISABLE

Examples

The following command enables NFS on port 3, using the default filename specification, and
setting a size threshold of 20 bytes and a time threshold of zero. With this configuration, data will
be buffered according to the non-zero threshold value, 20 bytes, then it will be written to the NFS
history file. The history file will be named P03.hst if the file type is linear, or P03_<4-digit year>-
<2-digit_month>-<2-digit_day> if the file type is daily.

port 3 nfs ena size=20 time=0 file=

Table 5.10: Port NFS Command Parameters

Parameter

Description

ENABLE

Enables NFS on the specified port.

port

Port name or number.

ALL

Indicates that the following parameters should be applied to all ports.

FILE=<file>

Filename specification, up to 32 characters. This must result in a unique filename for
the port (and a unique daily port file if the file type is daily). Substitution strings may
be used; see Table 3.7 on page 37.
Default = ““ (P%#.hst if file type is linear, P%#_%F.hst if file type is daily)

SIZE=<bytes>

Number of bytes that will be buffered on the CCM appliance before being written to
the NFS server file. This threshold is used with the Time value to determine when
accumulated data will be written. Valid values are 0-3584 bytes.
Default = 0 bytes

TIME=<sec>

Maximum number of seconds that will be allowed to elapse before buffered data will
be written to the NFS server file. This threshold is used with the Size value to
determine when accumulated data will be written. Valid values are 0-65536 seconds.
Default = 1 second

DISABLE

Disables NFS on the specified port.