Serial Commands

serial

Syntax

serial

Context

config>port

Description

This command enables the context to configure RS-232, V.35, X.21, or RS-530 parameters for a port on a channelized 12-port Serial Data Interface card, or to configure RS-232 parameters for an RS-232 port on the 7705 SAR-Hc or on the 4-port T1/E1 and RS-232 Combination module. This context cannot be accessed by any other adapter card, module, or platform.

On the 12-port Serial Data Interface card version 2, if the port has been enabled for an RS-530 interface through the use of an adapter cable, X.21 configuration applies to the RS-530 interface. There is no configuration specifically for RS-530 operation on this card version. For the 12-port Serial Data Interface card, version 3, there is a separate rs530 command to configure RS-530 channel parameters.

A serial port configuration allows some or all of the bandwidth to be dedicated to a port by aggregating a number of DS0s into a single bundle.

Serial data transmission rates below the rate of a single DS0, that is, less than 64 kb/s, are achieved using a proprietary protocol called High Capacity Multiplexing (HCM). These speeds, known as subrate speeds, are supported on RS-232, X.21, and RS-530 ports.

Default

n/a

rs232

Syntax

[no] rs232

Context

config>port>serial

Description

This command enables the context to configure RS-232 parameters for a channel. When one of the ports on a connector has been configured for an RS-232 channel, the other ports on the connector can only be configured for RS-232.

The no form of this command deletes the RS-232 channel.

Default

n/a

rs530

Syntax

[no] rs530

Context

config>port>serial

Description

This command enables the context to configure RS-530 parameters for a channel on a 12-port Serial Data Interface card, version 3. When one port on a connector is configured for an RS-530 channel, the other port on the connector can only be configured for RS-530.

The no form of this command deletes the RS-530 channel.

Default

n/a

v35

Syntax

[no] v35

Context

config>port>serial

Description

This command enables the context to configure V.35 parameters for a channel. When one of the ports on a connector has been configured for a V.35 channel, the other ports on the connector can only be configured for V.35. The no form of this command deletes the V.35 channel.

The no form of this command deletes the V.35 channel.

Default

n/a

x21

Syntax

[no] x21

Context

config>port>serial

Description

This command enables the context to configure X.21 parameters for a channel. When one of the ports on a connector has been configured for an X.21 channel, the other ports on the connector can only be configured for X.21.

On a 12-port Serial Data Interface card version 2, if the port has been enabled for an RS-530 interface through the use of an adapter cable, X.21 configuration applies to the RS-530 interface. There is no configuration specifically for RS-530 operation. All X.21 functionality is available on the RS-530 interface, except that only DCE operation is supported for RS-530. However, because X.21 does not support all the control leads available for RS-530, only a subset of the RS-530 control leads are supported.

The no form of this command deletes the X.21 channel.

Default

n/a

character-length

Syntax

character-length {6 | 7 | 8}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>x21

Description

This command configures the number of data bits used to transmit a character. This command is valid only if device-mode is asynchronous. The value for this command cannot be 8 if the value for parity is anything other than no parity (that is, anything other than none) and the value for stop-bits is 2.

Default

8

Parameters

6

specifies six bits in a character

7

specifies seven bits in a character

8

specifies eight bits in a character

clock-source

Syntax

clock-source {external | slave | dcr-serial}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command configures the source of the transmit clock. The command is valid only if device-mode is synchronous.

The 12-port Serial Data Interface card version 2, 4-port T1/E1 and RS-232 Combination module, and 7705 SAR-Hc support slave clocking only. The 12-port Serial Data Interface card, version 3, supports all clocking options.

Table: Synchronization Clocking Options  describes the clocking options. See the device-gender command for information on setting DTE or DCE on serial data interface ports.

Table: Synchronization Clocking Options 

Attached Device Gender

7705 SAR Port Gender

Tx Clock Option

Description

DTE

DCE

DTE

DCE

Slave

DCE slave: the transmit and receive clocks are derived from the Baud Rate Generator (BRG) locked to the system timing

Slave

DTE slave: the transmit and receive clocks are supplied by the attached DCE device

DCR serial

DCR DCE: the transmit and receive clocks are derived from the far-end clock transported via DCR serial (12-port Serial Data Interface card, version 3, only)

DCR serial

DCR DTE: the transmit and receive clocks are supplied by the attached DCE device (12-port Serial Data Interface card, version 3, only)

External

1

DCE Ext: the transmit clock is provided by the attached DTE device. The received clock is derived from the internal BRG. (12-port Serial Data Interface card, version 3, only)

External

1

DTE Ext: the transmit clock is provided by the attached DCE device. The received clock is derived from the internal BRG. (12-port Serial Data Interface card, version 3, only)

Default

slave

Parameters

external

terminal timing mode

slave

slave mode

dcr-serial

the Rx Clk signal from the DTE port is used as the source of the clock, which is also transported to the DCE port across the network; only supported for SAToP serial Cpipes for synchronous RS-232 and RS-530 ports on the 12-port Serial Data Interface card, version 3

control-lead

Syntax

control-lead {input | monitor | output}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command enables access to the context to configure the input and output leads that carry control signals. Control signals provide the handshaking for call setup, teardown, and synchronization.

Table: Control Leads summarizes the supported control leads for each protocol.

Table: Control Leads

Protocol

DCE

DTE

RS-232

Input

DTR, RTS, ALB, RDL

DSR, DCD, CTS, RI

Output

DSR, DCD, CTS, RI

DTR, RTS, ALB, RDL

V.35

Input

DTR, RTS, ALB

DSR, DCD, CTS

Output

DSR, DCD, CTS

DTR, RTS, ALB

X.21

Input

C

I

Output

I

C

RS-530

Input

DTR, RTS, RL, LL

