SONET/SDH Port Commands

sonet-sdh

Syntax

sonet-sdh

Context

config>port

Description

This command enables access to the context to configure SONET/SDH ports. This context can only be used when configuring an OC3/OC12 or STM1/STM4 port on an appropriate adapter card.

SONET/SDH ports can be configured on the following adapter cards:

  • 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card

  • 4-port OC3/STM1 Clear Channel Adapter Card

  • 2-port OC3/STM1 Channelized Adapter card

clock-source

Syntax

clock-source {loop-timed | node-timed}

Context

config>port>sonet-sdh

Description

This command configures the clock for transmitted data from either the internal clock or from a clock recovered from the line’s receive data stream.

Default

node-timed

Parameters

loop-timed

the link recovers the clock from the received data stream. The 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card does not support loop timing.

node-timed

the link uses the internal clock when transmitting data

framing

Syntax

framing {sonet | sdh}

Context

config>port>sonet-sdh

Description

This command specifies the SONET/SDH framing to be either SONET or SDH.

Changing the framing mode on the 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card causes the adapter card to reset.

Default

sonet

Parameters

sonet

configures the port for SONET framing

sdh

configures the port for SDH framing

group

Syntax

group sonet-sdh-index payload {tu3 | vt2 | vt15}

Context

config>port>sonet-sdh

Description

This command configures the SONET/SDH group payload on a 2-port OC3/STM1 Channelized Adapter card or a 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card.

Default

n/a

Parameters

sonet-sdh-index

specifies the group index for the port on the 2-port OC3/STM1 Channelized Adapter card or 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card configured for OC3. When configured for OC12, the sonet-sdh-index specifies the tug3-index, where index is from 1 to 3.

tu3

specifies the tributary unit group (TUG3) on a path and configures the port or channel for transport network use (supported only on the 2-port OC3/STM1 Channelized Adapter card)

vt2

configures the path as a VT2 type virtual tributary group

vt15

configures the path as a VT1.5 type virtual tributary group

hold-time

Syntax

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

no hold-time

Context

config>port>sonet-sdh

Description

This command configures SONET link dampening timers in 100s of milliseconds, to guard 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 100 ms)

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 100 ms)

loopback

Syntax

loopback {line | internal}

no loopback

Context

config>port>sonet-sdh

Description

This command activates a loopback on the SONET/SDH port. The SONET port must be in a shutdown state to activate any type of loopback. The loopback setting is never saved to the generated/saved configuration file.

Note:

Loopback mode changes on a SONET/SDH port can affect traffic on the remaining ports.

Default

no loopback

Parameters

line

sets the port into a line loopback state. A line loopback loops frames received on the corresponding port back towards the transmit (egress) direction. Line loopbacks are supported on ports configured in network mode.

internal

sets the port into an internal loopback state. An internal loopback loops the frames that are coming in an egress direction from the fabric towards the framer, back to the fabric. This type of loopback is usually referred to as an equipment loopback. Internal loopbacks are supported on ports configured in access mode.

report-alarm

Syntax

[no] report-alarm [loc] [lais] [lrdi] [ss1f] [lb2er-sd] [lb2er-sf] [slof] [slos] [lrei]

Context

config>port>sonet-sdh

Description

This command enables logging of SONET/SDH line and section alarms for a SONET/SDH port. When configured, logging is enabled for the raising and clearing of the specified alarms.

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

Parameters

loc

reports a loss of clock that causes the operational state of the port to be shut down

Default

loss of clock alarms are issued

lais

reports line alarm indication signal errors

Default

line alarm indication signal alarms are not issued

lrdi

reports line remote defect indication errors. Line remote defect indication errors are caused by remote loss of frame (LOF), loss of clock (LOC), and loss of signal (LOS) conditions.

Default

line remote defect indication alarms are issued

ss1f

reports section synchronization failure, which is detected when the S1 byte is not consistent for eight consecutive frames. When configured, ss1f alarms are raised and cleared. Although this option is shown on the CLI, it is not available for use on the 7705 SAR.

Default

section synchronization failure alarms are not issued

lb2er-sd

reports line signal degradation BER (bit interleaved parity) errors

Default

line signal degradation BER alarms are not issued

lb2er-sf

reports line signal failure BER errors

Default

line signal failure BER alarms are issued

slof

reports section loss of frame errors

Default

section loss of frame alarms are issued

slos

reports a section loss of signal error on the transmit side

Default

section loss of signal alarms are issued

lrei

reports a line error condition raised by the remote end as a result of b1 errors received from this node. When configured, line error alarms are raised but not cleared.

Default

line error alarms are not issued

section-trace

Syntax

section-trace {increment-z0 | byte value | string string}

Context

config>port>sonet-sdh

Description

This command configures the section trace bytes in the SONET section header to interoperate with some older versions of ADMs or regenerators that require an incremental STM ID. You can explicitly configure an incremental STM value rather than a static one in the SDH overhead by specifying an increment-z0 value.

The increment-z0 parameter is not supported on the 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card.

Default

byte 0x1

Parameters

increment-z0

configures an incremental STM ID instead of a static value

value

sets values in SONET header bytes

Values

0 to 255 or 0x00 to 0xFF

Default

0x1

string

specifies a text string that identifies the section

Values

a string up to 16 bytes

speed

Syntax

speed {oc3 | oc12}

Context

config>port>sonet-sdh

Description

This command configures the speed of a SONET/SDH port.

Although the oc3 option is shown in the CLI, it is not configurable. And, although the oc12 option is shown in the CLI, it is not available for use on the 7705 SAR. Users can change between oc3 and oc12 on the 4-port OC3/STM1 / 1-port OC12/STM4 Adapter card by using the mda-mode keyword in the config>card>mda context and selecting either the p4-oc3 or p1-oc12 option. The adapter card automatically reboots to make the change.

The no form of this command reverts to the default value.

Default

oc3

Parameters

oc3

sets the speed of the port to OC3

oc12

sets the speed of the port to OC12 (not available on the 7705 SAR)

threshold

Syntax

threshold {ber-sd | ber-sf} rate threshold-rate

no threshold {ber-sd | ber-sf}

Context

config>port>sonet-sdh

Description

This command configures the line signal (b2) degradation bit error rate (BER) and line signal failure thresholds.

Alarms are raised if the line signal bit interleaved parity error rates exceed either the degradation or failure thresholds. If the failure threshold is crossed, the link will be set to operationally down.

The no form of this command reverts to the default value.

Default

threshold ber-sd 6 - signal degrade BER threshold of 10-6

threshold ber-sf 3 - signal failure BER threshold of 10-3

Parameters

ber-sd

specifies the BER for signal degradation

ber-sf

specifies the BER for signal failure

threshold-rate

specifies the BER negative exponent (n in 10-n), expressed as a decimal integer

Values

3 to 9 (10-3 to 10-9)

tx-dus

Syntax

[no] tx-dus

Context

config>port>sonet-sdh

Description

This command allows the Quality Level (QL) value transmitted from the Synchronization Status Messaging (SSM) channel of a SONET/SDH port to be set to QL-DUS/QL-DNU (do not use for synchronization for timing purposes).

Default

no tx-dus