You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Standby Line Card Configure 0x0023
Standby Line Card Configure 0x0023
Configuration API Messages
SwitchKit Name
Standby Line Card Config
Type
EXS API and SwitchKit API message
Description
This message allows the host in a redundant system to configure a line card as a standby card. Only line cards that have Standby IO cards behind them can be designated as standby line cards. A Card Status Report message first informs the host which line card has a Standby I/O installed. The host must assign a line card as a standby before a switchover can occur.
Sent by
Example Message (Socket Log Output for SwitchKit)
In the following socket log output/example message, the host configures a T-ONE card to be a standby card:
00 0C 00 23 00 00 FF 00 01 01 01 0F 00 00
SwitchKit Code
Configuration
StandbyLineCardConfig (
Node = integer,
Slot = integer,
CardType = integer,
Action = integer);
C Structure
typedef struct {
UBYTE Slot;
UBYTE CardType;
UBYTE Action;
} XL_StandbyLineCardConfig;
C++ Class
class XLC_StandbyLineCardConfig : public XLC_SlotMessage {
public:
UBYTE getSlot() const;
void setSlot(UBYTE x);
UBYTE getCardType() const;
void setCardType(UBYTE x);
UBYTE getAction() const;
void setAction(UBYTE x);
};
EXS API Hex Format
MESSAGE (White) |
RESPONSE (Gray) |
||
Byte |
Field Description |
Byte |
Field Description |
0 |
Frame (0xFE) |
0 |
Frame (0xFE) |
1, 2 |
Length (0x00NN) |
1, 2 |
Length (0x0007) |
3, 4 |
Message Type (0x0023) |
3, 4 |
Message Type (0x0023) |
5 |
Reserved (0x00) |
5 |
Reserved (0x00) |
6 |
Sequence Number |
6 |
Same Sequence Number |
7 |
Logical Node ID |
7 |
Logical Node ID |
8 : |
Address MEthod 0x00 - Individual AEs |
8, 9 |
|
10 |
Checksum |
||
Number of AEs to follow |
|
||
AEs |
|||
: |
Card Type 0x00 T-ONE or ST1LC 0x01 E-ONE or SE1LC 0x02 J-ONE or SJ1LC 0x03 DS3 |
||
: |
Action 0x00 Assign 0x01 De-assign |
||
: |
Checksum |