DSR, DCD, CTS, TM

Output

DSR, DCD, CTS, TM

DTR, RTS, RL, LL

Default

n/a

input

Syntax

input

Context

config>port>serial>rs232>control-lead

config>port>serial>rs530>control-lead

config>port>serial>v35>control-lead

config>port>serial>x21>control-lead

Description

This command enables access to the context to configure the input control leads.

Default

n/a

alb-cts

Syntax

alb-cts {high | low | end-to-end}

Context

config>port>serial>rs232>control-lead>input

config>port>serial>v35>control-lead>input

Description

This command configures the Analog Loopback (ALB) or Clear To Send (CTS) input control lead. The input signal that is sent depends on the device-gender setting. For a DCE device, the input signal is ALB. For a DTE device, the input signal is CTS.

This command is valid only for RS-232 and V.35 interfaces.

Default

high

Parameters

high

the input control lead is assumed to be on

low

the input control lead is assumed to be off

end-to-end

the input control lead follows that of the remote end. This parameter is not supported for interface speeds ≥ 64 kb/s.

c-i

Syntax

c-i {high | low | end-to-end}

Context

config>port>serial>x21>control-lead>input

Description

This command configures the Control (C) or Indication (I) input control lead. The input signal that is sent depends on the device-gender setting. For a DCE device, the input signal is C. For a DTE device, the input signal is I.

This command is valid only for X.21 interfaces.

Default

high

Parameters

high

the input control lead is forced on

low

the input control lead is forced off

end-to-end

the input control lead follows that of the remote end

dtr-dsr

Syntax

dtr-dsr {high | low}

Context

config>port>serial>rs232>control-lead>input

config>port>serial>rs530>control-lead>input

config>port>serial>v35>control-lead>input

Description

This command configures the Data Terminal Ready (DTR) or Data Set Ready (DSR) input control lead. The input signal that is sent depends on the device-gender setting. For a DCE device, the input signal is DTR. For a DTE device, the input signal is DSR.

This command is valid only for RS-232, RS-530, and V.35 interfaces.

Default

high

Parameters

high

the input control lead is assumed to be on

low

the input control lead is assumed to be off

ll-tm

Syntax

ll-tm {high | low}

Context

config>port>serial>rs530>control-lead>input

Description

This command configures the Local Loopback (LL) or Test Mode (TM) input control lead. The input signal that is sent depends on the device-gender setting. For a DCE device, the input signal is LL. For a DTE device, the input signal is TM.

This command is valid only for RS-530 interfaces.

Default

on

Parameters

high

the input control lead is assumed to be on

low

the input control lead is assumed to be off

rdl-ri

Syntax

rdl-ri {high | low}

Context

config>port>serial>rs232>control-lead>input

Description

This command configures the Remote Digital Loopback (RDL) or Ring Indicator (RI) input control lead. The input signal that is sent depends on the device-gender setting. For a DCE device, the input signal is RDL. For a DTE device, the input signal is RI.

This command is valid only for RS-232 interfaces.

Default

high

Parameters

high

the input control lead is assumed to be on

low

the input control lead is assumed to be off

rl-cts

Syntax

rl-cts {high | low | end-to-end}

Context

config>port>serial>rs530>control-lead>input

Description

This command configures the Remote Loopback (RL) or Clear To Send (CTS) input control lead. The input signal that is sent depends on the device-gender setting. For a DCE device, the input signal is RL. For a DTE device, the input signal is CTS.

This command is valid only for RS-530 interfaces.

Default

high

Parameters

high

the input control lead is assumed to be on

low

the input control lead is assumed to be off

end-to-end

the input control lead follows that of the remote end

rts-dcd

Syntax

rts-dcd {high | low | end-to-end}

Context

config>port>serial>rs232>control-lead>input

config>port>serial>rs530>control-lead>input

config>port>serial>v35>control-lead>input

Description

This command configures the Request To Send (RTS) or Data Carrier Detect (DCD) input control lead. The input signal that is sent depends on the device-gender setting. For a DCE device, the input signal is RTS. For a DTE device, the input signal is DCD.

This command is valid only for RS-232, RS-530, and V.35 interfaces.

Default

high

Parameters

high

the input control lead is assumed to be on

low

the input control lead is assumed to be off

end-to-end

the input control lead follows that of the remote end. This parameter is not supported for interface speeds ≥ 64 kb/s on RS-232 and V.35 interfaces.

monitor

Syntax

monitor

Context

config>port>serial>rs232>control-lead

config>port>serial>rs530>control-lead

config>port>serial>v35>control-lead

config>port>serial>x21>control-lead

Description

This command enables access to the context to monitor the input control leads. When monitoring is enabled on a control lead, the 7705 SAR polls the status of the control lead every second. Any change in state of the control lead causes an alarm to be raised. This functionality provides an indication to the operator of a problem in the DTE-to-DCE path; for example, it can indicate that the far-end device is disconnected.

Monitoring is enabled on a per-lead basis. The monitoring functionality is supported on ports configured for either DTE or DCE.

Default

n/a

alb-cts

Syntax

alb-cts {on | off | high | low}

Context

config>port>serial>rs232>control-lead>monitor

config>port>serial>v35>control-lead>monitor

Description

This command enables monitoring on the Analog Loopback (ALB) or Clear To Send (CTS) input control lead. For a DCE device, the input control lead is ALB. For a DTE device, the input control lead is CTS.

This command is valid only for RS-232 and V.35 interfaces.

Default

off

Parameters

on

monitoring is enabled on the lead

off

monitoring is disabled on the lead

high

enable monitoring and force link down when lead is high (only supported on 12-port Serial Data Interface card, version 3)

low

enable monitoring and force link down when lead is low (only supported on 12-port Serial Data Interface card, version 3)

