txLane
txLane - configures and applies the lane skew configuration to the tx port.
SYNOPSIS
txLane sub-command options
DESCRIPTION
The txLane command is used to configure and apply the lane skew configuration to the tx port.
Users of this api should apply this config by the tcl command:
- ixWriteConfigToHardware
to not disburb the link state of the port on commit to hardware.
STANDARD OPTIONS
pcsLane
Valid values range 0-19 for 100GB load modules; 0-3 for 40GB and 50GB load modules. Negative testing is allowed, so the physical lanes might not have a unique value for pcsLane. The method txLane setLane physicalLane or txLane setLaneList chasID cardID portID overwrites any previously configured pcsLane setting.
laneMapping
Valid values are the following: (default = 0)
Option |
Value |
---|---|
DefaultMapping |
0 |
IncrementMapping |
1 |
DecrementMapping |
2 |
RandomMapping |
3 |
CustomMapping |
4 |
skew
Value of the skew; this number is rounded up/down to the nearest actual skew the hardward supports. (default = 0)
synchronizedLaneSkew
Valid values are either 0 or 1. Value of 0 allows the lanes to have different skew. Value of 1 forces the lanes to be synchronized in skew. (default = 0)
COMMANDS
The txLane command is invoked with the following sub-commands. If no sub-command is specified, returns a list of all sub-commands available.
txLane getLane physicalLane
Retrieves one row in the tx lane indexed by the physical lane.
txLane getLaneList chasID cardID portID
Utility method that returns a string, in tcl list form, of all the names of the physical lanes for this port in this configuration. Specific errors are:
- No connection to a chassis
- Invalid port number
txLane setLane physicalLane
Updates the row in the tx lane table with the configuration data for that physical lane.
txLane setLaneList chasID cardID portID
Updates all rows in the Tx lane table in IxHal with configured data of physical lanes. Individual lanes are set in IxHal through txLane setLane.
txLane writeLaneList chasID cardID portID
Writes all of the Tx lane table to hardware.
txLane select chasID cardID portID
Selects the local IxHAL object with the configured tx lane table. Does not apply directly to hardware; ixWriteConfigToHardware is required for commit to hardware. Required for any setLane/getLane operations. setDefault does not affect the selected port value. Specific errors are:
- No connection to a chassis
- Invalid port number
txLane setDefault
Sets to IxTclHal default values for all configuration options.
txLane cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the txLane command.
txLane config option value
Modify the configuration options of the txLane. If no option is specified, returns a list describing all of the available options (see STANDARD OPTIONS) for txLane.
CAUTION: 'txLane get' should be called before 'txLane config' in order to maintain consistency between Tcl Client txLane object and Server txLane object.