Automation Knowledge Base

C_NAME chassisname

Explanation

The name of the chassis, as it appears at various places in the Manager user-interface. The name is also used to distinguish the various chassis contained within a testbed and in files containing the configuration for an entire test-case.

Summary

set and get, value type: S

Parameters

chassisname: string, containing the name of the chassis.

Example

C_NAME ”Lab ABC”

C_COMMENT comment

Explanation

The description of the chassis.

Summary

set and get, value type: S

Parameters

comment: string, containing the description of the chassis.

Example

C_COMMENT ”This chassis belongs to the XYZ project.”

C_PASSWORD password

Explanation

The password of the chassis, which must be provided when logging on to the chassis.

Summary

set and get, value type: S

Parameters

password: string, containing the password for the chassis.

Example

C_PASSWORD ”SeCrEt”

C_MODEL model

Explanation

Obtains the specific model of this Xena chassis.

Summary

get only, value type: S

Parameters

model: string, the Xena model designation for the chassis.

Example

C_MODEL ”C1-M2SFP+”

C_SERIALNO serialno

Explanation

Obtains the unique serial number of this particular Xena chassis.

Summary

get only, value type: I

Parameters

serialno: integer, the serial number of this chassis.

Example

C_SERIALNO 12345678

C_VERSIONNO chassis_majorvers driver_vers

Explanation

Obtains the major version numbers for the chassis firmware and the Xena PCI driver installed on the chassis.

Summary

get only, value types: I,I

Parameters

chassis_majorvers: integer, the chassis firmware major version number.

driver_vers: integer, the Xena PCI driver version number.

Example

C_VERSIONNO 200 30

C_VERSIONNO_MINOR chassis_minorvers reserved_1 reserved_2

Explanation

Obtains the minor version number for the chassis firmware. The full version of the chassis firmware is thus . where the number is obtained with the C_VERSIONNO parameter and the number is obtained with the C_VERSIONNO_MINOR parameter.

Summary

get only, value types: I

Parameters

chassis_minorvers: integer, the chassis firmware minor version number.

reserved_1: integer, reserved

reserved_2: integer, reserved

Example

C_VERSIONNO_MINOR 2 0 0

C_CAPABILITIES integer integer …

Explanation

A series of integer values specifying various internal limits (aka. capabilities) of the chassis.

Summary

get only, value types: I*

Parameters

integer: integer, internally defined limit values.

Example

C_CAPABILITIES 1 25 …

C_ALLPORTCAPS ?

Explanation

Multi-parameter query, obtaining the port capabilities for all ports of the chassis.

Summary

get only.

Parameters

None

Example

0/0 P_CAPABILITIES 1110 10000 …

0/1 P_CAPABILITIES 1000 5000 …

C_PORTCOUNTS portcount portcount …

Explanation

Obtains the number of ports in each module slot of the chassis, and indirectly the number of slots and modules.

Note: CFP modules return the number 8 which is the maximum number of 10G ports, but the actual number of ports can be configured dynamically using the M_CFPCONFIG command.

Summary

get only, value types: B*

Parameters

portcount: byte, the number of ports, typically 2 or 6, or 0 for an empty slot.

Example

C_PORTCOUNTS 2

C_INFO ?

Explanation

Multi-parameter query, obtaining all the non-settable parameters for the chassis.

Summary

get only.

Parameters

None

Example

C_RESERVATION RESERVED_BY_YOU

C_RESERVEDBY ”HH”

C_PORTCOUNTS 2

C_MODEL ”C1-M2SFP+”

C_SERIALNO 12345678

C_VERSIONNO 200 30

C_CONFIG ?

Explanation

Multi-parameter query, obtaining all the settable parameters for the chassis.

Summary

get only.

Parameters

None

Example

C_NAME ”Lab ABC”

C_COMMENT ”This chassis belongs to the XYZ project.”

C_PASSWORD ”SeCrEt”

C_IPADDRESS 192.168.1.200 255.255.255.0 192.168.1.1