c-i

Syntax

c-i {on | off | high | low}

Context

config>port>serial>x21>control-lead>monitor

Description

This command enables monitoring on the Control (C) or Indication (I) input control lead. For a DCE device, the input control lead is C. For a DTE device, the input control lead is I.

This command is valid only for an X.21 interface.

Default

off

Parameters

on

monitoring is enabled on the lead

off

monitoring is disabled on the lead

high

enable monitoring and force link down when lead is high (only supported on 12-port Serial Data Interface card, version 3)

low

enable monitoring and force link down when lead is low (only supported on 12-port Serial Data Interface card, version 3)

dtr-dsr

Syntax

dtr-dsr {on | off | high | low}

Context

config>port>serial>rs232>control-lead>monitor

config>port>serial>rs530>control-lead>monitor

config>port>serial>v35>control-lead>monitor

Description

This command enables monitoring on the Data Terminal Ready (DTR) or Data Set Ready (DSR) input control lead. For a DCE device, the input control lead is DTR. For a DTE device, the input control lead is DSR.

This command is valid only for RS-232, RS-530, and V.35 interfaces.

Default

off

Parameters

on

monitoring is enabled on the lead

off

monitoring is disabled on the lead

high

enable monitoring and force link down when lead is high (only supported on 12-port Serial Data Interface card, version 3)

low

enable monitoring and force link down when lead is low (only supported on 12-port Serial Data Interface card, version 3)

ll-tm

Syntax

ll-tm {on | off | high | low}

Context

config>port>serial>rs530>control-lead>monitor

Description

This command enables monitoring on the Local Loopback (LL) or Test Mode (TM) input control lead. For a DCE device, the input signal is LL. For a DTE device, the input signal is TM.

This command is valid only for RS-530 interfaces.

Default

on

Parameters

on

monitoring is enabled on the lead

off

monitoring is disabled on the lead

high

enable monitoring and force link down when lead is high

low

enable monitoring and force link down when lead is low

rl-cts

Syntax

rl-cts {on | off | high | low}

Context

config>port>serial>rs530>control-lead>monitor

Description

This command enables monitoring on the Remote Loopback (RL) or Clear To Send (CTS) input control lead. For a DCE device, the input signal is RL. For a DTE device, the input signal is CTS.

This command is valid only for RS-530 interfaces.

Default

high

Parameters

on

monitoring is enabled on the lead

off

monitoring is disabled on the lead

high

enable monitoring and force link down when lead is high

low

enable monitoring and force link down when lead is low

rdl-ri

Syntax

rdl-ri {on | off | high | low}

Context

config>port>serial>rs232>control-lead>monitor

Description

This command enables monitoring on the Remote Digital Loopback (RDL) or Ring Indicator (RI) input control lead. For a DCE device, the input control lead is RDL. For a DTE device, the input control lead is RI.

This command is valid only for RS-232 interfaces.

Default

off

Parameters

on

monitoring is enabled on the lead

off

monitoring is disabled on the lead

high

enable monitoring and force link down when lead is high (only supported on 12-port Serial Data Interface card, version 3)

low

enable monitoring and force link down when lead is low (only supported on 12-port Serial Data Interface card, version 3)

rts-dcd

Syntax

rts-dcd {on | off | high | low}

Context

config>port>serial>rs232>control-lead>monitor

config>port>serial>rs530>control-lead>monitor

config>port>serial>v35>control-lead>monitor

Description

This command enables monitoring on the Request To Send (RTS) or Data Carrier Detect (DCD) input control lead. For a DCE device, the input control lead is RTS. For a DTE device, the input control lead is DCD.

This command is valid only for RS-232, RS-530, and V.35 interfaces.

Default

off

Parameters

on

monitoring is enabled on the lead

off

monitoring is disabled on the lead

high

enable monitoring and force link down when lead is high (only supported on 12-port Serial Data Interface card, version 3)

low

enable monitoring and force link down when lead is low (only supported on 12-port Serial Data Interface card, version 3)

output

Syntax

output

Context

config>port>serial>rs232>control-lead

config>port>serial>rs530>control-lead

config>port>serial>v35>control-lead

config>port>serial>x21>control-lead

Description

This command enables access to the context to configure the output control leads.

Default

n/a

cts-alb

Syntax

cts-alb {high | low | end-to-end}

Context

config>port>serial>rs232>control-lead>output

config>port>serial>v35>control-lead>output

Description

This command configures the Clear To Send (CTS) or Analog Loopback (ALB) output control lead. The output signal that is sent depends on the device-gender setting. For a DCE device, the output signal is CTS. For a DTE device, the output signal is ALB.

This command is valid only for RS-232 and V.35 interfaces.

Default

high

Parameters

high

the output control lead is forced on

low

the output control lead is forced off

end-to-end

the output control lead follows that of the remote end, except when the output control lead is carrying a CTS signal on an RS-232 port operating at subrate speeds. In this case, the control lead follows the HCM status:

  • if the HCM status is Up, the CTS output control lead is 1

  • if the HCM status is Down, the CTS output control lead is 0

cts-rl

Syntax

cts-rl {high | low | end-to-end}

Context

config>port>serial>rs530>control-lead>output

Description

This command configures the Clear To Send (CTS) or Remote Loopback (RL) output control lead. The output signal that is sent depends on the device-gender setting. For a DCE device, the output signal is CTS. For a DTE device, the output signal is RL.

This command is valid only for RS-530 interfaces.

Default

high

Parameters

high

the output control lead is forced on

low

the output control lead is forced off

end-to-end

the output control lead follows that of the remote end

dcd-rts

Syntax

dcd-rts {high | low | end-to-end}

Context

config>port>serial>rs232>control-lead>output

config>port>serial>rs530>control-lead>output

config>port>serial>v35>control-lead>output

Description

This command configures the Data Carrier Detect (DCD) or Request To Send (RTS) output control lead. The output signal that is sent depends on the device-gender setting. For a DCE device, the output signal is DCD. For a DTE device, the output signal is RTS.

This command is valid only for RS-232, RS-530, and V.35 interfaces.

Default

high

Parameters

high

the output control lead is forced on

low

the output control lead is forced off

end-to-end

the output control lead follows that of the remote end

dsr-dtr

Syntax

dsr-dtr {high | low}

Context

config>port>serial>rs232>control-lead>output

config>port>serial>rs530>control-lead>output

config>port>serial>v35>control-lead>output

Description

This command configures the Data Set Ready (DSR) or Data Terminal Ready (DTR) output control lead. The output signal that is sent depends on the device-gender setting. For a DCE device, the output signal is DSR. For a DTE device, the output signal is DTR.

This command is valid only for RS-232, RS-530, and V.35 interfaces.

Default

high

Parameters

high

the output control lead is forced on

low

the output control lead is forced off

tm-ll

Syntax

dsr-dtr {high | low}

Context

config>port>serial>rs530>control-lead>output

Description

This command configures the Test Mode (TM) or Local Loopback (LL) output control lead. The output signal that is sent depends on the device-gender setting. For a DCE device, the output signal is TM. For a DTE device, the output signal is LL.

This command is valid only for RS-530 interfaces.

Default

high

Parameters

high

the output control lead is forced on

low

the output control lead is forced off

i-c

Syntax

i-c {high | low | end-to-end}

Context

config>port>serial>x21>control-lead>output

Description

This command configures the Indication (I) or Control (C) output control lead. The output signal that is sent depends on the device-gender setting. For a DCE device, the output signal is I. For a DTE device, the output signal is C.

This command is valid only for X.21 interfaces.

Default

high

Parameters

high

the output control lead is forced on

low

the output control lead is forced off

end-to-end

the output control lead follows that of the remote end

ri-rdl

Syntax

ri-rdl {high | low}

Context

config>port>serial>rs232>control-lead>output

Description

This command configures the Ring Indicator (RI) or Remote Digital Loopback (RDL) output control lead. The output signal that is sent depends on the device-gender setting. For a DCE device, the output signal is RI. For a DTE device, the output signal is RDL.

This command is valid only for RS-232 interfaces.

Default

high

Parameters

high

the output control lead is forced on

low

the output control lead is forced off

data-position

Syntax

data-position {F0-B5 | F0-B6}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>x21

Description

This command configures the HCM data start position for an RS-232, RS-530, or X.21 interface.

When s-bit-signaling is on, the F0-B6 option is blocked. When the data position is set to F0-B6, S-bit signaling cannot be turned on.

This command is only valid for ports configured for subrate speeds.

Note:

The HCM frame (10-row by 8-column matrix) cannot be displayed on the CLI.

Default

F0-B5

Parameters

F0-B5

HCM data start position is F0-B5

F0-B6

HCM data start position is F0-B6

device-gender

Syntax

device-gender {dte | dce}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command configures the gender of the device.

Data and control signals are transmitted and received over wire pairs. The gender of a device indicates which wire in the pair is used to send and receive the signal.

On ports on the 12-port Serial Data Interface card, version 2, the data and control signals are electrically wired as DCE. Regardless of the gender configured, the Tx pin on the port is always an input pin and the Rx pin on the port is always an output pin. Changing a port from DCE to DTE does not change the pin orientation. Therefore, when a port is configured as DTE, a crossover cable is required in order to interconnect with some serial devices. If the port has been enabled for an RS-530 interface through the use of an adapter cable, only DCE operation is supported.

Note: On the 12-port Serial Data Interface card, version 3, device-gender must match the cable type being used (either DCE or DTE).

Default

dce

Parameters

dte

the device is performing the role of the data terminal equipment

dce

the device is performing the role of the data communications equipment

device-mode

Syntax

device-mode {synchronous | asynchronous}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command configures the mode of operation for the device. An RS-232, RS-530, or X.21 channel can be configured for either synchronous or asynchronous mode. Asynchronous mode is not supported on a V.35 channel; V.35 can only be configured for synchronous mode.

Asynchronous mode is supported only on channels with subrate speeds of 38 400 b/s or less with the exception of RS-232 interfaces configured as raw sockets. See the socket and speed commands for more information.

On the 12-port Serial Data Interface card, version 3, a V.35, X.21, or RS-530 channel operating at a super-rate speed can be configured for synchronous mode.

Default

synchronous

Parameters

synchronous

transmits data continuously based on timing

asynchronous

transmits data one character at a time

duplex

Syntax

duplex {half | full}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command configures the duplex mode.

Half-duplex mode uses a single transmission path.

Full-duplex mode uses two independent transmission paths, one in each direction, allowing two connected devices to transmit and receive data simultaneously.

Half-duplex mode is not user-selectable; an error message is displayed if this option is selected. Half-duplex mode is selected automatically if multidrop data bridge (multi-drop) is configured in slave mode (applies to RS-232 only).

Default

full

Parameters

half

uses a single transmission path

full

uses two independent transmission paths, one in each direction

hold-time

Syntax

hold-time {[up hold-time-up] [down hold-time-down]}

no hold-time

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command configures the serial link dampening timers in 100s of milliseconds, which guards against reporting excessive interface transitions. Once implemented, subsequent transitions of the interface from one state to another are not advertised to upper layer protocols until the configured timer has expired.

Default

no hold-time

Parameters

hold-time-up

the hold-timer for link-up event dampening. A value of zero (0) indicates that an up transition is reported immediately.

Values

0 to 100 (in 100s of milliseconds)

hold-time-down

the hold-timer for link-down event dampening. A value of zero (0) indicates that a down transition is reported immediately.

Values

0 to 100 (in 100s of milliseconds)

invert-clock

Syntax

[no] invert-clock

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command enables the inverting of the receive clock used to sample data in order to improve performance under noisy conditions.

The no form of this command disables loopback on the inverting of the clock used to sample data.

This command is only supported on the 12-port Serial Data Interface card, version 3.

Default

n/a

loopback

Syntax

loopback {bidir-b | bidir-e}

no loopback

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command puts the specified interface into a loopback mode. The corresponding interface must be in a shutdown state in order for the loopback mode to be enabled.

In the serial context, a bidirectional loopback B or E can be configured. A bidirectional loopback is a circuit loopback that loops traffic from the line back to the line and simultaneously loops traffic from the system back to the system. Bidirectional loopback B takes place on the control card (CSM) side of the adapter card, and is closer to the system. Loopback E takes place on the data device side of the adapter card, and is closer to the line.

This command is not saved in the system configuration between boots.

The no form of this command disables loopback on the interface.

Default

no loopback

Parameters

bidir-b

specifies that the loopback is bidirectional loopback B (not supported on the 12-port Serial Data Interface card, version 3)

bidir-e

specifies that the loopback is bidirectional loopback E; this is the only option supported on RS-530 interfaces

mon-clock-deviation

Syntax

mon-clock-deviation {[raise debounce-time-r] [clear debounce-time-c]}

no mon-clock-deviation

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command raises or clears the debounce time for monitoring clock deviation.

The no form of this command removes the monitoring clock deviation configuration.

This command is only supported on the 12-port Serial Data Interface card, version 3.

Default

no mon-clock-deviation

Parameters

raise

raises the debounce time

debounce-time-r

specifies how much debounce time to raise

Values

10 to 100 s, increments of 10 s

clear

clears the debounce time

debounce-time-c

specifies how much debounce time to clear

Values

10 to 100 s, increments of 10 s

mon-data-inactivity

Syntax

mon-data-inactivity {[raise debounce-time-r] [clear debounce-time-c]}

no mon-data-inactivity

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command raises or clears the debounce time for monitoring data inactivity.

The no form of this command removes the monitoring data inactivity configuration.

This command is only supported on the 12-port Serial Data Interface card, version 3.

Default

no mon-data-inactivity

Parameters

raise

raises the debounce time

debounce-time-r

specifies how much debounce time to raise

Values

10 to 100 s, increments of 10 s

clear

clears the debounce time

debounce-time-c

specifies how much debounce time to clear

Values

10 to 100 s, increments of 10 s

multi-drop

Syntax

multi-drop {disabled | slave | master}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>x21

Description

This command configures the multidrop data bridge (MDDB) mode. MDDB is a polling scheme used on SCADA networks (supervisory or control systems used in utility, oil and gas, and other vertical applications) to communicate with multiple remote terminal units (RTUs) over a single RS-232, RS-530, or X.21 link.

In an MDDB, several circuits take turns using the same bandwidth to communicate with one circuit. Each slave device transmits data in that bandwidth when requested by the master device. The master device sends polling messages to, and looks for data from, the slave devices in that bandwidth.

One example of a multidrop data bridge is several terminals taking turns to communicate with a host computer. The circuit that all the other circuits communicate with is connected to a master device (a computer) and is designated the master; the rest of the circuits are connected to slave devices (terminals) and are designated slaves.

In a SCADA network, the 7705 SAR provides the communications infrastructure to connect the central masters to multiple RTUs at remote locations, where the masters and RTUs communicate over serial RS-232 and X.21 synchronous or asynchronous links, or serial RS-530 asynchronous links (RS-530 links are only supported on the 12-port Serial Data Interface card, version 3). The 7705 SAR-8 Shelf V2 or 7705 SAR-18 located at the master site contains the Integrated Services card, which provides the MDDB bridge functionality and acts as the MDDB master. Remote 7705 SAR nodes connected to RTUs are referred to as MDDB slaves.

For both master and slave applications, the 7705 SAR must be physically connected to the SCADA device by one of the following:

  • a 7705 SAR-8 Shelf V2 or 7705 SAR-18 using the 12-port Serial Data Interface card

  • a 7705 SAR-H using the 4-port T1/E1 and RS-232 Combination module (supports RS-232 links only)

  • a 7705 SAR-Hc using an on-board RS-232 serial port (supports RS-232 links only)

Note: The 12-port Serial Data Interface card, version 2, supports the RS-530/RS-422 interface with the use of an adapter cable that connects to a DB15 connector on the front of the X.21 distribution panel. There is no configuration specifically for the RS-530/RS-422 interface on this card; configuration is done in X.21 mode and applies to the RS-530/RS-422 interface when it is physically enabled through hardware. For information about 12-port Serial Data Interface card adapter cables, see the 7705 SAR Serial Data Interface Card Installation Guide. The 12-port Serial Data Interface card, version 3, supports the RS-530 interface without the need for an adapter cable.

Multidrop data bridge is supported only at subrate speeds (less than 64 kb/s) on X.21 interfaces.

When an RS-232 interface is configured as an MDDB slave, the duplex mode is automatically set to half-duplex and s-bit-signaling is forced off. When multidrop data bridge is disabled, the duplex mode is set back to the default of full-duplex and S-bit signaling is turned on (but can be set back to off).

Note: An X.21 interface configured as an MDDB slave does not change duplex mode; half-duplex is not supported on X.21.

When either an RS-232, RS-530, or X.21 interface is configured as an MDDB master, the duplex mode is automatically set to full-duplex and S-bit signaling is forced off.

Default

disabled

Parameters

disabled

MDDB mode is off

slave

the port is operating as an MDDB slave device

master

the port is operating as an MDDB master device

parity

Syntax

parity {odd | even | mark | space}

no parity

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>x21

Description

This command configures the parity bit in a character. Parity is an error detection method that adds an extra bit to each character, based on the number of 0s or 1s in the character.

This command is valid only if device-mode is asynchronous. The value for this command must be no parity (that is, none) if the character-length value is 8 and the stop-bits value is 2.

The no form of this command disables the parity bit in a character.

Default

no parity

Parameters

odd

the parity bit is set to 0 or 1 to make the total number of 1s in the set of bits odd

even

the parity bit is set to 0 or 1 to make the total number of 1s in the set of bits even

mark

the parity bit is present but not used and is always set to 1

space

the parity bit is present but not used and is always set to 0

report-alarm

Syntax

[no] report-alarm [hcmOof | hcmRai] [ctrlLeadMon] [monClockDev] [monDataInac]

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>v35

config>port>serial>x21

Description

This command enables logging of alarms.

The no form of this command disables the logging of the specified alarms.

Parameters

hcmOof

reports local HCM out-of-frame errors. When configured, hcmOof events are raised and cleared.

Default

HCM out-of-frame alarms are issued

hcmRai

reports remote HCM alarm indications. When configured, hcmRai events are raised and cleared.

Default

HCM alarm indications are issued

ctrlLeadMon

reports input control lead monitoring alarm indications (only supported on the 12-port Serial Data Interface card, version 3)

Default

input control lead monitoring alarm indications are issued

monClockDev

reports clock deviation monitoring alarm indications (only supported on the 12-port Serial Data Interface card, version 3)

Default

clock deviation monitoring alarm indications are issued

monDataInac

reports data inactivity monitoring alarm indications (only supported on the 12-port Serial Data Interface card, version 3)

Default

data inactivity monitoring alarm indications are issued

s-bit-signaling

Syntax

s-bit-signaling {on | off}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>x21

Description

This command configures the S-bit signaling option on an RS-232, RS-530, or X.21 interface.

For RS-232 interfaces only, if multi-drop is configured as slave or master, the system automatically turns S-bit signaling off. The signaling mode cannot then be changed. If multi-drop is configured as disabled, the system automatically turns S-bit signaling on. When multi-drop is in disabled mode, S-bit signaling can be turned off or on.

This command is only valid for ports configured for subrate speeds.

Default

on

Parameters

on

enables S-bit signaling

off

disables S-bit signaling

socket

Syntax

[no] socket socket-id

Context

config>port>serial>rs232

Description

This command creates a socket on an RS-232 port. When a socket is configured, the RS-232 channel-group command is blocked. If the port is already configured as a channel group before the socket is configured, this command is blocked.

The RS-232 port must be in asynchronous mode.

The no form of the command deletes the socket from the serial port.

Default

n/a

Parameters

socket-id

specifies the raw socket ID number

Values

1

encap-type

Syntax

encap-type encap-type

Context

config>port>serial>rs232>socket

Description

This command specifies the encapsulation type for a socket. When the encapsulation type is set, then the socket is considered operational and the port can be further configured as an IP transport subservice under an IES or VPRN service.

If the serial port has already been configured as an IES or VPRN IP transport subservice, then this command is blocked until the IP transport subservice is deconfigured.

Default

raw

Parameters

encap-type

specifies the encapsulation type to be used with the socket

Values

raw

rx

Syntax

rx

Context

config>port>serial>rs232>socket

Description

This command enables the context to configure parameters for data packets received over a serial port’s raw socket.

Default

n/a

eop

Syntax

eop

Context

config>port>serial>rs232>socket>rx

Description

This command enables the context to configure end-of-packet (EOP) parameters for data packets received over the socket.

Note:

An end of packet will be declared by whichever EOP condition is encountered first.

Default

n/a

idle-timeout

Syntax

idle-timeout milliseconds

Context

config>port>serial>rs232>socket>rx>eop

Description

This command specifies how long a serial port can remain idle before an EOP is declared and the packet is sent over the socket.

Default

50 ms

Parameters

milliseconds

specifies the length of time, in milliseconds, that a serial port can remain idle before an EOP is declared

Values

10 to 5000

length

Syntax

length bytes

Context

config>port>serial>rs232>socket>rx>eop

Description

This command specifies the number of characters (converted to bytes) received on the serial port that triggers the node to encapsulate the characters in an IP transport packet and send it over an IES or VPRN service.

Default

1500

Parameters

bytes

the number of characters (in bytes) to trigger sending an IP transport packet

Values

1 to 1500

special-char

Syntax

special-char value

no special-char

Context

config>port>serial>rs232>socket>rx>eop

Description

This command specifies a special character that, if received on the serial port, declares an EOP and triggers the node to encapsulate previously received queued characters in an IP transport packet and send it over an IES or VPRN service.

Note:

Other than declaring the EOP, the special character is otherwise treated as regular data; that is, it is added to the packet.

The no form of the command disables checking for a special character.

Default

no special-char

Parameters

value

specifies the special character, in a decimal or hexadecimal format, that triggers end of packet

Values

0 to 255, or 0x00 to 0xFF

squelch-delay

Syntax

squelch-delay seconds

no squelch-delay

Context

config>port>serial>rs232>socket>rx

Description

This command specifies how long a serial port can receive a continuous data stream before an alarm is raised indicating that the serial port has locked up and triggering the squelching function.

The no form of the command disables the squelching function on the serial port.

Default

no squelch-delay

Parameters

seconds

the number of seconds that a serial port can receive data before the squelching function is triggered

Values

1 to 120

squelch-reset

Syntax

squelch-reset

Context

config>port>serial>rs232>socket>rx

Description

This command allows an operator to manually clear squelching on a serial port’s raw socket without having to configure a time limit on the squelching function.

Squelching can also be set to clear automatically after a time limit has been reached with the unsquelch-delay command.

Default

n/a

unsquelch-delay

Syntax

unsquelch-delay seconds

no unsquelch-delay

Context

config>port>serial>rs232>socket>rx

Description

This command clears squelching on a raw socket by setting a limit on the amount of time that squelching can remain active on the port. When the time limit is reached, the auto-clear function is enabled and the serial port’s raw socket is put back into a normal state.

Squelching can also be cleared manually with the squelch-reset command.

The no form of the command disables the auto-clear function on a serial port.

Default

no unsquelch-delay

Parameters

seconds

the number of seconds before the auto-clear function is activated

Values

1 to 120

tx

Syntax

tx

Context

config>port>serial>rs232>socket

Description

This command enables the context to configure parameters for data packets transmitted over a serial port’s raw socket.

inter-session-delay

Syntax

inter-session-delay milliseconds

Context

config>port>serial>rs232>socket>tx

Description

This command specifies a time delay that the node inserts between a session’s data that is being transmitted over a serial port and the next queued session’s data. The next session's data is not sent until the current session's data is sent and the inter-session-delay is reached.

Default

10 ms

Parameters

milliseconds

the time delay, in milliseconds, between a session’s data that is being transmitted over a serial port and the next queued session’s data

Values

0 to 5000

speed

Syntax

speed {600 | 1200 | 2400 | 4800 | 8000 | 9600 | | 14400 | 16000 | 19200 | 24000 | 32000 | 38400 | 56000 | 57600 | 64k | 115200}

Context

config>port>serial>rs232

Description

This command configures the speed of the interface. The speed also determines the DS0 timeslots assigned to the channel group.

RS-232 interfaces that are functioning as raw sockets support speeds up to 115 200 b/s but do not support 56 000 b/s.

RS-232 interfaces that are not functioning as raw sockets support speeds up to 56 000 b/s.

Speeds of 56 000 b/s and greater are only supported if the device-mode is synchronous (with the exception of raw sockets).

The following speeds are supported only on RS-232 interfaces on the 12-port Serial Data Interface card, version 3; 8000, 14400, 16000, 24000, 32000, and 64k.

Default

9600

Parameters

600

sets the link speed to 600 b/s

1200

sets the link speed to 1200 b/s

2400

sets the link speed to 2400 b/s

4800

sets the link speed to 4800 b/s

8000

sets the link speed to 8000 b/s (only on RS-232 interfaces on the 12-port Serial Data Interface card, version 3)

9600

sets the link speed to 9600 b/s

14400

sets the link speed to 14 400 b/s (only on RS-232 interfaces on the 12-port Serial Data Interface card, version 3)

16000

sets the link speed to 16 000 b/s (only on RS-232 interfaces on the 12-port Serial Data Interface card, version 3)

19200

sets the link speed to 19 200 b/s

24000

sets the link speed to 24 000 b/s (only on RS-232 interfaces on the 12-port Serial Data Interface card, version 3)

32000

sets the link speed to 32 000 b/s (only on RS-232 interfaces on the 12-port Serial Data Interface card, version 3)

38400

sets the link speed to 38 400 b/s

56000

sets the link speed to 56 000 b/s (not supported on RS-232 raw sockets)

57600

sets the link speed to 57 600 b/s (supported on RS-232 raw sockets only)

64k

sets the link speed to 64 kb/s (only on RS-232 interfaces on the 12-port Serial Data Interface card, version 3)

115200

sets the link speed to 115 200 b/s (supported on RS-232 raw sockets only)

speed

Syntax

speed {600 | 1200 | 2400 | 4800 | 8000 | 9600 | 14400 | 16000 | 19200 | 32000 | 38400 | 56000 | 64k | 128k | | 192k | 256k | 288k | 336k | 384k | 512k | 640k | 704k | 768k | 896k | 1024k | 1152k | 1280k | 1344k | 1408k | 1536k | 1664k | 1792k |1920k | 2048k | 3072k | 4096k | 5120k | 6144k | 7168k | 8192k | 9216k | 10240k | 11264k | 12288k | 13312k | 14336k | 15360k | 16384k}

Context

config>port>serial>rs530

Description

This command configures the speed of the interface. The speed also determines the DS0 timeslots assigned to the channel group.

Speeds of 56 000 b/s and greater are only supported if the device-mode is synchronous.

Default

64k

Parameters

600

sets the link speed to 600 b/s

1200

sets the link speed to 1200 b/s

2400

sets the link speed to 2400 b/s

4800

sets the link speed to 4800 b/s

8000

sets the link speed to 8000 b/s

9600

sets the link speed to 9600 b/s

14400

sets the link speed to 14 400 b/s

16000

sets the link speed to 16 000 b/s

19200

sets the link speed to 19 200 b/s

32000

sets the link speed to 32 000 b/s

38400

sets the link speed to 38 400 b/s

56000

sets the link speed to 56 000 b/s

64k

sets the link speed to 64 kb/s

128k

sets the link speed to 128 kb/s

192k

sets the link speed to 192 kb/s

256k

sets the link speed to 256 kb/s

288k

sets the link speed to 288 kb/s

336k

sets the link speed to 336 kb/s

384k

sets the link speed to 384 kb/s

512k

sets the link speed to 512 kb/s

640k

sets the link speed to 640 kb/s

704k

sets the link speed to 704 kb/s

768k

sets the link speed to 768 kb/s

896k

sets the link speed to 896 kb/s

1024k

sets the link speed to 1024 kb/s

1152k

sets the link speed to 1152 kb/s

1280k

sets the link speed to 1280 kb/s

1344k

sets the link speed to 1344 kb/s

1408k

sets the link speed to 1408 kb/s

1536k

sets the link speed to 1536 kb/s

1664k

sets the link speed to 1664 kb/s

1792k

sets the link speed to 1792 kb/s

1920k

sets the link speed to 1920 kb/s

2048k

sets the link speed to 2048 kb/s

3072k

sets the link speed to 3072 kb/s

4096k

sets the link speed to 4096 kb/s

5120k

sets the link speed to 5120 kb/s

6144k

sets the link speed to 6144 kb/s

7168k

sets the link speed to 7168 kb/s

8192k

sets the link speed to 8192 kb/s

9216k

sets the link speed to 9216 kb/s

10240k

sets the link speed to 10 240 kb/s

11264k

sets the link speed to 11 264 kb/s

12288k

sets the link speed to 12 288 kb/s

13312k

sets the link speed to 13 312 kb/s

14336k

sets the link speed to 14 336 kb/s

15360k

sets the link speed to 15 360 kb/s

16384k

sets the link speed to 16 384 kb/s

speed

Syntax

speed {56k | 64k | 128k | 192k | 256k | 384k | 512k | 640k | 768k | 896k | 1024k | 1152k | 1280k | 1334k | 1408k | 1536k | 1664k | 1792k |1920k | 2048k | 4096k | 5120k | 7168k}

Context

config>port>serial>v35

Description

This command configures the speed of the interface. The speed also determines the DS0 timeslots assigned to the channel group.

The following speeds are supported only on V.35 interfaces on the 12-port Serial Data Interface card, version 3; 56k, 192k, 1334k, 2048k, 4096k, 5120k, and 7168k.

Default

64k

Parameters

56k

sets the link speed to 56 kb/s (only on V.35 interfaces on the 12-port Serial Data Interface card, version 3)

64k

sets the link speed to 64 kb/s

128k

sets the link speed to 128 kb/s

192k

sets the link speed to 192 kb/s (only on V.35 interfaces on the 12-port Serial Data Interface card, version 3)

256k

sets the link speed to 256 kb/s

384k

sets the link speed to 384 kb/s

512k

sets the link speed to 512 kb/s

640k

sets the link speed to 640 kb/s

768k

sets the link speed to 768 kb/s

896k

sets the link speed to 896 kb/s

1024k

sets the link speed to 1024 kb/s

1152k

sets the link speed to 1152 kb/s

1280k

sets the link speed to 1280 kb/s

1334k

sets the link speed to 1334 kb/s (only on V.35 interfaces on the 12-port Serial Data Interface card, version 3)

1408k

sets the link speed to 1408 kb/s

1536k

sets the link speed to 1536 kb/s

1664k

sets the link speed to 1664 kb/s

1792k

sets the link speed to 1792 kb/s

1920k

sets the link speed to 1920 kb/s

2048

sets the link speed to 2048 kb/s (only on V.35 interfaces on the 12-port Serial Data Interface card, version 3)

4096k

sets the link speed to 4096 kb/s (only on V.35 interfaces on the 12-port Serial Data Interface card, version 3)

5120k

sets the link speed to 5120 kb/s (only on V.35 interfaces on the 12-port Serial Data Interface card, version 3)

7168k

sets the link speed to 7168 kb/s (only on V.35 interfaces on the 12-port Serial Data Interface card, version 3)

speed

Syntax

speed {1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 56000 | 64k | 128k | 256k | 384k | 512k | 640k | 768k | 896k | 1024k | 1152k | 1280k | 1408k | 1536k | 1664k | 1792k |1920k | 2048k}

Context

config>port>serial>x21

Description

This command configures the speed of the interface. The speed also determines the DS0 timeslots assigned to the channel group.

Speeds of 56 000 b/s and greater are only supported if the device-mode is synchronous.

The 2048 kb/s value is supported only on X.21 interfaces on the 12-port Serial Data Interface card, version 3.

Default

64k

Parameters

1200

sets the link speed to 1200 b/s

2400

sets the link speed to 2400 b/s

4800

sets the link speed to 4800 b/s

9600

sets the link speed to 9600 b/s

19200

sets the link speed to 19 200 b/s

38400

sets the link speed to 38 400 b/s

56000

sets the link speed to 56 000 b/s

64k

sets the link speed to 64 kb/s

128k

sets the link speed to 128 kb/s

256k

sets the link speed to 256 kb/s

384k

sets the link speed to 384 kb/s

512k

sets the link speed to 512 kb/s

640k

sets the link speed to 640 kb/s

768k

sets the link speed to 768 kb/s

896k

sets the link speed to 896 kb/s

1024k

sets the link speed to 1024 kb/s

1152k

sets the link speed to 1152 kb/s

1280k

sets the link speed to 1280 kb/s

1408k

sets the link speed to 1408 kb/s

1536k

sets the link speed to 1536 kb/s

1664k

sets the link speed to 1664 kb/s

1792k

sets the link speed to 1792 kb/s

1920k

sets the link speed to 1920 kb/s

2048k

sets the link speed to 2048 kb/s (only supported on X.21 interfaces on the 12-port Serial Data Interface card, version 3)

stop-bits

Syntax

stop-bits {1 | 2}

Context

config>port>serial>rs232

config>port>serial>rs530

config>port>serial>x21

Description

This command configures the number of stop bits used to signify the end of a character.

This command is valid only if the device-mode is asynchronous.

This command cannot have a value of 2 if the character-length value is 8 and the parity value is anything other than no parity (that is, anything other than none).

Default

1

Parameters

1

specifies one stop bit in a character

2

specifies two stop bits in a character

1 External is commonly referred to as Terminal Timing.