01-Access Volume

HomeSupportResource CenterRoutersH3C SR6600 Router SeriesH3C SR6600 Router SeriesTechnical DocumentsReference GuidesCommand ReferencesH3C SR6600 Command Manual-Release 2315(V1.09)01-Access Volume
04-WAN Interface Commands
Title Size Download
04-WAN Interface Commands 408.37 KB

Table of Contents

1 WAN Interface Configuration Commands· 1-1

Basic Serial Interface Configuration Commands· 1-1

baudrate· 1-1

clock· 1-2

code· 1-3

crc· 1-3

description· 1-4

detect 1-4

display interface serial 1-5

idle-mark· 1-8

invert receive-clock· 1-8

invert transmit-clock· 1-9

loopback· 1-9

mtu· 1-10

phy-mru· 1-10

reverse-rts· 1-11

shutdown· 1-12

sub-interface rate-statistic· 1-12

timer hold· 1-13

virtualbaudrate· 1-13

Basic CE1 Interface Configuration Commands· 1-14

alarm·· 1-14

cable· 1-15

channel-set (CE1 interface) 1-15

clock (CE1 interface) 1-16

clock-change auto· 1-17

code (CEI interface) 1-17

controller e1· 1-18

crc· 1-18

data-coding· 1-19

description· 1-19

detect-ais· 1-20

display controller e1· 1-20

error-diffusion restraint config· 1-22

error-diffusion restraint enable· 1-23

frame-format (CE1 interface) 1-23

idlecode (CE1 interface) 1-24

itf (CE1 interface) 1-24

loopback (CE1 interface) 1-25

reset counters controller e1· 1-26

shutdown· 1-26

using (CE1 interface) 1-27

Basic CT1 Interface Configuration Commands· 1-27

alarm (CT1 interface) 1-27

alarm-threshold· 1-28

bert (CT1 interface) 1-29

cable (CT1 interface) 1-30

channel-set (CT1 interface) 1-30

clock (CT1 interface) 1-31

code (CT1 interface) 1-32

controller t1· 1-32

crc· 1-33

data-coding (CT1 interface) 1-33

description (CT1 interface) 1-34

display controller t1· 1-35

fdl 1-37

frame-format (CT1 interface) 1-38

idlecode (CT1 interface) 1-39

itf (CT1 interface) 1-39

loopback (CT1 interface) 1-40

reset counters controller t1· 1-41

sendloopcode· 1-41

shutdown (CT1 interface) 1-42

E1-F Interface Configuration Commands· 1-43

crc· 1-43

display fe1· 1-43

fe1 alarm·· 1-44

fe1 cable· 1-45

fe1 clock· 1-45

fe1 code· 1-46

fe1 data-coding· 1-46

fe1 detect-ais· 1-47

fe1 frame-format 1-47

fe1 idlecode· 1-48

fe1 itf 1-48

fe1 loopback· 1-49

fe1 timeslot-list 1-50

fe1 unframed· 1-51

T1-F Interface Configuration Commands· 1-51

ft1 alarm·· 1-51

crc· 1-52

display ft1· 1-52

ft1 alarm-threshold· 1-55

ft1 bert 1-57

ft1 cable· 1-57

ft1 clock· 1-58

ft1 code· 1-59

ft1 data-coding· 1-59

ft1 fdl 1-60

ft1 frame-format 1-60

ft1 idlecode· 1-61

ft1 itf 1-62

ft1 loopback· 1-62

ft1 sendloopcode· 1-63

ft1 timeslot-list 1-64

Basic CE3 Interface Configuration Commands· 1-65

bert (CE3 interface) 1-65

clock (CE3 interface) 1-66

controller e3· 1-66

crc· 1-67

description (CE3 interface) 1-67

display controller e3· 1-68

e1 bert 1-69

e1 channel-set 1-70

e1 set clock· 1-71

e1 set frame-format 1-71

e1 set loopback· 1-72

e1 shutdown· 1-73

e1 unframed· 1-73

fe3· 1-74

loopback (CE3 interface) 1-75

national-bit 1-75

reset counters controller e3· 1-76

shutdown (CE3 interface) 1-77

using (CE3 interface) 1-77

Basic CT3 Interface Configuration Commands· 1-78

alarm (CT3 interface) 1-78

bert (CT3 interface) 1-79

cable (CT3 interface) 1-79

clock (CT3 interface) 1-80

controller t3· 1-81

crc· 1-81

description (CT3 interface) 1-82

display controller t3· 1-82

feac· 1-86

frame-format (CT3 interface) 1-87

ft3· 1-88

loopback (CT3 interface) 1-89

mdl (CT3 interface) 1-90

reset counters controller t3· 1-91

shutdown (CT3 interface) 1-91

t1 alarm·· 1-92

t1 bert 1-93

t1 channel-set 1-94

t1 sendloopcode· 1-95

t1 set clock· 1-95

t1 set frame-format 1-96

t1 set loopback· 1-97

t1 set fdl 1-97

t1 show· 1-98

t1 shutdown· 1-99

t1 unframed· 1-100

using (CT3 interface) 1-101

 


Basic Serial Interface Configuration Commands

baudrate

Syntax

baudrate baudrate

undo baudrate

View

Serial interface view

Default Level

2: System level

Parameters

baudrate: Baud rate (in bps) to be set for a serial interface.

Description

Use the baudrate command to set the baud rate for a serial interface.

Use the undo baudrate command to restore the default.

By default, the baud rate is 64,000 bps on a synchronous serial interface.

The following are the baud rates available with synchronous serial interfaces:

1,200 bps, 2,400 bps, 4,800 bps, 9,600 bps, 19,200 bps, 38,400 bps, 56,000 bps, 57,600 bps, 64,000 bps, 72,000 bps, 115,200 bps, 128,000 bps, 192,000 bps, 256,000 bps, 384,000 bps, 512,000 bps, 1,024,000 bps, 2,048,000 bps, and 4,096,000 bps.

The baud rate range available with synchronous serial interfaces depends on the applied physical electric specifications.

l          For V.24 DTE/DCE, the baud rate available ranges from 1,200 bps to 64,000 bps.

l          For V.35 DCE/DCE, X.21 DTE/DCE, EIA/TIA-449 DTE/DCE, and EIA-530 DTE/DCE, the baud rate available ranges from 1,200 bps to 4,096,000 bps.

After a synchronous/asynchronous serial interface makes the synchronous/asynchronous switchover, the baud rate of the interface resumes the default baud rate in the new operating mode.

 

l          Take the physical electric specifications of the cable into consideration when setting the baud rate for a serial interface.

l          The baud rate adopted by a DCE-DTE pair is determined by the DCE.

 

Examples

# Set the baud rate of synchronous serial interface 1/0 at DCE side to 115200 bps.

<Sysname> system-view

[Sysname] interface serial 1/0

[Sysname-Serial1/0] baudrate 115200

clock

Syntax

clock { dteclk1 | dteclk2 | dteclk3 | dteclk4 | dteclkauto }

undo clock

View

Synchronous serial interface view

Default Level

2: System level

Parameters

dteclk1: Sets the interface clock selection mode to DTE clock option 1.

dteclk2: Sets the interface clock selection mode to DTE clock option 2.

dteclk3: Sets the interface clock selection mode to DTE clock option 3.

dteclk4: Sets the interface clock selection mode to DTE clock option 4.

dteclkauto: Sets the interface clock selection mode to DTE autonegotiation.

Description

Use the clock command to set clock selection mode for the synchronous serial interface.

Use the undo clock command to restore the default.

By default, the DTE-side clock on synchronous serial interfaces is DTE clock option 1 (dteclk1).

This command does not take effect when X.21 DTE cables are used. The DTE-side clock on synchronous serial interfaces is DTE clock option 3 (dteclk3).

A synchronous serial interface can operate as DCE or DTE.

l          As DCE, the interface provides DCEclk clock to the DTE.

l          As DTE, the interface accepts the clock provided by the DCE. As transmitting and receiving clocks of synchronization devices are independent, the receiving clock of a DTE device can be either the transmitting or receiving clock of the DCE device, so is the transmitting clock. Therefore, four clock options are available for a DTE device.

See the following figure:

Figure 1-1 Select a clock for a synchronous serial interface

 

In Figure 1-1, “TxClk” represents transmitting clock and “RxClk” receiving clock.

The following table gives the four clock selection options.

Table 1-1 Clock options available for a synchronous serial interface working as DTE

Clock selection option

Description

DTEclk1

TxClk = TxClk, RxClk = RxClk

DTEclk2

TxClk = TxClk, RxClk = TxClk

DTEclk3

TxClk = RxClk, RxClk = TxClk

DTEclk4

TxClk = RxClk, RxClk = RxClk

 

In the table, the clock ahead of the equal sign (=) is the DTE clock and the one behind is the DCE clock.

Examples

# Set the synchronous serial interface working as DTE to use the clock selection option dteclk2.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] clock dteclk2

code

Syntax

code { nrz | nrzi }

undo code

View

Synchronous serial interface view

Default Level

2: System level

Parameters

nrz: Specifies the encoding format as non-return-to-zero (NRZ).

nrzi: Specifies the encoding format as non-return-to-zero-inverse (NRZI).

Description

Use the code command to set the digital signal coding format on the synchronous serial interface.

Use the undo code command to restore the default, that is, NRZ.

Examples

# Set the digital signal coding format to NRZI on synchronous serial interface 1/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] code nrzi

crc

Syntax

crc { 16 | 32 | none }

undo crc

View

Synchronous serial interface view

Default Level

2: System level

Parameters

16: Specifies 16-bit CRC.

32: Specifies 32-bit CRC.

none: Disables CRC.

Description

Use the crc command to set the CRC mode.

Use the undo crc command to restore the default.

By default, 16-bit CRC is adopted.

Examples

# Configure to adopt 32-bit CRC.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] crc 32

description

Syntax

description text

undo description

View

Serial interface view

Default Level

2: System level

Parameters

text: interface description, which is a string of 1 to 80 characters.

Description

Use the description command to configure the interface description.

Use the undo description command to restore the default.

By default, the description of an interface is its interface name followed by the word interface, Serial2/0 Interface for example.

Examples

# Configure the description of Serial2/0 as router-interface.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] description router-interface

detect

Syntax

detect { dcd | dsr-dtr }

undo detect { dcd | dsr-dtr }

View

Synchronous serial interface view

Default Level

2: System level

Parameters

dsr-dtr: Detects DSR (data set ready) and DTR (data terminal ready) signals of DSU/CSU (data service unit/channel service unit).

dcd: Detects the DCD (data carrier detect) signal of the DSU/CSU on the serial interface.

Description

Use the detect command to enable data carrier detection as well as level detection on the serial interface.

Use the undo detect command to disable data carrier detection as well as level detection on the serial interface.

By default, data carrier and level detection is enabled on serial interfaces.

When determining whether a synchronous serial interface is up or down, the system by default detects the DSR signal, DCD signal, and presence of cable connection. Only when the three signals are all valid will the interface be regarded up. If level detection is disabled, the system considers that the interface is up with both DTR and DSR being up after detecting the cable connection.

Examples

# Enable data carrier detection on synchronous serial interface 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] detect dcd

display interface serial

Syntax

display interface serial interface-number

View

Any view

Default Level

1: Monitor level

Parameters

interface-number: Serial interface number.

Description

Use the display interface serial command to display information about a serial interface.

Examples

# Display information about serial interface Serial 7/1.

<Sysname> display interface serial 7/1

Serial7/1 current state: UP

Line protocol current state: UP

Description: Serial7/1 Interface

The Maximum Transmit Unit is 1500, Hold timer is 10(sec)

Internet Address is 9.9.9.6/24 Primary

Link layer protocol is PPP

LCP opened, IPCP opened

Output queue : (Urgent queuing : Size/Length/Discards)  0/100/0

Output queue : (Protocol queuing : Size/Length/Discards)  0/500/0

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

Physical layer is synchronous, Baudrate is 64000 bps

Interface is DCE, Cable type is V35, Clock mode is DCECLK

Last clearing of counters: Never

    Last 70 seconds input rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec

    Last 70 seconds output rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec

    Input: 6668 packets, 80414 bytes, 0 no buffers

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts

           0 frame errors

    Output:6670 packets, 80446 bytes

           0 errors, 0 underruns, 0 collisions

           0 deferred

    DCD=UP  DTR=UP  DSR=UP  RTS=UP  CTS=UP

Figure 1-2 display interface serial command output description

Field

Description

Serial7/1 current state

Current physical state of the serial interface

Line protocol current state

Link protocol state of the serial interface

Description

Description of the serial interface

The Maximum Transmit Unit is 1500, Hold timer is 10(sec)

The default maximum transmit unit (MTU) on the serial interface is 1500 bytes, which indicates that packets larger than 1500 bytes will be fragmented before being sent. But if fragmentation is not allowed, these packets will be dropped.

Hold timer refers to the lifetime of a packet in a network. It is the maximum amount of time a packet can exist in the network before being dropped. The hold timer of packets on the serial interface is set to 10 seconds.

Internet Address is 9.9.9.6/24 Primary

IP address of the serial interface

Link layer protocol is PPP

Link layer protocol of the serial interface

LCP opened, IPCP opened

A PPP connection is established successfully.

Output queue : (Urgent queuing : Size/Length/Discards)  0/100/0

Urgent queuing: current number of packets in the queue, maximum number of packets that can stay in the queue, and number of dropped packets.

Link layer protocol packets, such as PPP negotiation packets and keepalive packets enter this queue.

Output queue : (Protocol queuing : Size/Length/Discards)  0/500/0

Protocol queuing: current number of packets in the queue, maximum number of packets that can stay in the queue, and number of dropped packets.

IPv6 packets enter this queue.

Output queue : (FIFO queuing : Size/Length/Discards)  0/75/0

FIFO queuing: current number of packets in the first-in first-out (FIFO) queue, maximum number of packets that can stay in the queue, and number of dropped packets.

Physical layer is synchronous, Baudrate is 64000 bps

Physical layer status and bandwidth of the serial interface

Interface is DCE, Cable type is V35, Clock mode is DCECLK

Synchronizes the clock mode on the DCE side of the serial interface.

Last clearing of counters: Never

The last time the statistics on the serial interface is cleared.

Last 70 seconds input rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec

Average input rate in the last 70 seconds: bytes/sec indicates bytes per second, bits/sec indicates bits per second, and packets/sec indicates packets per second.

Last 70 seconds output rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec

Average output rate in the last 70 seconds: bytes/sec indicates bytes per second, bits/sec indicates bits per second, and packets/sec indicates packets per second.

 Input: 6668 packets, 80414 bytes

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts, 0 no buffers

           0 frame errors

Input statistics on the serial interface:

l      broadcasts: Number of received broadcast packets.

l      multicasts: Number of received multicast packets.

l      errors: Number of error packets detected on the physical layer.

l      runts: Number of undersized packets received on the serial interface.

l      giants: Number of oversized packets received on the serial interface.

l      CRC: Number of normal-sized packets with CRC errors.

l      align errors: Number of align error packets.

l      overruns: Number of packets that the serial interface is unable to process because the port is overrun.

l      aborts: Number of packets that are not received successfully.

l      no buffers: Number of packets that are discarded because the buffer runs out.

l      frame errors: Number of packets with frame errors.

Output:6670 packets, 80446 bytes

           0 errors, 0 underruns, 0 collisions

           0 deferred

Output statistics on the serial interface:

l      errors: Number of error packets detected on the physical layer.

l      underruns: Number of packets that fail to be forwarded because the serial interface reads from memory slower than it forwards packets.

l      collisions: Number of packets with collisions detected.

l      deferred: Number of deferred or timeout packets.

DCD=UP  DTR=UP  DSR=UP  RTS=UP  CTS=UP

Data Set Ready (DSR), Data Terminal Ready (DTR), and Data Carrier Detect (DCD) signals are up. For details about DSR, DTR, and DCD, refer to the detect command.

Request to Send (RST) and Clear to Send (CTS) signals are also up.

 

The output of the display interface serial command varies with your device models and card types.

 

idle-mark

Syntax

idle-mark

undo idle-mark

View

Synchronous serial interface view

Default Level

2: System level

Parameters

None

Description

Use the idle-mark command to set the line idle code of the synchronous serial interface to 0xFF.

Use the undo idle-mark command to restore the default, that is, 0x7E.

In most cases, a synchronous serial interface uses 0x7E to identify the idle state of the line. You may need to set the line idle code to 0xFF however to interoperate with devices that use 0xFF (high level of all ones) as line idle code.

Examples

# Set the line idle code of synchronous serial interface 2/0 to 0xFF.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] idle-mark

invert receive-clock

Syntax

invert receive-clock

undo invert receive-clock

View

Serial interface view

Default Level

2: System level

Parameters

None

Description

Use the invert receive-clock command to invert the receive-clock signal on the DTE-side synchronous serial interface.

Use the undo invert receive-clock command to restore the default.

By default, receive-clock signal inversion is disabled on DTE-side synchronous serial interfaces.

Sometimes, you may need to invert the receive-clock signal on a DTE-side serial interface to eliminate the half clock-period delay on the line. This command is necessary only for some special DCE devices. In common applications, clock must not be inverted.

Related commands: invert transmit-clock, clock.

Examples

# Invert the receive-clock on DTE-side synchronous serial interface 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] invert receive-clock

invert transmit-clock

Syntax

invert transmit-clock

undo invert transmit-clock

View

Serial interface view

Default Level

2: System level

Parameters

None

Description

Use the invert transmit-clock command to invert the transmit-clock signal on the DTE-side synchronous serial interface.

Use the undo invert transmit-clock command to restore the default.

By default, transmit-clock signal inversion is disabled on DTE-side synchronous serial interfaces.

Sometimes, you may need to invert the receive-clock signal on a DTE-side serial interface to eliminate the half clock-period delay on the line. This command is necessary only for some special DCE devices. In common applications, clock must not be inverted.

Related commands: invert receive-clock, clock.

Examples

# Invert the transmit-clock on DTE-side synchronous serial interface 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] invert transmit-clock

loopback

Syntax

loopback

undo loopback

View

Synchronous serial interface view, AUX interface view

Default Level

2: System level

Parameters

None

Description

Use the loopback command to enable internal/external loopback on the serial interface.

Use the undo loopback command to restore the default.

By default, loopback is disabled.

Loopback is intended for test use. Disable it otherwise.

Examples

# Enable internal/external loopback on interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] loopback

mtu

Syntax

mtu size

undo mtu

View

Synchronous serial interface view

Default Level

2: System level

Parameters

size: Maximum transmission unit (MTU) to be set for a serial interface, in the range 128 to 1,500 (in bytes).

Description

Use the mtu command to set the MTU for an interface.

Use the undo mtu command to restore the default.

By default, the MTU of an interface is 1,500 bytes.

Due to the length of QoS queue, a packet may be discarded if the MTU is relatively small and the packet is segmented into too many fragments. You can increase the QoS queue length to avoid this situation. To do so, use the qos fifo queue-length command in interface view. For details, refer to the QoS Configuration in QoS Volume.

The MTU setting can affect IP packets assembly and fragmentation on the interface.

For your MTU setting to take effect, re-enable the interface with the shutdown command and the undo shutdown command.

Examples

# Set the MTU of Serial 2/0 to 1200 bytes.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] mtu 1200

phy-mru

Syntax

phy-mru mrusize

undo phy-mru

View

Synchronous serial interface view

Default Level

2: System level

Parameters

mrusize: Maximum receive unit (MRU) to be set, in the range 4 to 1700 (in bytes).

Description

Use the phy-mru command to set the MRU for an interface.

Use the undo phy-mru command to restore the default.

By default, the MRU of an interface is 1700 bytes.

Examples

# Set the MRU of AUX 0 to 1500 bytes.

<Sysname> system-view

[Sysname] interface aux 0

[Sysname-Aux0] phy-mru 1500

reverse-rts

Syntax

reverse-rts

undo reverse-rts

View

Synchronous serial interface view

Default Level

2: System level

Parameters

None

Description

Use the reverse-rts command to reverse RTS signal for debugging purpose.

Use the undo reverse-rts command to restore the default.

By default, RTS signal reverse is disabled.

This command is used in hardware flow control where the remote is not allowed to send data when the local end is doing that.

Examples

# Reverse RTS signal.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] reverse-rts

shutdown

Syntax

shutdown

undo shutdown

View

Serial interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to disable an interface.

Use the undo shutdown command to enable an interface.

By default, an interface is enabled.

In certain circumstances, modification to the interface parameters does not immediately take effect, and therefore, you need to re-enable the interface to make the modification work.

Examples

# Disable Serial2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] shutdown

sub-interface rate-statistic

Syntax

sub-interface rate-statistic

undo sub-interface rate-statistic

View

Serial interface view

Default Level

2: System level

Parameters

None

Description

Use the sub-interface rate-statistic command to enable the collecting of rate statistics of the subinterfaces on a serial interface.

Use the undo sub-interface rate-statistic command to restore the default.

By default, the collecting of rate statistics of the subinterfaces on a serial interface is disabled.

 

l          Because this feature may take a large amount of the system resource, use this command with caution.

l          All interfaces that support subinterfaces support this feature.

 

Examples

# Enable the collecting of rate statistics of the subinterfaces on Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] sub-interface rate-statistic

Warning: This configuration may make a negative effect on the performance. Are you sure to continue? [Y/N]: Y

[Sysname-Serial2/0]

timer hold

Syntax

timer hold seconds

undo timer hold

View

Synchronous serial interface view

Default Level

2: System level

Parameters

seconds: Interval (in seconds) for the interface to send keepalive packets, in the range 0 to 32,767.

Description

Use the timer hold command to set the link state polling interval, that is, the interval for the interface to send keepalive packets.

Use the undo timer hold command to restore the default.

By default, the polling interval is 10 seconds.

Examples

# Set the polling interval to 20 seconds for interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] timer hold 20

virtualbaudrate

Syntax

virtualbaudrate virtualbaudrate

undo virtualbaudrate

View

Synchronous serial interface view

Default Level

2: System level

Parameters

virtualbaudrate: Baud rate (in bps) to be set, which must be consistent with the one configured at the DCE side. It can be 1,200, 2,400, 4,800, 9,600, 19,200, 38,400, 56,000, 57,600, 64,000, 72,000, 115,200, 128,000, 192,000, 256,000, 384,000, 512,000, 768,000, 1024,000, 2,048,000, or 4,096,000.

Description

Use the virtualbaudrate command to set a virtual baud rate for the DTE interface.

Use the undo virtualbaudrate command to remove the specified virtual baud rate.

When working as DTE, the serial interface determines its baud rate through negotiation with the DCE side. The virtualbaudrate command, however, allows you to configure DTE-side baudrate manually, but the configured value must be the same as the one set at the DCE side.

After executing the virtualbaudrate command, you need to shut down and then bring up the interface (using the shutdown command and the undo shutdown command) for the new setting to take effect.

 

l          Configure the baudrate command at DCE side and the virtualbaudrate command at DTE side (only when the interface is operating in synchronous mode). Avoid configuring the two commands at the same end of a link.

l          At DCE side, the display interface command displays the baud rate of the interface; whereas at the DTE end, the command displays the virtual baud rate of the interface.

 

Related commands: baudrate.

Examples

# Set the virtual baudrate of DTE interface Serial 2/0 to 19200 bps.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] virtualbaudrate 19200

Basic CE1 Interface Configuration Commands

alarm

Syntax

alarm detect rai

undo alarm detect rai

View

CE1 interface view

Default Level

2: System level

Parameters

detect: Enables periodical detection on the interface.

rai: Remote Alarm Indication (RAI).

Description

Use the alarm command to enable RAI detection on the interface.

Use the undo alarm command to disable RAI detection on the interface.

By default, RAI detection is enabled on an interface.

This command is applicable when the interface operates in CE1 mode.

Examples

# Disable RAI detection on CE1 interface E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] undo alarm detect rai

cable

Syntax

cable { long | short }

undo cable

View

CE1 interface view

Default Level

2: System level

Parameters

long: Indicates that the attenuation of receiver is –43 dB.

short: Indicates that the attenuation of receiver is –10 dB.

Description

Use the cable command to set the cable type for a CE1 interface.

Use the undo cable command to restore the default.

By default, the long keyword applies.

Examples

# Set the cable length matching CE1 interface E1 2/0 to short.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] cable short

channel-set (CE1 interface)

Syntax

channel-set set-number timeslot-list list

undo channel-set [ set-number ]

View

CE1 interface view

Default Level

2: System level

Parameters

set-number: The number of the channel set formed by bundling timeslots on the interface, in the range 0 to 30.

timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 31. You can specify a single timeslot by specifying a timeslot number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }.

Description

Use the channel-set command to bundle timeslots on the CE1 interface into a channel-set.

Use the undo channel-set command to remove bundled timeslots.

By default, no timeslots are bundled into channel sets.

A CE1 interface in CE1 mode is physically divided into 32 timeslots numbered 0 through 31.

In actual applications, all the timeslots except timeslot 0 can be bundled into multiple channel sets. For each channel set, the system automatically creates a serial interface which is logically equivalent to a synchronous serial interface.

The serial interface is numbered in the form of serial interface-number:set-number, where, interface-number is the number of the CE1 interface, and set-number is the number of the channel set.

Examples

# Bundle timeslots 1, 2, 5, 10 through 15, and 18 on CE1 interface E1 2/0 into channel set 0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] channel-set 0 timeslot-list 1,2,5,10-15,18

# Make the same configuration on the CE1 interface on the remote router.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] channel-set 0 timeslot-list 1,2,5,10-15,18

clock (CE1 interface)

Syntax

clock { master | slave }

undo clock

View

CE1 interface view

Default Level

2: System level

Parameters

master: Adopts the internal clock as the clock source.

slave: Adopts the line clock as the clock source.

Description

Use the clock command to configure clock source for the CE1 interface.

Use the undo clock command to restore the default clock source, that is, line clock.

When the CE1 interface is working as DCE, choose the internal clock (master) for it. When it is working as DTE, choose the line clock for it.

Examples

# Use the internal clock as the clock source on CE1 interface E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] clock master

clock-change auto

Syntax

clock-change auto

undo clock-change auto

View

CE1 interface view

Default Level

2: System level

Parameters

auto: Enables automatic clock mode change for the interface.

Description

Use the clock-change auto command to enable the automatic clock mode change function on the interface, that is, configure the interface that uses the slave clock mode to switch to the master clock mode automatically when receiving an AIS/LOS alarm. After the alarm is cleared, the interface automatically switches back to the user-configured clock mode.

Use the undo clock-change auto command to disable the automatic clock mode change function. If the interface has already switched its clock mode, this command restores the user-configured clock mode for the interface.

By default, automatic clock mode change is disabled. This command is applicable to interfaces working in CE1 mode.

Examples

# Disable automatic clock mode change for CE1 interface E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] undo clock-change auto

code (CEI interface)

Syntax

code { ami | hdb3 }

undo code

View

CE1 interface view

Default Level

2: System level

Parameters

ami: Adopts alternate mark inversion (AMI) line code format.

hdb3: Adopts high density bipolar 3 (HDB3) line code format.

Description

Use the code command to set the line code format for the CE1 interface.

Use the undo code command to restore the default, that is, HDB3.

Keep the line code format of the interface in consistency with that used by the remote device.

Examples

# Set the line code format of interface E1 2/0 to AMI.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] code ami

controller e1

Syntax

controller e1 number

View

System view

Default Level

2: System level

Parameters

number: CE1 interface number.

Description

Use the controller e1 command to enter CE1 interface view.

Examples

# Enter E1 2/0 interface view.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0]

crc

Syntax

crc { 16 | 32 | none }

undo crc

View

Synchronous serial interface view

Default Level

2: System level

Parameters

16: Adopts 16-bit cyclic redundancy check (CRC).

32: Adopts 32-bit CRC.

none: Disables CRC.

Description

Use the crc command to configure CRC mode for a synchronous serial interface formed on a CE1 interface.

Use the undo crc command to restore the default, that is, 16-bit CRC.

Examples

# Apply 32-bit CRC to a serial interface formed on interface CE1 interface 2/0 in unchannelized mode.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] using e1

[Sysname-E1 2/0] quit

[Sysname] interface serial 2/0:0

[Sysname-Serial2/0:0] crc 32

data-coding

Syntax

data-coding { inverted | normal }

undo data-coding

View

CE1 interface view

Default Level

2: System level

Parameters

inverted: Enables user data inversion.

normal: Disables user data inversion.

Description

Use the data-coding inverted command to enable user data inversion on the CE1 interface.

Use the data-coding normal command to disable user data inversion on the CE1 interface.

Use the undo data-coding command to restore the default.

By default, data inversion is disabled.

To prevent 7e in valid data from being taken for stuffing characters, HDLC inserts a zero after every five ones in the data stream. Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least one out of every eight bits is a one. When AMI encoding is adopted on an E1 interface, the use of data inversion can eliminate the presence of multiple consecutive zeros.

On the CE1 interfaces at two ends of an E1 line, the same data inversion setting must be adopted.

Examples

# Enable user data inversion on CE1 interface E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] data-coding inverted

description

Syntax

description text

undo description

View

CE1 interface view

Default Level

2: System level

Parameters

text: interface description, which is a string of 1 to 80 characters.

Description

Use the description command to configure the description for a CE1 interface.

Use the undo description command to restore the default.

By default, the description of a CE1 interface is its interface name followed by the word interface, E1 2/0 Interface, for example.

Examples

# Configure the description of E1 2/0 as E1-interface.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] description E1-interface

detect-ais

Syntax

detect-ais

undo detect-ais

View

CE1 interface view

Default Level

2: System level

Parameters

None

Description

Use the detect-ais command to enable AIS (alarm indication signal) test on an interface.

Use the undo detect-ais command to disable AIS test.

By default, AIS test is performed.

Examples

# Enable AIS test on E1 2/0 interface.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] detect-ais

display controller e1

Syntax

display controller e1 [ interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-number: Interface number. In conjunction with the e1 keyword, it specifies a CE1 interface.

Description

Use the display controller e1 command to display information about one or all the CE1 interfaces.

The displayed information includes:

l          Physical state of interface

l          Clock mode (source) of interface

l          Frame check mode of interface

l          Line code format of interface

Examples

# Display information about interface E1 2/0.

<Sysname> display controller e1 2/0

E1 2/0 current state: UP

Description : E1 2/0 Interface

Basic Configuration:

  Work mode is E1 framed, Cable type is 75 Ohm unbalanced.

  Frame-format is no-crc4.

  Line code is hdb3, Source clock is slave.

  Idle code is 7e, Itf type is 7e, Itf number is 4.

  Loop back is not set.

Alarm State:

  Receiver alarm state is None.

Historical Statistics:

Last clearing of counters: Never

    Data in current interval (150 seconds elapsed):

    0 Loss Frame Alignment Secs, 0 Framing Error Secs,

    0 CRC Error Secs, 0 Alarm Indication Secs, 0 Loss-of-signals Secs,

    0 Code Violations Secs, 0 Slip Secs, 0 E-Bit error Secs.

Table 1-2 Description on the fields of the  command

Field

Description

E1 2/0 current state: UP

State of the interface

Description : E1 2/0 Interface

Description of the interface

Work mode

Work mode of the interface, which can be E1 or CE1.

Cable type

Cable type of the interface

Frame-format

Frame format of the interface, which can be CRC4 or non-CRC4.

Source Clock

Work mode of the source clock of the interface, which can be master or slave.

Line Code

Line code, which can be AMI or HDB3.

Idle Code

Idle code, which can be 0x7E or 0xFF.

Itf type

Interframe filling tag, which can be 0x7E or 0xFF.

Itf number

Number of interframe filling tags between two successive frames.

Loopback

Loopback state

Alarm State

Alarm state

Historical Statistics

Statistics on the interface

Last clearing of counters

Indicates whether or not the counters are cleared periodically

    Data in current interval (150 seconds elapsed):

    0 Loss Frame Alignment Secs, 0 Framing Error Secs,

    0 CRC Error Secs, 0 Alarm Indication Secs, 0 Loss-of-signals Secs,

    0 Code Violations Secs, 0 Slip Secs, 0 E-Bit error Secs

Statistics on the errors during the current interval

 

error-diffusion restraint config

Syntax

error-diffusion restraint config detect-timer renew-timer threshold

undo error-diffusion restraint config

View

System view

Default Level

2: System level

Parameters

detect-timer: Period to check error packets, in the range 30 to 600 (in seconds).

renew-timer: Period after which an interface resumes its function, in the range 120 to 2,400 (in seconds).

threshold: Packet error rate, in the range 5 to 100 (in percentage).

Description

Use the error-diffusion restraint config command to set the three parameters in error packets diffusion restraint.

Use the undo error-diffusion restraint config command to restore the default values of the three parameters.

The default value for detect-timer is 30 seconds, the default value for renew-timer is 600 seconds, and the default value for threshold is 20%.

The value of renew-timer must be at least four times of detect-timer. If the number of error packets received during detect-timer is less than 100, they will be ignored by the system.

 

These two commands apply to CT1 and CE1 interfaces only.

 

Examples

# Set the detect-timer to 100 seconds, renew-timer to 2400 seconds, and threshold to 15%.

<Sysname> system-view

[Sysname] error-diffusion restraint cofing 100 2400 15

error-diffusion restraint enable

Syntax

error-diffusion restraint enable

undo error-diffusion restraint enable

View

System view

Default Level

2: System level

Parameters

None

Description

Use the error-diffusion restraint enable command to enable error packets diffusion restraint.

Use the undo error-diffusion restraint enable command to disable this function.

By default, error packets diffusion restraint is enabled.

 

These two commands apply to CT1 and CE1 interfaces only.

 

Examples

# Enable error packets diffusion restraint.

<Sysname> system-view

[Sysname] error-diffusion restraint enable

frame-format (CE1 interface)

Syntax

frame-format { crc4 | no-crc4 }

undo frame-format

View

CE1 interface view

Default Level

2: System level

Parameters

crc4: Sets framing format to CRC4.

no-crc4: Sets framing format to no-CRC4.

Description

Use the frame-format command to set the framing format on the CE1 interface.

Use the undo frame-format command to restore the default, that is, no-CRC4.

A CE1 interface in CE1 mode supports both CRC4 and no-CRC4 framing formats, where CRC4 supports four-bit CRC on physical frames while no-CRC4 does not.

Examples

# Set the framing format on interface E1 2/0 to CRC4.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] frame-format crc4

idlecode (CE1 interface)

Syntax

idlecode { 7e | ff }

undo idlecode

View

CE1 interface view

Default Level

2: System level

Parameters

7e: Sets line idle code to 0x7e.

ff: Sets line idle code to 0xff.

Description

Use the idlecode command to set the line idle code on the CE1 interface. Two types of line idle code are available: 0x7E and 0xFF.

Use the undo idlecode command to restore the default, that is, 0x7E.

The line idle code is sent in the timeslots that are not bundled into logical channels.

Examples

# Set the line idle code to 0x7E on CE1 interface E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] idlecode 7e

itf (CE1 interface)

Syntax

itf { number number | type { 7e | ff } }

undo itf { number | type }

View

CE1 interface view

Default Level

2: System level

Parameters

number number: Sets the number of interframe filling tags, which ranges from 0 to 14.

type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e argument or to 0xFF by specifying the ff keyword.

Description

Use the itf command to set the type of and the number of interframe filling tags on the CE1 interface. Two types of interframe filling tag are available: 0x7E and 0xFF.

Use the undo itf command to restore the default.

By default, interframe filling tag is 0x7E and the number of interframe filling tags is 4.

Interframe filling tags are sent when no service data is sent on the timeslots bundled into logical channels on the CE1 interface.

Examples

# Set the type of interframe filling tag to 0xFF on CE1 interface E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] itf type ff

# Set the number of interframe filling tags to five on CE1 interface E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] itf number 5

loopback (CE1 interface)

Syntax

loopback { local | payload | remote }

undo loopback

View

CE1 interface view

Default Level

2: System level

Parameters

local: Sets the interface in local loopback mode.

remote: Sets the interface in external loopback mode.

payload: Sets the interface in external payload loopback mode.

Description

Use the loopback command to enable loopback and set the loopback mode.

Use the undo loopback command to restore the default.

By default, loopback is disabled.

Loopback is intended for checking the condition of interfaces or cables. Disable it otherwise.

You can bundle timeslots on the CE1 interface to form a serial interface and encapsulate it with PPP. After you enable loopback on this serial interface, it is normal that the state of the link layer protocol is reported down.

Examples

# Set interface E1 2/0 in internal loopback mode.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] loopback local

reset counters controller e1

Syntax

reset counters controller e1 interface-number

View

User view

Default Level

2: System level

Parameters

interface-number: Interface number.

Description

Use the reset counters controller e1 command to clear the counter for a CE1 interface.

To display the information about the counter, use the display controller e1 command.

Examples

# Clear the counter for CE1 interface E1 2/0.

<Sysname> reset counters controller e1 2/0

shutdown

Syntax

shutdown

undo shutdown

View

CE1 interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to disable a CE1 interface.

Use the undo shutdown command to enable a CE1 interface.

By default, a CE1 interface is enabled.

Examples

# Disable E1 2/0.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] shutdown

using (CE1 interface)

Syntax

using { ce1 | e1 }

undo using

View

CE1 interface view

Default Level

2: System level

Parameters

ce1: Sets the interface to operate in CE1 mode.

e1: Sets the interface to operate in E1 mode.

Description

Use the using command to configure the operating mode of the CE1 interface.

Use the undo using command to restore the default, that is, CE1 mode.

A CE1 interface can work in either E1 mode (non-channelized mode) or CE1 mode (channelized mode).

In E1 mode, the interface equals a 2.048 Mbps interface without timeslot division. Its logical features are the same like those of a synchronous serial interface. In CE1 mode, it is physically divided into 32 timeslots numbered 0 through 31, where timeslot 0 is used for FSC.

After you set the CE1 interface to work in E1 mode, the system automatically creates a serial interface numbered serial interface-number:0, where interface-number represents the number of the CE1 interface.

Examples

# Set CE1 interface E1 2/0 to work in E1 mode.

<Sysname> system-view

[Sysname] controller e1 2/0

[Sysname-E1 2/0] using e1

Basic CT1 Interface Configuration Commands

alarm (CT1 interface)

Syntax

alarm detect rai

undo alarm detect rai

View

CT1 interface view

Default Level

2: System level

Parameters

detect: Enables periodical detection on the interface.

rai: Remote Alarm Indication (RAI).

Description

Use the alarm command to enable RAI detection on the interface.

Use the undo alarm command to disable RAI detection on the interface.

By default, RAI detection is enabled on an interface.

This command is applicable when the framing format used on the interface is ESF.

Examples

# Disable RAI detection on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] undo alarm detect rai

alarm-threshold

Syntax

alarm-threshold { ais { level-1 | level-2 } | lfa { level-1 | level-2 | level-3 | level-4 } | los { pulse-detection | pulse-recovery } value }

undo alarm-threshold { ais | lfa | los { pulse-detection | pulse-recovery } }

View

CT1 interface view

Default Level

2: System level

Parameters

ais: Sets the alarm threshold of alarm indication signal (AIS), which can be level-1 and level-2.

l          The level-1 keyword specifies to generate an AIS alarm when the number of 0s in the bit stream of an SF or ESF frame is less than or equal to 2.

l          The level-2 keyword specifies to generate an AIS alarm when the number of 0s is less than or equal to 3 in the bit stream of an SF frame or less than or equal to 5 in the bit stream of an ESP frame.

By default, level-1 AIS alarm threshold applies.

lfa: Sets the loss of frame align (LFA) alarm threshold, which can be level-1, level-2, level-3, and level-4.

l          The level-1 keyword specifies to generate an LFA alarm when two of four frame alignment bits are lost.

l          The level-2 keyword specifies to generate an LFA alarm when two of five frame alignment bits are lost.

l          The level-3 keyword specifies to generate an LFA alarm when two of six frame alignment bits are lost.

l          The level-4 keyword applies only to ESF frames. It specifies to generate an LFA alarm when errors are detected in four consecutive ESF frames.

By default, level-1 LFA alarm threshold applies.

los: Sets a loss of signal (LOS) alarm threshold, which can be pulse-detection (for the pulse detection duration threshold with LOS) and pulse-recovery (for the pulse threshold with LOS).

The threshold of pulse-detection, in units of pulse intervals, ranges from 16 to 4,096 and defaults to 176.

The threshold of pulse-recovery, ranges from 1 to 256 and defaults to 22.

If the number of the pulses detected during the total length of the specified pulse detection intervals is smaller than the pulse-recovery threshold, a LOS alarm occurs. For example, if the two thresholds take their defaults, a LOS alarm is created if the number of pulses detected within 176 pulse intervals is less than 22.

Description

Use the alarm-threshold command to set LOS, AIS, or LFA alarm thresholds on the CT1 interface.

Use the undo alarm-threshold command to restore the defaults.

Examples

# Set the number of detection intervals to 300 for the pulse detection duration threshold.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] alarm-threshold los pulse-detection 300

bert (CT1 interface)

Syntax

bert pattern { 2^15 | 2^20 } time minutes [ unframed ]

undo bert

View

CT1 interface view

Default Level

2: System level

Parameters

pattern: Sets a bit error rate test (BERT) pattern, which could be 2^15 or 2^20.

2^15: Two to the fifteenth power, length of transmitted BERT pattern in bits.

2^20: Two to the twentieth power, length of transmitted BERT pattern in bits.

time minutes: Sets the duration (in minutes) of a BERT test. The minutes argument ranges from 1 to 1440.

unframed: Sets the test pattern to cover the overhead bits of the frame.

Description

Use the bert command to start a BERT test on a CT1 interface.

Use the undo bert command to stop the BERT test running on the CT1 interface.

By default, no BERT test is performed.

ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, among which, the CT1 interface supports only 2^15 and 2^20 at present.

When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for bit error rate, and by so doing helps you identify the condition of the line. To this end, you must configure loopback to allow the transmitted pattern to loop back from somewhere on the line, for example, from the far-end interface by placing the interface in a far-end loopback.

You may view the state and result of the BERT test with the display controller t1 command.

Examples

# Run a 10-minute 2^20 BERT test on CT1 interface t1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] bert pattern 2^20 time 10

cable (CT1 interface)

Syntax

cable { long { 0db | -7.5db | -15db | -22.5db } | short { 133ft | 266ft | 399ft | 533ft | 655ft } }

undo cable

View

CT1 interface view

Default Level

2: System level

Parameters

long: Matches 199.6-meter (655-feet) and longer cable length. The options for this parameter include 0db, -7.5db, -15db and -22.5db. The attenuation parameter is selected depending on the signal quality received at the receiving end. In this case, no external CSU is needed.

short: Matches a cable length shorter than 199.6 meters (655 feet). The options for this parameter include 133ft, 266ft, 399ft, 533ft and 655ft. The length parameter is selected depending on the actual transmission distance.

Description

Use the cable command to set the cable attenuation and length on the CT1 interface.

Use the undo cable command to restore the default, that is, long 0db.

You may use this command to adapt signal waveform to different transmission conditions such as the quality of the signal received by the receiver. If the signal quality is good, you can use the default setting. In this case, the CT1 interface does not need an external CSU device.

Examples

# Set the cable length to 40.5 meter (133 feet) on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] cable short 133ft

channel-set (CT1 interface)

Syntax

channel-set set-number timeslot-list list [ speed { 56k | 64k } ]

undo channel-set [ set-number ]

View

CT1 interface view

Default Level

2: System level

Parameters

set-number: Number of the channel set formed by timeslot bundling on the interface. It ranges from 0 to 23.

timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 24. You can specify a single timeslot by specifying a timeslot number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }.

speed { 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots are bundled into N × 56 kbps bundles. If 64k, the default, is selected, the timeslots are bundled into N × 64 kbps bundles.

Description

Use the channel-set command to bundle timeslots on the CT1 interface into a channel set.

Use the undo channel-set command to remove a specified or all channel sets.

By default, no timeslots are bundled into channel sets.

A CT1 interface is physically divided into 24 timeslots numbered 1 through 24. In actual applications, all the timeslots can be bundled into multiple channel sets. For each channel set, the system automatically creates a serial interface logically equivalent to a synchronous serial interface.

The serial interface is named in the form of serial interface-number:set-number, where interface-number starts from the maximum serial interface number plus 1, and set-number represents the number of the channel set.

Examples

# Bundle timeslots 1, 2, 5, 10 through 15, and 18 into channel set 0 on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] channel-set 0 timeslot-list 1,2,5,10-15,18

clock (CT1 interface)

Syntax

clock { master | slave }

undo clock

View

CT1 interface view

Default Level

2: System level

Parameters

master: Adopts the internal clock as the clock source.

slave: Adopts the line clock as the clock source.

Description

Use the clock command to configure clock source for the CT1 interface.

Use the undo clock command to restore the default clock source, that is, line clock.

When the CT1 interface is working as DCE, choose the internal clock for it. When it is working as DTE, choose the line clock for it.

Two CT1 interfaces directly connecting two routers must respectively work in line clock (that is, slave clock) mode and internal clock (that is, master) mode. If the CT1 interface on a router is connected to a switch, the switch will be the DCE device responsible for providing the clock and the CE1/PRI interface. In this case, the CT1 interface must work in the line clock (slave clock) mode.

Examples

# Use the internal clock as the clock source on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] clock master

code (CT1 interface)

Syntax

code { ami | b8zs }

undo code

View

CT1 interface view

Default Level

2: System level

Parameters

ami: Adopts AMI line code format.

b8zs: Adopts bipolar with 8-zero substitution (B8ZS) line code format.

Description

Use the code command to set the line code format for the CT1 interface.

Use the undo code command to restore the default, that is, B8ZS.

Keep the line code format of the interface in consistency with the one used on the remote device.

Examples

# Set the line code format of the interface T1 2/0 to AMI.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] code ami

controller t1

Syntax

controller t1 number

View

System view

Default Level

2: System level

Parameters

number: CT1 interface number.

Description

Use the controller t1 command to enter CT1 interface view.

Examples

# Enter the view of interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0]

crc

Syntax

crc { 16 | 32 | none }

undo crc

View

Synchronous serial interface view

Default Level

2: System level

Parameters

16: Adopts 16-bit CRC.

32: Adopts 32-bit CRC.

none: Disables CRC.

Description

Use the crc command to configure CRC mode for a synchronous serial interface formed on a CT1 interface.

Use the undo crc command to restore the default, that is, 16-bit CRC.

Examples

# Apply 32-bit CRC to a serial interface formed on interface CT1 interface 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] channel-set 1 timeslot-list 2-6

[Sysname-T1 2/0] quit

[Sysname] interface serial 2/0:1

[Sysname-Serial2/0:1] crc 32

data-coding (CT1 interface)

Syntax

data-coding { inverted | normal }

undo data-coding

View

CT1 interface view

Default Level

2: System level

Parameters

inverted: Enables user data inversion.

normal: Disables user data inversion.

Description

Use the data-coding inverted command to enable user data inversion on the CT1 interface.

Use the data-coding normal command to disable user data inversion on the CT1 interface.

Use the undo data-coding command to restore the default.

By default, data inversion is disabled.

To prevent 7e in valid data from being taken for stuffing characters, HDLC inserts a zero after every five ones in the data stream. Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least one out of every eight bits is a one. When AMI encoding is adopted on a T1 interface, the use of data inversion can eliminate the presence of multiple consecutive zeros.

On the CT1 interfaces at two ends of a T1 line, the same data inversion setting must be adopted.

Examples

# Enable user data inversion on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] data-coding inverted

description (CT1 interface)

Syntax

description text

undo description

View

CT1 interface view

Default Level

2: System level

Parameters

text: Description of an interface, a string of 1 to 80 characters.

Description

Use the description command to configure the description of the current CT1 interface.

Use the undo description command to restore the default.

By default, the description of a CT1 interface is the interface name followed by the interface string, T1 2/0 Interface for example.

Examples

# Configure the description of T1 2/0 as T1-interface.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-t1 2/0] description T1-interface

display controller t1

Syntax

display controller t1 [ interface-number ]

View

Any view

Default Level

2: System level

Parameters

interface-number: Interface number. In conjunction with the t1 keyword, it specifies a CT1 interface.

Description

Use the display controller t1 command to display information about one specified or all CT1 interfaces.

Examples

# Display information about interface T1 2/0.

<Sysname> display controller t1 2/0

T1 2/0 current state :DOWN

Description : T1 2/0 Interface

Basic Configuration:

  Work mode is T1 framed, Cable type is 100 Ohm balanced.

  Frame-format is esf, fdl is none, Line code is b8zs.

  Source clock is slave, Data-coding is normal.

  Idle code is ff, Itf type is ff, Itf number is 2.

  Loop back is not set.

Alarm State:

  Receiver alarm state is Loss-of-Signal.

  Transmitter is sending remote alarm.

  Pulse density violation detected.

SendLoopCode History:

  inband-llb-up:0 times, inband-llb-down:0 times.

  fdl-ansi-llb-up:0 times, fdl-ansi-llb-down:0 times.

  fdl-ansi-plb-up:0 times, fdl-ansi-plb-down:0 times.

BERT state:(stopped, not completed)

  Test pattern: 2^15, Status: Not Sync, Sync Detected: 0

    Time: 0 minute(s), Time past: 0 minute(s)

    Bit Errors (since test started): 0 bits

    Bits Received (since test started): 0 Kbits

    Bit Errors (since latest sync): 0 bits

    Bits Received (since latest sync): 0 Kbits

Historical Statistics:

Last clearing of counters: Never

  Data in current interval (285 seconds elapsed):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 286 Los Alarm Secs

    7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs

  Data in Interval 1:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 901 Los Alarm Secs

    22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs

  Data in Interval 2:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 900 Los Alarm Secs

    23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs

  Total Data (last 2 15 minute intervals):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 2087 Los Alarm Secs

    52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs

Table 1-3 display controller t1 command output description

Field

Description

T1 2/0 current state

Physical state of the interface: up or down

Description

Description about the T1 interface

Basic Configuration

Basic configurations of the interface

Work mode

Operating mode of the T1 interface, T1 framed in this example

Cable type

Cable type of the T1 interface, 100 ohm balanced in this example

Frame-format

Frame format configured on the T1 interface: ESF or SF

fdl

FDL format: ANSI, ATT, or none

Line code

Line code: AMI or B8ZS

Source clock

Source clock used by the interface: master for the internal clock or slave for the line clock

Data-coding

Normal or inverted

Idle code

0x7E or 0xFF

Itf type

Type of interframe filling tag: 0x7E or 0xFF

Itf number

Number of interframe filling tags

Loop back

Loopback setting on the interface: local, payload, remote, or not set

Alarm State

Alarm state

Receiver alarm state

Type of received alarm: none, LOS, LOF, RAI, or AIS

Transmitter is sending remote alarm.

Type of transmitted alarm: RAI, or none

Pulse density violation detected

The detected pulse density is incompliant with the specification

SendLoopCode History:

             inband-llb-up:0 times, inband-llb-down:0 times.

  fdl-ansi-llb-up:0 times, fdl-ansi-llb-down:0 times.

  fdl-ansi-plb-up:0 times, fdl-ansi-plb-down:0 times

History of loopback code sending to the far-end, including the number of transmissions for each type of code, and the type of the last sent code. (See the sendloopcode command.)

BERT state:(stopped, not completed)

BERT state: completed, stopped (not completed), or running.

Test pattern: 2^15, Status: Not Sync, Sync Detected: 0

Test pattern in use (2^20 or 2^15), 2^15 in this example; synchronization state, and the number of detected synchronizations

Time: 0 minute(s), Time past: 0 minute(s)

The duration of the BERT test and the time that has elapsed

Bit Errors (since test started)

Number of bit errors received since the start of the BERT test

Bits Received (since test started)

Number of bits received since the start of the BERT test

Bit Errors (since latest sync)

Number of bit errors received since the last synchronization

Bits Received (since latest sync)

Number of bits received since last synchronization

Historical Statistics:

Historical statistics

Last clearing of counters

Counter clearing records

  Data in current interval (285 seconds elapsed):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 286 Los Alarm Secs

    7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs

Statistics spanning the current interval. The statistical items, such as AIS alarm, LOS signal, and LFA, are provided according to the T1 specifications for the physical layer.

For details, refer to ANSI T1.403 and AT&T TR 54016.

  Data in Interval 1:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 901 Los Alarm Secs

    22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs

Statistics spanning the first interval.

The statistical items are the same as those provided by the statistics spanning the current interval.

Data in Interval 2:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 900 Los Alarm Secs

    23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs

Statistics spanning the second interval.

The statistical items are the same as those provided by the statistics spanning the current interval.

Total Data (last 2 15 minute intervals):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 2087 Los Alarm Secs

    52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs

Statistics spanning the last two intervals.

The statistical items are the same as those provided by the statistics spanning the current interval.

 

fdl

Syntax

fdl { ansi | att | both | none }

undo fdl

View

CT1 interface view

Default Level

2: System level

Parameters

ansi: Adopts ANSI T1.403 for facilities data link (FDL).

att: Adopts AT&T TR 54016 for FDL.

both: Adopts both ANSI T1.403 and AT&T TR 54016 for FDL.

none: Disables FDL.

Description

Use the fdl command to set the behavior of the CT1 interface on the FDL in ESF framing.

Use the undo fdl command to restore the default.

By default, FDL is disabled (none).

FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting performance statistics or loopback code.

Examples

# Implement AT&T TR 54016 FDL on interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] fdl att

frame-format (CT1 interface)

Syntax

frame-format { esf | sf }

undo frame-format

View

CT1 interface view

Default Level

2: System level

Parameters

esf: Sets the framing format to extended super frame (ESF).

sf: Sets the framing format to super frame (SF).

Description

Use the frame-format command to set the framing format on the CT1 interface.

Use the undo frame-format command to restore the default, that is, esf.

CT1 interfaces support two framing formats, that is, SF and ESF. In SF format, multiple frames can share the same FSC and signaling information, so that more significant bits are available for transmitting user data. The use of ESF allows you to test the system without affecting the ongoing service.

Examples

# Set the framing format of interface T1 2/0 to SF.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] frame-format sf

idlecode (CT1 interface)

Syntax

idlecode { 7e | ff }

undo idlecode

View

CT1 interface view

Default Level

2: System level

Parameters

7e: Sets the line idle code to 0x7E.

ff: Sets the line idle code to 0xFF.

Description

Use the idlecode command to set the line idle code on the CT1 interface. Two types of line idle code are available: 0x7E and 0xFF.

Use the undo idlecode command to restore the default, that is, 0x7E.

The line idle code is sent in the timeslots that are not bundled into the logical channels on the interface.

Examples

# Set the line idle code to 0x7E on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] idlecode 7e

itf (CT1 interface)

Syntax

itf { number number | type { 7e | ff } }

undo itf { number | type }

View

CT1 interface view

Default Level

2: System level

Parameters

number number: Sets the number of interframe filling tags (an interframe filling tag is one byte in length). The number argument ranges from 0 to 14.

type { 7e | ff }: Sets the interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. On CT1 interfaces, the default interframe filling tag is 0x7E.

Description

Use the itf command to set the type and the number of interframe filling tags on the CT1 interface. Two types of interframe filling tag are available: 0x7E and 0xFF.

Use the undo itf command to restore the default.

By default, the interframe filling tag is 0x7E, the number of interframe filling tags is 4.

Interframe filling tags are sent when no service data is sent on the timeslots bundled into logical channels on a CT1 interface.

Examples

# Set the interframe filling tag to 0xFF on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] itf type ff

# Set the number of interframe filling tags to five on CT1 interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] itf number 5

loopback (CT1 interface)

Syntax

loopback { local | payload | remote }

undo loopback

View

CT1 interface view

Default Level

2: System level

Parameters

local: Enables the CT1 interface to perform local loopback.

payload: Enables the interface to perform external payload loopback.

remote: Enables the interface to perform remote loopback.

Description

Use the loopback command to enable local, remote, or external payload loopback on the CT1 interface.

Use the undo loopback command to restore the default.

By default, loopback is disabled.

Loopback is intended for checking the condition of interfaces or cables. Disable it otherwise.

You can bundle timeslots on a CT1 interface to form a serial interface and encapsulate it with PPP. After you enable loopback on this serial interface, it is normal that the state of the link layer protocol is reported down.

Examples

# Enabled remote loopback on interface T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] loopback remote

reset counters controller t1

Syntax

reset counters controller t1 interface-number

View

User view

Default Level

2: System level

Parameters

interface-number: Interface number.

Description

Use the reset counters controller t1 command to clear the controller counter for a CT1 interface.

To display the value of the controller counter, use the display controller t1 command.

 

The reset counters interface command clears the counters of all interfaces. To clear the controller counter of individual CT1 interfaces, use the reset counters controller t1 command.

 

Examples

# Clear the controller counter for CT1 interface T1 2/0.

<Sysname> reset counters controller t1 2/0

sendloopcode

Syntax

sendloopcode { fdl-ansi-llb-down | fdl-ansi-llb-up | fdl-ansi-plb-down | fdl-ansi-plb-up | fdl-att-plb-down | fdl-att-plb-up | inband-llb-down | inband-llb-up }

View

CT1 interface view

Default Level

2: System level

Parameters

fdl-ansi-llb-down: Sends ANSI-compliant LLB deactivation request code in the FDL to remove loopback.

fdl-ansi-llb-up: Sends ANSI-compliant line loopback (LLB) activation request code in the FDL to start remote loopback.

fdl-ansi-plb-down: Sends ANSI-compliant PLB deactivation request code in the FDL to remove loopback.

fdl-ansi-plb-up: Sends ANSI-compliant payload loopback (PLB) activation request code in the FDL to start remote loopback.

fdl-att-plb-down: Sends AT&T-complaint PLB deactivation request code in the FDL to remove loopback.

fdl-att-plb-up: Sends AT&T-complaint PLB activation request code in the FDL to start remote loopback.

inband-llb-down: Sends in-band LLB deactivation request code compliant with the ANSI or AT&T implementation to remove loopback.

inband-llb-up: Sends in-band line loopback (LLB) activation request code compliant with the ANSI and AT&T implementation to start remote loopback.

Description

Use the sendloopcode command to send remote loopback control code.

By default, no remote loopback control code is sent.

You may configure loopback on the far-end CT1 interface by sending loopback request code.

In LLB mode, all 193 bits (one synchronization bit and 192 effective bandwidth bits) in a T1 PCM frame are looped back. In PLB mode, however, only 192 effective bandwidth bits are looped back.

The format of loopback code can be compliant with ANSI T1.403 or AT&T TR 54016.

In SF framing, LLB code is sent using the effective bandwidth. In ESF framing, both LLB code and PLB code are sent and received in the FDL.

Use this command in conjunction with the far-end T1 device. The far-end device must be able to set loopback mode depending on the detected loopback code. The sending of remote loopback control code lasts five minutes without affecting the operation of other interfaces.

Examples

# Send in-band LLB activation request code.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] sendloopcode inband-llb-up

shutdown (CT1 interface)

Syntax

shutdown

undo shutdown

View

CT1 interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to shut down the current CT1 interface.

Use the undo shutdown command to bring up the current CT1 interface.

By default, an interface is enabled.

Examples

# Shut down T1 2/0.

<Sysname> system-view

[Sysname] controller t1 2/0

[Sysname-T1 2/0] shutdown

E1-F Interface Configuration Commands

crc

Syntax

crc { 16 | 32 | none }

undo crc

View

Synchronous serial interface view

Default Level

2: System level

Parameters

16: Adopts 16-bit CRC.

32: Adopts 32-bit CRC.

none: Disables CRC.

Description

Use the crc command to configure CRC mode for an E1-F interface.

Use the undo crc command to restore the default, that is, 16-bit CRC.

Examples

# Adopt 32-bit CRC on E1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] crc 32

display fe1

Syntax

display fe1 [ serial interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

serial interface-number: Specifies a serial interface by its number. If no interface is specified, information about all the E1-F interfaces is displayed.

Description

Use the display fe1 serial command to display the configuration and state information about the specified or all E1-F interfaces.

If the specified interface is a common serial interface rather than an E1-F interface, the system will display the prompt.

Examples

# Display the information about an E1-F interface.

<Sysname> display fe1 serial 2/0

 Serial2/0

 Basic Configuration:

    E1 FRAMED

Physical type is  FE1 - 75 OHM unbalanced

    Frame-format is  NONE,Line Code is HDB3,Source Clock is SLAVE

  Alarm State:

    Receiver alarm state is None.

Historical Statistics:

Last clearing of counters: Never

    Data in current interval (19349 seconds elapsed):

    129 Loss Frame Alignment Secs, 0 Framing Error Secs,

    0 CRC Error Secs, 0 Alarm Indication Secs, 129 Loss-of-signals Secs,

    0 Code Violations Secs, 0 Slip Secs, 0 E-Bit error Secs.

Table 1-4 display fe1 serial command output description

Field

Description

E1 FRAMED

Operating mode, framed or unframed. In this sample output, it is framed

Physical type

Interface type (75-ohm unbalanced/120-ohm balanced)

Frame-format

Framing format (CRC4/no-CRC4)

Line Code

Line code format: AMI or HDB3.

Source Clock

Source clock: master for internal clock and slave for line clock

Alarm State

Alarm information

 

fe1 alarm

Syntax

fe1 alarm detect rai

undo fe1 alarm detect rai

View

E1-F interface view

Default Level

2: System level

Parameters

detect: Enables periodical detection on an interface.

rai: Remote Alarm Indication (RAI).

Description

Use the fe1 alarm command to enable RAI detection on the interface.

Use the undo fe1 alarm command to disable RAI detection on the interface.

By default, RAI detection is disabled on an interface.

This command is applicable when the interface operates in framed mode.

Examples

# Disable RAI detection on interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] undo fe1 alarm detect rai

fe1 cable

Syntax

fe1 cable { long | short }

undo fe1 cable

View

E1-F interface view

Default Level

2: System level

Parameters

long: Supports long cables. 

short: Supports short cables.

Description

Use the fe1 cable command to set the cable length for an E1-F interface.

Use the undo fe1 cable command to restore the default.

By default, the long keyword applies.

Examples

# Set the cable length type on E1-F interface Serial 2/0 to short.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 cable short

fe1 clock

Syntax

fe1 clock { master | slave }

undo fe1 clock

View

E1-F interface view

Default Level

2: System level

Parameters

master: Adopts the internal clock as the clock source.

slave: Adopts the line clock as the clock source.

Description

Use the fe1 clock command to configure clock source for the E1-F interface.

Use the undo fe1 clock command to restore the default, that is, line clock.

When the E1-F interface is working as DCE, choose the internal clock (master) for it. When it is working as DTE, choose the line clock for it.

Examples

# Use the internal clock as the clock source on E1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 clock master

fe1 code

Syntax

fe1 code { ami | hdb3 }

undo fe1 code

View

E1-F interface view

Default Level

2: System level

Parameters

ami: Adopts AMI line code format.

hdb3: Adopts HDB3 line code format.

Description

Use the fe1 code command to set the line code format for the E1-F interface.

Use the undo fe1 code command to restore the default, that is, HDB3.

Keep the line code format of the interface in consistency with that used by the remote device.

Examples

# Set the line code format of E1-F interface Serial 2/0 to AMI.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 code ami

fe1 data-coding

Syntax

fe1 data-coding { inverted | normal }

undo fe1 data-coding

View

E1-F interface view

Default Level

2: System level

Parameters

inverted: Enables user data inversion.

normal: Disables user data inversion.

Description

Use the fe1 data-coding normal command to disable user data inversion for a E1-F interface.

Use the fe1 data-coding inverted command to enable user data inversion for a E1-F interface.

Use the undo fe1 data-coding command to restore the default.

By default, data inversion is disabled.

To prevent 7e in valid data from being taken for stuffing characters, HDLC inserts a zero after every five ones in the data stream. Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least at least one out of every eight bits is a one. When AMI encoding is adopted on an E1-F interface, the use of data inversion can eliminate presence of multiple consecutive zeros.

At the two ends of an E1-F line, the same data inversion setting must be adopted.

Examples

# Enable user data inversion on E1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 data-coding inverted

fe1 detect-ais

Syntax

fe1 detect-ais

undo fe1 detect-ais

View

E1-F interface view

Default Level

2: System level

Parameters

None

Description

Use the fe1 detect-ais command to enable AIS test on an interface.

Use the undo fe1 detect-ais command to disable AIS test.

By default, AIS test is performed.

Examples

# Enable AIS test on E1-F 2/0 interface.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 detect-ais

fe1 frame-format

Syntax

fe1 frame-format { crc4 | no-crc4 }

undo fe1 frame-format

View

E1-F interface view

Default Level

2: System level

Parameters

crc4: Sets the framing format to CRC4.

no-crc4: Sets the framing format to no-CRC4.

Description

Use the fe1 frame-format command to configure the framing format of the E1-F interface.

Use the undo fe1 frame-format command to restore the default, that is, no-CRC4.

An E1-F interface in framed mode supports both CRC4 and no-CRC4 framing formats, where CRC4 supports four-bit CRC on physical frames while no-CRC4 does not.

Examples

# Set the framing format of E1-F interface Serial 2/0 to CRC4.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 frame-format crc4

fe1 idlecode

Syntax

fe1 idlecode { 7e | ff }

undo fe1 idlecode

View

E1-F interface view

Default Level

2: System level

Parameters

7e: Sets the line idle code to 0x7E.

ff: Sets the line idle code to 0xFF.

Description

Use the fe1 idlecode command to set the line idle code on the E1-F interface. Two types of line idle code are available: 0x7E and 0xFF.

Use the undo fe1 idlecode command to restore the default, that is, 0x7E.

The line idle code is sent in the timeslots that are not bundled into the logical channels on the interface.

Examples

# Set the line idle code to 0x7E on E1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 idlecode 7e

fe1 itf

Syntax

fe1 itf { number number | type { 7e | ff } }

undo fe1 itf { number | type }

View

E1-F interface view

Default Level

2: System level

Parameters

number number: Sets the number of interframe filling tags (an interframe filling tag is one byte in length). The number argument ranges from 0 to 14.

type { 7e | ff }: Sets the type of interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. The default is 0x7E.

Description

Use the fe1 itf command to set the type of and the number of interframe filling tags on the E1-F interface. Two types of interframe filling tag are available: 0x7E and 0xFF.

Use the undo fe1 itf command to restore the default.

By default, the interframe filling tag is 0x7E and the number of interframe filling tags is 4.

Interframe filling tags are sent when no service data is sent on the timeslots bundled into the logical channel on the E1-F interface.

Examples

# Set the type of interframe filling tag to 0xFF on E1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 itf type ff

# Set the number of interframe filling tags to five on E1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 itf number 5

fe1 loopback

Syntax

fe1 loopback { local | payload | remote }

undo fe1 loopback

View

E1-F interface view

Default Level

2: System level

Parameters

local: Sets the interface in internal loopback mode.

payload: Sets the interface in external payload loopback mode.

remote: Sets the interface in external loopback mode.

Description

Use the fe1 loopback command to set the E1-F interface in a loopback mode.

Use the undo fe1 loopback command to restore the default.

By default, loopback is disabled.

Loopback is intended for checking the condition of interfaces or cables. Disable it otherwise.

 

The three loopback modes cannot be used at the same time on an E1-F interface.

 

Examples

# Set E1-F interface Serial 2/0 in internal loopback mode.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 loopback local

fe1 timeslot-list

Syntax

fe1 timeslot-list list

undo fe1 timeslot-list

View

E1-F interface view

Default Level

2: System level

Parameters

list: Specifies timeslots to be bundled. They are numbered 1 through 31. You may specify a single timeslot by specifying its number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.

Description

Use the fe1 timeslot-list command to bundle timeslots on the E1-F interface.

Use the undo fe1 timeslot-list command to restore the default.

By default, all the timeslots on the E1-F interface are bundled to form a 1984 kbps interface.

Timeslot bundling results in interface rate change. For example, after you bundle timeslots 1 through 10 on the interface, the interface rate becomes 10 × 64 kbps.

Only one channel set can be created on an E1-F interface, and this channel set is associated with the current synchronous serial interface. On a CE1 interface, however, you may create multiple channel sets; for each of them, the system automatically creates a synchronous serial interface.

 

Timeslot 0 on E1-F interfaces is used for synchronization. Therefore, a bundling operation only involves timeslots 1 through 31.

 

When the E1-F interface is working in unframed mode, the fe1 timeslot-list command is invalid.

Related commands: fe1 unframed.

Examples

# Bundle timeslots 1, 2, 5, 10 through 15, and 18 on E1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 timeslot-list 1,2,5,10-15,18

fe1 unframed

Syntax

fe1 unframed

undo fe1 unframed

View

E1-F interface view

Default Level

2: System level

Parameters

None

Description

Use the fe1 unframed command to configure the E1-F interface to work in unframed mode.

Use the undo fe1 unframed command to configure the E1-F interface to work in framed mode.

By default, the E1-F interface works in framed mode.

When the E1-F interface is working in unframed mode, it is a 2048 kbps interface without timeslot division and is logically equivalent to a synchronous serial interface.

When it works in framed mode, it is physically divided into 32 timeslots numbered 0 through 31, where timeslot 0 is used for synchronization.

Related commands: fe1 timeslot-list.

Examples

# Set E1-F interface Serial 2/0 to work in unframed mode.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] fe1 unframed

T1-F Interface Configuration Commands

ft1 alarm

Syntax

ft1 alarm detect rai

undo ft1 alarm detect rai

View

T1-F interface view

Default Level

2: System level

Parameters

detect: Enables periodical detection on an interface.

rai: Remote Alarm Indication (RAI).

Description

Use the ft1 alarm command to enable RAI detection on the interface.

Use the undo ft1 alarm command to disable RAI detection on the interface.

By default, RAI detection is enabled on an interface.

This command is applicable when the framing format on the interface is ESF.

Examples

# Disable RAI detection on interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] undo ft1 alarm detect rai

crc

Syntax

crc { 16 | 32 | none }

undo crc

View

Synchronous serial interface view

Default Level

2: System level

Parameters

16: Adopts 16-bit CRC.

32: Adopts 32-bit CRC.

none: Disables CRC.

Description

Use the crc command to configure CRC mode for an T1-F interface.

Use the undo crc command to restore the default, that is, 16-bit CRC.

Examples

# Adopt 32-bit CRC on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] crc 32

display ft1

Syntax

display ft1 [ serial interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

serial interface-number: Specifies a serial interface by its number. If no interface is specified, the information on all the T1-F interfaces is displayed.

Description

Use the display ft1 command to display the configuration and state information about a T1-F interface.

If the specified interface is a common serial interface rather than a T1-F interface, the system will display the prompt.

Examples

# Display information about T1-F interface Serial 2/0.

<Sysname> display ft1 serial 2/0

Serial2/0

Input: 0 packets, 0 bytes

           0 broadcasts, 0 multicasts

           0 errors, 0 runts, 0 giants

           0 CRC, 0 align errors, 0 overruns

           0 dribbles, 0 aborts, 0 no buffers

           0 frame errors

    Output:0 packets, 0 bytes

           0 errors, 0 underruns, 0 collisions

           0 deferred

Basic Configuration:

  Work mode is T1 framed, Cable type is 100 Ohm balanced.

  Frame-format is esf, fdl is none, Line code is b8zs.

  Source clock is slave, Data-coding is normal.

  Idle code is ff, Itf type is ff, Itf number is 2

  Loop back is not set.

Alarm State:

  Receiver alarm state is Loss-of-Signal.

  Transmitter is sending remote alarm.

  Pulse density violation detected.

SendLoopCode History:

  inband-llb-up:0 times, inband-llb-down:0 times.

  fdl-ansi-llb-up:0 times, fdl-ansi-llb-down:0 times.

  fdl-ansi-plb-up:0 times, fdl-ansi-plb-down:0 times.

BERT state:(stopped, not completed)

  Test pattern: 2^15, Status: Not Sync, Sync Detected: 0

    Time: 0 minute(s), Time past: 0 minute(s)

    Bit Errors (since test started): 0 bits

    Bits Received (since test started): 0 Kbits

    Bit Errors (since latest sync): 0 bits

    Bits Received (since latest sync): 0 Kbits

Historical Statistics:

Last clearing of counters: Never

  Data in current interval (285 seconds elapsed):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 286 Los Alarm Secs

    7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs

  Data in Interval 1:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 901 Los Alarm Secs

    22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs

  Data in Interval 2:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 900 Los Alarm Secs

    23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs

  Total Data (last 2 15 minute intervals):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 2087 Los Alarm Secs

    52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs

Table 1-5 display ft1 serial command output description

Field

Description

Serial2/0

Interface type and number

Basic Configuration

Basic configurations for the interface

Input

Output

Statistics about the input and output

Work mode

T1 interface operating mode, T1 framed in this sample output

Cable type

Cable type of the interface, 100 ohm balanced in this sample output

Frame-format

Frame format configured on the interface: ESF or SF

fdl

FDL format: ANSI, ATT, or none

Line code

AMI or B8ZS

Source Clock

Source clock used by the interface: master for the internal clock or slave for the line clock

Data-coding

Normal or inverted

Idle code

Idle code, 0x7E or 0xFF

Itf type

Type of inter-frame filling tags: 0x7E or 0xFF

Itf number

Number of inter-frame filling tags

Loop back

Loopback setting on the interface: local, payload, remote, or not set

Alarm State

Alarm state

Receiver alarm state

Type of received alarm: none, LOS, LOF, RAI, or AIS

Transmitter is sending remote alarm.

Type of transmitted alarm: RAI, or none

Pulse density violation detected

The detected pulse density is incompliant with the specification

SendLoopCode History:

             inband-llb-up:0 times, inband-llb-down:0 times.

  fdl-ansi-llb-up:0 times, fdl-ansi-llb-down:0 times.

  fdl-ansi-plb-up:0 times, fdl-ansi-plb-down:0 times

History of loopback code sending to the far-end, including the number of transmissions for each type of code, and the type of the last sent code. (See the ft1 sendloopcode command.)

BERT state:(stopped, not completed)

BERT state: completed, stopped (administratively stopped), or running.

Test pattern: 2^15, Status: Not Sync, Sync Detected: 0

Test pattern in use, 2^15 in this sample output; synchronization state, and the number of detected synchronizations

Time: 0 minute(s), Time past: 0 minute(s)

The duration of the BERT test and the time that has elapsed

Bit Errors (since test started)

Number of bit errors received since the start of the BERT test

Bits Received (since test started)

Number of bits received since the start of the BERT test

Bit Errors (since latest sync)

Number of bit errors received since the last synchronization

Bits Received (since latest sync)

Number of bits received since last synchronization

Historical Statistics:

Historical statistics

Last clearing of counters: Never

Counter clearing records

  Data in current interval (285 seconds elapsed):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 286 Los Alarm Secs

    7 Slip Secs, 286 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 286 Unavail Secs

Statistics spanning the current interval. The statistical items, such as AIS alarm, LOS signal, and LFA, are provided according to the T1 specifications for the physical layer.

For details, refer to ANSI T1.403 and AT&T TR 54016.

  Data in Interval 1:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 901 Los Alarm Secs

    22 Slip Secs, 901 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 901 Unavail Secs

Statistics spanning the first interval.

The statistical items are the same as those provided by the statistics spanning the current interval.

Data in Interval 2:

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 900 Los Alarm Secs

    23 Slip Secs, 900 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 900 Unavail Secs

Statistics spanning the second interval.

The statistical items are the same as those provided by the statistics spanning the current interval.

Total Data (last 2 15 minute intervals):

    0 Line Code Violations, 0 Path Code Violations

    0 Ais Alarm Secs, 2087 Los Alarm Secs

    52 Slip Secs, 2087 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins

    0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 2087 Unavail Secs

Statistics spanning the last two intervals.

The statistical items are the same as those provided by the statistics spanning the current interval.

 

ft1 alarm-threshold

Syntax

ft1 alarm-threshold { ais { level-1 | level-2 } | lfa { level-1 | level-2 | level-3 | level-4 } | los { pulse-detection | pulse-recovery } value }

undo ft1 alarm-threshold { ais | lfa | los { pulse-detection | pulse-recovery } }

View

T1-F interface view

Default Level

2: System level

Parameters

ais: Sets the alarm threshold of alarm indication signal (AIS), which can be level-1 and level-2.

l          The level-1 keyword specifies to generate an AIS alarm when the number of 0s in the bit stream of an SF or ESF frame is less than or equal to 2.

l          The level-2 keyword specifies to generate an AIS alarm when the number of 0s is less than or equal to 3 in the bit stream of an SF frame or less than or equal to 5 in the bit stream of an ESP frame.

By default, level-1 AIS alarm threshold applies.

lfa: Sets the loss of frame align (LFA) alarm threshold, which can be level-1, level-2, level-3, and level-4.

l          The level-1 keyword specifies to generate an LFA alarm when two of four frame alignment bits are lost.

l          The level-2 keyword specifies to generate an LFA alarm when two of five frame alignment bits are lost.

l          The level-3 keyword specifies to generate an LFA alarm when two of six frame alignment bits are lost.

l          The level-4 keyword applies only to ESF frames. It specifies to generate an LFA alarm when errors are detected in four consecutive ESF frames.

By default, level-1 LFA alarm threshold applies.

los: Sets a loss of signal (LOS) alarm threshold, which can be pulse-detection (for the pulse detection duration threshold with LOS) and pulse-recovery (for the pulse threshold with LOS).

The threshold of pulse-detection, in units of pulse intervals, ranges from 16 to 4,096 and defaults to 176.

The threshold of pulse-recovery, ranges from 1 to 256 and defaults to 22.

If the number of the pulses detected during the total length of the specified pulse detection intervals is smaller than the pulse-recovery threshold, a LOS alarm occurs. For example, if the two thresholds take their defaults, a LOS alarm is created if the number of pulses detected within 176 pulse intervals is less than 22.

Description

Use the ft1 alarm-threshold command to set LOS, AIS, or LFA alarm thresholds on the T1-F interface.

Use the undo ft1 alarm-threshold command to restore the defaults.

Examples

# Set the number of detection intervals to 300 for the pulse detection duration threshold.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 alarm-threshold los pulse-detection 300

ft1 bert

Syntax

ft1 bert pattern { 2^15 | 2^20 } time minutes [ unframed ]

undo ft1 bert

View

T1-F interface view

Default Level

2: System level

Parameters

pattern: Sets a bit error rate test (BERT) pattern, which could be 2^15 or 2^20.

2^15: Two to the fifteenth power, length of transmitted BERT pattern in bits.

2^20: Two to the twentieth power, length of transmitted BERT pattern in bits.

time minutes: Sets the duration (in minutes) of a BERT test. The minute argument is up to 1,440.

unframed: Sets the test pattern to cover the overhead bits of the frame.

Description

Use the ft1 bert command to start a BERT test on a T1-F interface.

Use the undo ft1 bert command to stop the BERT test running on the T1-F interface.

By default, no BERT test is performed.

ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, among which, the T1-F interface supports only 2^15 and 2^20 at present.

When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for bit error rate, and by so doing helps you identify the condition of the line. To this end, you must configure loopback to allow the transmitted pattern to loop back from somewhere on the line, for example, from the far-end interface by placing the interface in a far-end loopback.

You may view the state and result of the BERT test with the display ft1 serial command.

Examples

# Run a 10-minute 2^20 BERT test on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 bert pattern 2^20 time 10

ft1 cable

Syntax

ft1 cable { long decibel | short length }

undo ft1 cable

View

T1-F interface view

Default Level

2: System level

Parameters

long decibel: Matches 199.6-meter (655-feet) and longer cable length. The argument decibel can take 0db, -7.5db, -15db, or -22.5db, depending on the signal quality at the receiving end. In this case, no external CSU is required.

short length: Matches a cable length shorter than 199.6 meters (655 feet). The argument length can take 133ft, 266ft, 399ft, 533ft, or 655ft, depending on the actual transmission distance.

Description

Use the ft1 cable command to set the cable attenuation and length on the T1-F interface.

Use the undo ft1 cable command to restore the default, that is, long 0db.

You may use this command to adapt signal waveform to different transmission conditions such as the quality of the signal received by the receiver. If the signal quality is good, you can just use the default setting.

Examples

# Set the cable length to 40.5 meters (133 feet) on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0]ft1 cable short 133ft

ft1 clock

Syntax

ft1 clock { master | slave }

undo ft1 clock

View

T1-F interface view

Default Level

2: System level

Parameters

master: Adopts the internal clock as the clock source.

slave: Adopts the line clock as the clock source.

Description

Use the ft1 clock command to configure the clock source for the T1-F interface.

Use the undo ft1 clock command to restore the default, that is, line clock.

When the T1-F interface is working as DCE, choose the internal clock for it. When it is working as DTE, choose the line clock for it.

When the T1-F interfaces on two routers are directly connected, one interface must work in master clock mode to provide the clock source while the other in slave clock mode to accept.

When the T1-F interface on your router is connected to an exchange, it is working as DTE and therefore must be configured with the slave clock mode to accept the line clock provided by the exchange working as DCE.

Examples

# Use the internal clock as the clock source on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 clock master

ft1 code

Syntax

ft1 code { ami | b8zs }

undo ft1 code

View

T1-F interface view

Default Level

2: System level

Parameters

ami: Adopts AMI line code format.

b8zs: Adopts B8ZS line code format.

Description

Use the ft1 code command to set the line code format for the T1-F interface.

Use the undo ft1 code command to restore the default, that is, B8ZS.

Keep the line code format of the interface in consistency with the one used on the remote device.

Examples

# Set the line code format of T1-F interface Serial 2/0 to AMI.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 code ami

ft1 data-coding

Syntax

ft1 data-coding { inverted | normal }

undo ft1 data-coding

View

T1-F interface view

Default Level

2: System level

Parameters

inverted: Enables user data inversion.

normal: Disables user data inversion.

Description

Use the ft1 data-coding normal command to disable user data inversion for a T1-F interface.

Use the ft1 data-coding inverted command to enable user data inversion for a T1-F interface.

Use the undo ft1 data-coding command to restore the default.

By default, data inversion is disabled.

To prevent 7e in valid data from being taken for stuffing characters, HDLC inserts a zero after every five ones in the data stream. Then, HDLC inverts every one bit into a zero and every zero bit into a one. This ensures at least at least one out of every eight bits is a one. When AMI encoding is adopted on a T1-F interface, the use of data inversion can eliminate presence of multiple consecutive zeros.

At the two ends of a T1-F line, the same data inversion setting must be adopted.

Examples

# Enable user data inversion on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 data-coding inverted

ft1 fdl

Syntax

ft1 fdl { ansi | att | both | none }

undo ft1 fdl

View

T1-F interface view

Default Level

2: System level

Parameters

ansi: Adopts ANSI T1.403 for FDL.

att: Adopts AT&T TR 54016 for FDL.

both: Adopts both ANSI T1.403 and AT&T TR 54016 for FDL.

none: Disables FDL.

Description

Use the ft1 fdl command to set the behavior of the T1-F interface on the FDL in ESF framing.

Use the undo ft1 fdl command to restore the default.

By default, FDL is disabled.

FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting performance statistics or loopback code.

You can however change the setting depending on the setting at the far end.

Examples

# Implement ANSI T1.403 FDL on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 fdl ansi

ft1 frame-format

Syntax

ft1 frame-format { esf | sf }

undo ft1 frame-format

View

T1-F interface view

Default Level

2: System level

Parameters

esf: Sets the framing format on the T1-F interface to ESF.

sf: Sets the framing format on the T1-F interface to SF.

Description

Use the ft1 frame-format command to set the framing format on the T1-F interface.

Use the undo ft1 frame-format command to restore the default, that is, esf.

T1-F interfaces support two framing formats, that is, SF and ESF. In SF format, multiple frames can share the same FSC and signaling information, so that more significant bits are available for transmitting user data. The use of ESF allows you to test the system without affecting the ongoing service.

Examples

# Set the framing format of T1-F interface Serial 2/0 to SF.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 frame-format sf

ft1 idlecode

Syntax

ft1 idlecode { 7e | ff }

undo ft1 idlecode

View

T1-F interface view

Default Level

2: System level

Parameters

7e: Sets the line idle code to 0x7E.

ff: Sets the line idle code to 0xFF.

Description

Use the ft1 idlecode command to set the line idle code on the T1-F interface. Two types of line idle code are available: 0x7E and 0xFF.

Use the undo ft1 idlecode command to restore the default, that is, 0x7E.

The line idle code is sent in the timeslots that are not bundled into the logical channels on the interface.

Examples

# Set the line idle code to 0x7E on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 idlecode 7e

ft1 itf

Syntax

ft1 itf { number number | type { 7e | ff } }

undo ft1 itf { type | number }

View

T1-F interface view

Default Level

2: System level

Parameters

number number: Sets the number of interframe filling tags (a interframe filling tag is one byte in length). The number argument ranges from 0 to 14.

type { 7e | ff }: Sets the interframe filling tag to 0x7E by specifying the 7e keyword or to 0xFF by specifying the ff keyword. On a T1-F interface, the default interframe filling tag is 0x7E.

Description

Use the ft1 itf command to set the type and the number of interframe filling tags on the T1-F interface. Two types of interframe filling tag are available: 0x7E and 0xFF.

Use the undo ft1 itf command to restore the default.

By default, the interframe filling tag is 0x7E, and the number of interframe filling tags is four.

Interframe filling tags are sent when no service data is sent on the timeslots bundled into logical channels on a T1-F interface.

Do not use the ft1 itf type ff command if both the ft1 code ami command and the ft1 data-coding inverted command are configured so that the T1-F interface can function normally.

Examples

# Set the interframe filling tag to 0xFF on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 itf type ff

# Set the number of interframe filling tags to five on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 itf number 5

ft1 loopback

Syntax

ft1 loopback { local | payload | remote }

undo ft1 loopback

View

T1-F interface view

Default Level

2: System level

Parameters

local: Sets the interface in internal loopback mode.

payload: Sets the interface in external payload loopback mode.

remote: Sets the interface in external loopback mode.

Description

Use the ft1 loopback command to set the T1-F interface in a loopback mode. 

Use the undo ft1 loopback command to restore the default.

By default, loopback is disabled.

Loopback is intended for checking the condition of interfaces or cables. Disable it otherwise.

 

The three loopback modes cannot be used at the same time on a T1-F interface.

 

Examples

# Set T1-F interface Serial 2/0 in local loopback mode.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 loopback local

ft1 sendloopcode

Syntax

ft1 sendloopcode { fdl-ansi-llb-down | fdl-ansi-llb-up | fdl-ansi-plb-down | fdl-ansi-plb-up | fdl-att-plb-down | fdl-att-plb-up | inband-llb-down | inband-llb-up }

View

T1-F interface view

Default Level

2: System level

Parameters

fdl-ansi-llb-down: Sends ANSI-compliant LLB deactivation request code in the FDL to removes loopback.

fdl-ansi-llb-up: Sends ANSI-compliant line loopback (LLB) activation request code in the FDL to start remote loopback.

fdl-ansi-plb-down: Sends ANSI-compliant PLB deactivation request code in the FDL to remove loopback.

fdl-ansi-plb-up: Sends ANSI-compliant payload loopback (PLB) activation request code in the FDL to start remote loopback.

fdl-att-plb-down: Sends AT&T-complaint PLB deactivation request code in the FDL to remove loopback.

fdl-att-plb-up: Sends AT&T-complaint PLB activation request code in the FDL to start remote loopback.

inband-llb-down: Sends in-band LLB deactivation request code compliant with the ANSI or AT&T implementation to remove loopback.

inband-llb-up: Sends in-band line loopback (LLB) activation request code compliant with the ANSI or AT&T implementation to start remote loopback.

Description

Use the ft1 sendloopcode command to send remote loopback control code.

By default, no remote loopback control code is sent.

You may configure loopback on the far-end T1-F interface by sending loopback request code.

In LLB mode, all 193 bits (one synchronization bit and 192 effective bandwidth bits) in a T1 PCM frame are looped back. In PLB mode, however, only 192 effective bandwidth bits are looped back.

The format of loopback code can be compliant with ANSI T1.403 or AT&T TR 54016.

In SF framing, LLB code is sent using the effective bandwidth (slots 1 through 24). In ESF framing, both LLB code and PLB code are sent/received in the FDL in ESF frames.

You can use this command only when the far-end CT1 interface can automatically detect loopback request code from the network.

Examples

# Send in-band LLB activation request code.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 sendloopcode inband-llb-up

ft1 timeslot-list

Syntax

ft1 timeslot-list list [ speed { 56k | 64k } ]

undo ft1 timeslot-list

View

T1-F interface view

Default Level

2: System level

Parameters

list: Specifies timeslots to be bundled. They are numbered 1 through 31. You may specify a single timeslot by specifying its number, a range of timeslots by specifying a range in the form of number1-number2, or several discrete timeslots by specifying number1, number2-number3.

speed { 56k | 64k }: Time slot bundling speed in kbps. If 56k applies, timeslots are bundled into an N × 56 kbps bundle. If 64k (the default) applies, timeslots are bundled into an N × 64 kbps bundle.

Description

Use the ft1 timeslot-list command to bundle timeslots on a T1-F interface.

Use the undo ft1 timeslot-list command to restore the default.

By default, all the timeslots on the T1-F interface are bundled to form a 1536 kbps interface.

Timeslot bundling results in interface rate change. For example, after you bundle timeslots 1 through 10 on the interface, the interface rate becomes 10 × 64 kbps or 10 × 56 kbps.

Only one channel set can be created on a T1-F interface, and this channel set is associated with the current synchronous serial interface. On a CT1 interface, however, you may create multiple channel sets; for each of them, the system automatically creates a synchronous serial interface.

Examples

# Bundle timeslots 1, 2, 5, 10 through 15, and 18 on T1-F interface Serial 2/0.

<Sysname> system-view

[Sysname] interface serial 2/0

[Sysname-Serial2/0] ft1 timeslot-list 1,2,5,10-15,18

Basic CE3 Interface Configuration Commands

bert (CE3 interface)

Syntax

bert pattern { 2^7 | 2^11 | 2^15 | qrss } time number [ unframed ]

undo bert

View

CE3 interface view

Default Level

2: System level

Parameters

pattern: Specifies BERT test mode, which can be 2^7, 2^11, 2^15, and QRSS.

2^7: Specifies the code stream transmitted is the 7th power of 2 bits in length.

2^11: Specifies the code stream transmitted is the 11th power of 2 bits in length.

2^15: Specifies the code stream transmitted is the 15th power of 2 bits in length.

qrss: Specifies the code stream transmitted is the 20th power of 2 bits in length and the number of successive 0s in the code stream is no more than 14.

time number: Sets the duration (in minutes) of a BERT teat. The number argument is in the range 1 to 1,440.

unframed: Sets the overhead bits of the padding frames for BERT test.

Description

Use the bert command to enable BERT test.

Use the undo bert command to disable BERT test.

By default, no BERT test is performed.

Multiple BERT test modes exist, as defined in ITU O.151, ITU O.153, and ANSI T1.403-1999. Currently, 2^7, 2^11, 2^15, and QRSS are available on a CE3 interface.

To perform a BERT test, the local end transmits test data stream, which is returned after reaching specific nodes. The local end then checks for the bit error rate by comparing the returned data stream with the original, through which the state of the link can be determined. BERT test requires that data stream can be looped back on specific nodes. You can achieve this by enabling remote loop back on the peer.

You can use the bert command to set the test mode and the test duration. During the process of a BERT test, you can check the state and the result of the test. For more information, refer to the command used for displaying the information about a CE3 interface.

Examples

# Perform BERT test in QRSS mode on CE3 2/0 interface, setting the duration to  ten minutes.

<Sysname> system-view

[Sysname] interface e3 2/0

[Sysname-E3 2/0] bert pattern qrss time 10

clock (CE3 interface)

Syntax

clock { master | slave }

undo clock

View

CE3 interface view

Default Level

2: System level

Parameters

master: Adopts the internal clock as the clock source.

slave: Adopts the line clock as the clock source.

Description

Use the clock command to configure clock source for the CE3 interface.

Use the undo clock command to restore the default, that is, line clock.

The clock source is selected depending on the connected remote device. If connected to a transmission device, the local end uses the line clock. If connected to a CE3 interface on another router, the local end can use whichever clock so long as it is different from the one adopted at the remote end.

Examples

# Use the internal clock as the clock source on CE3 interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] clock master

controller e3

Syntax

controller e3 interface-number

View

System view

Default Level

2: System level

Parameters

interface-number: CE3 interface number.

Description

Use the controller e3 command to enter CE3 interface view.

Related commands: display controller e3.

Examples

# Enter the view of interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0]

crc

Syntax

crc { 16 | 32 | none }

undo crc

View

Synchronous serial interface view

Default Level

2: System level

Parameters

16: Adopts 16-bit CRC.

32: Adopts 32-bit CRC.

none: Adopts no CRC.

Description

Use the crc command to configure CRC mode for a synchronous serial interface formed by CE3 interfaces.

Use the undo crc command to restore the default, that is, 16-bit CRC.

Related commands: e1 channel-set, e1 unframed, using.

Examples

# Apply 32-bit CRC to a serial interface formed on interface E3 2/0 in unchannelized mode.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] using e3

[Sysname-E3 2/0] quit

[Sysname] interface serial 2/0/0:0

[Sysname-Serial2/0/0:0] crc 32

# Apply 16-bit CRC to a serial interface formed on interface E3 2/0 in unchannelized mode.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] e1 3 channel-set 5 timeslot-list 1-20

[Sysname-E3 2/0] quit

[Sysname] interface serial 2/0/3:5

[Sysname-Serial2/0/3:5] crc 16

description (CE3 interface)

Syntax

description text

undo description

View

CE3 interface view

Default Level

2: System level

Parameters

text: Description of the current interface, a string of 1 to 80 characters.

Description

Use the description command to configure the description of the current CE3 interface.

Use the undo description command to restore the default.

By default, the description of a CE3 interface is the interface name followed by the interface string, E3 2/0 Interface for example.

Examples

# Configure the description of E3 2/0 as E3-interface.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] description E3-interface

display controller e3

Syntax

display controller e3 [ interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-number: CE3 interface number. In conjunction with the e3 keyword, it specifies a CE3 interface.

Description

Use the display controller e3 command to display state information about one specified or all CE3 interfaces.

In addition to the state information of the CE3 interface, the command displays information about each E1 line on the CE3 interface if the interface is working in CE3 mode.

Examples

# Display information about interface E3 2/0.

<Sysname> display controller e3 2/0

  E3 2/0 is up

  Description : E3 2/0 Interface

  Applique type is CE3 - 75 OHM unbalanced  Frame-format G751, line code HDB3, clock slave, national-bit 1,loopback not set

  Alarm: none

  ERROR: 0 BPV, 0 EXZ, 0 FrmErr, 0 FEBE

E3-0  CE1 1 is up

  Frame-format NO-CRC4, clock master, loopback not set

E3-0  CE1 2 is up

  Frame-format NO-CRC4, clock slave, loopback local

E3-0  CE1 3 is up

  Frame-format NO-CRC4, clock slave, loopback remote

E3-0  CE1 4 is up

  Frame-format CRC4, clock slave, loopback not set

E3-0  CE1 5 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 6 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 7 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 8 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 9 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 10 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 11 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 12 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 13 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 14 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 15 is up

  Frame-format NO-CRC4, clock slave, loopback not set

E3-0  CE1 16 is up

  Frame-format NO-CRC4, clock slave, loopback not set

e1 bert

Syntax

e1 line-number bert pattern { 2^11 | 2^15 | 2^20 | 2^23 | qrss } time number [ unframed ]

undo e1 line-number bert

View

CE3 interface view

Default Level

2: System level

Parameters

line-number: E1 channel number, in the range 1 to 28.

pattern: Specifies BERT test mode, which can be 2^11, 2^15, 2^20, 2^23, and QRSS.

2^11: Specifies the code stream transmitted is the 11th power of 2 bits in length.

2^15: Specifies the code stream transmitted is the 15th power of 2 bits in length.

2^20: Specifies the code stream transmitted is the 20th power of 2 bits in length.

2^23: Specifies the code stream transmitted is the 23th power of 2 bits in length.

qrss: Specifies the code stream transmitted is the 20th power of 2 bits in length and the number of successive 0s in the code stream is no more than 14.

time number: Sets the duration (in minutes) of a BERT teat. The number argument is in the range 1 to 1,440.

unframed: Sets the overhead bits of the padding frames for BERT test.

Description

Use the e1 bert command to enable BERT test for an E1 channel created on a CE3 interface.

Use the undo e1 bert command to disable BERT test.

By default, no BERT test is performed.

Multiple BERT test modes exist, as defined in ITU O.151, ITU O.153, and ANSI T1.403-1999. Currently, 2^11, 2^15, 2^20, 2^23, and QRSS are available on E1 channels created on CE3 interfaces.

To perform a BERT test, the local end transmits test data stream, which is returned after reaching specific nodes. The local end then checks for the bit error rate by comparing the returned data stream with the original, through which the state of the link can be determined. BERT test requires that data stream can be looped back on specific nodes. You can achieve this by enabling remote loop back on the peer.

You can use the bert command to set the test mode and the test duration. During the process of a BERT test, you can check the state and the result of the test. For more information, refer to the command used for displaying the information about a CE3 interface.

Examples

# Perform BERT test in QRSS mode on E1 channel 1 created on CE3 2/0 interface, setting the duration to ten minutes.

<Sysname> system-view

[Sysname] interface e3 2/0

[Sysname-E3 2/0] e1 1 bert pattern qrss time 10

e1 channel-set

Syntax

e1 line-number channel-set set-number timeslot-list list

undo e1 line-number channel-set set-number

View

CE3 interface view

Default Level

2: System level

Parameters

line-number: E1 line number in the range 1 to 16.

set-number: Number of the channel set formed by a timeslot bundle on the E1 line. It ranges from 0 to 30.

timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 31. You can specify a single timeslot by specifying a timeslot number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }.

Description

Use the e1 channel-set command to bundle timeslots on an E1 line.

Use the undo e1 channel-set command to remove a timeslot bundle.

By default, no timeslots are bundled into channel sets.

A CE3 interface can be channelized into 64 kbps lines and the timeslots on each E1 line can be bundled into up to 31 channels.

When an E1 line operates in framed (CE1) mode, you can bundle timeslots on it into channel sets. For each channel set, the system automatically creates a serial interface numbered serial number/line-number:set-number. For example, the serial interface formed by channel set 0 on the first E1 line on E3 1/0 is numbered 1/0/1:0. This interface can operate at N × 64 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations.

Related commands: e1 unframed.

Examples

# Create a 128 kbps serial interface on the first E1 channel on interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] e1 1 channel-set 1 timeslot-list 1,2

e1 set clock

Syntax

e1 line-number set clock { master | slave }

undo e1 line-number set clock

View

CE3 interface view

Default Level

2: System level

Parameters

line-number: E1 line number in the range 1 to 16.

master: Adopts the internal clock as the clock source.

slave: Adopts the line clock as the clock source.

Description

Use the e1 set clock command to configure clock source for an E1 line on the CE3 interface.

Use the undo e1 set clock command to restore the default, that is, line clock.

When the CE3 interface is working in channelized mode, you can set separate clock for each E1 line on it.

Examples

# Use the internal clock as the clock source on the first E1 line on interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] e1 1 set clock slave

e1 set frame-format

Syntax

e1 line-number set frame-format { crc4 | no-crc4 }

undo e1 line-number set frame-format

View

CE3 interface view

Default Level

2: System level

Parameters

line-number: E1 line number in the range 1 to 16.

crc4: Sets the frame format to CRC4.

no-crc4: Sets the frame format to no-CRC4.

Description

Use the e1 set frame-format command to set framing format for an E1 line.

Use the undo e1 set frame-format command to restore the default, that is, no-CRC4.

Configure this command only when the specified E1 line is working in framed format (which can be set using the undo e1 unframed command).

Related commands: e1 unframed.

Examples

# Set the framing format to CRC4 for the first E1 line on interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] e1 1 set frame-format crc4

e1 set loopback

Syntax

e1 line-number set loopback { local | payload | remote }

undo e1 line-number set loopback

View

CE3 interface view

Default Level

2: System level

Parameters

line-number: E1 line number in the range 1 to 16.

local: Sets the E1 line in internal loopback mode.

payload: Sets the E1 line in payload loopback mode.

remote: Sets the E1 line in external loopback mode.

Description

Use the e1 set loopback command to set an E1 line in a loopback mode on the E3 interface.

Use the undo e1 set loopback command to restore the default.

By default, loopback is disabled on E1 lines.

If an E1 line encapsulated with PPP is in loopback mode, it is normal that the state of the link layer protocol is reported down.

Examples

# Set the  first E1 line on interface E3 2/0 in internal loopback mode.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] e1 1 set loopback local

e1 shutdown

Syntax

e1 line-number shutdown

undo e1 line-number shutdown

View

CE3 interface view

Default Level

2: System level

Parameters

line-number: E1 line number in the range 1 to 16.

Description

Use the e1 shutdown command to shut down an E1 line on the CE3 interface.

Use the undo e1 shutdown command to restore the default.

By default, E1 lines are up.

This command affects not only the specified E1 line but also the serial interfaces formed by E1 line bundling. Performing the e1 shutdown command on the specified E1 line shuts down all these serial interfaces. Data transmission and receiving stop as a result. Likewise, performing the undo e1 shutdown command restarts all these serial interfaces.

Examples

# Shut down the first E1 line on interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] e1 1 shutdown

e1 unframed

Syntax

e1 line-number unframed

undo e1 line-number unframed

View

CE3 interface view

Default Level

2: System level

Parameters

line-number: E1 line number in the range 1 to 16.

Description

Use the e1 unframed command to set an E1 line on the CE3 interface to work in unframed mode (E1 mode).

Use the undo e1 unframed command to restore the default.

By default, an E1 line operates in framed mode (CE1 mode).

An E1 line in unframed mode does not contain the frame control information; it cannot be divided into timeslots. The system automatically creates a serial interface numbered serial number/line-number:0 for it. This interface operates at 2048 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations.

Related commands: e1 channel-set.

Examples

# Set the first E1 line on interface E3 2/0 to operate in unframed mode.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] e1 1 unframed

fe3

Syntax

fe3 { dsu-mode { 0 | 1 } | subrate number }

undo fe3 { dsu-mode | subrate }

View

CE3 interface (in FE3 mode) view

Default Level

2: System level

Parameters

dsu-mode: Specifies the FE3 (Fractional E3) DSU  mode for a CE3 interface operating in FE3 mode. This keyword can be followed by 0 or 1, as described below:

0, meaning the Digital Link mode, where the subrate is a multiple of 358 kbps and ranges from 358 to 34010 kbps (that is, up to 95 rate levels are available).

1, meaning the Kentrox mode, where the subrate is a multiple of 500 kbps and ranges from 500 to 24500 kbps. In this mode, the subrate can also be 34010 kbps (making a total of 50 rate levels).

subrate number: Specifies the subrate for the CE3 interface. The number argument ranges from 1 to 34010 (in kbps).

Description

Use the fe3 command to configure a CE3 interface to operate in the FE3 mode and set the DSU mode or the subrate.

Use the undo fe3  command to restore the default.

By default, DSU mode 1 (the Kentrox mode) is adopted, and the subrate is 34010 kbps.

FE3 mode is a non-standard E3 application mode. In this mode, the subrate level setting varies with vendors. You can use the fe3 command to make the device to be compatible with devices of other vendors operating in specific FE3 DSU modes.

Note that:

l          This command is only applicable to CE3 boards that support FE3.

l          This command is only available in CE3 mode.

l          As for the fe3 subrate command, the actual subrate usually is not exactly the one set by the command. That is, after you set the subrate by using the fe3 subrate command, the CE3 interface searches the subrate levels corresponding to the DSU mode it is operating in and selects the one that is closest to that set by the command as its subrate. The device then adjusts the hardware to allow for the subrate.

l          You can use the display interface serial interface-number:0 command to check the DSU mode setting, the subrate, the actual rate, and the baudrate of a CE3 interface. Note that the actual rate does not count in the overhead bits, and the baudrate is the actual E3 line rate (that is, 34368 kbps), with the overhead bits counted in.

Examples

# Configure E3 2/0 interface to operate in the FE3 mode, setting the DSU mode to 1 and the subrate to 3000 kbps.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] using e3

[Sysname-E3 2/0] fe3 dsu-mode 1

[Sysname-E3 2/0] fe3 subrate 3000

loopback (CE3 interface)

Syntax

loopback { local | payload | remote }

undo loopback

View

CE3 interface view

Default Level

2: System level

Parameters

local: Enables internal loopback on the CE3 interface.

payload: Enables external payload loopback on the CE3 interface.

remote: Enables external loopback on the CE3 interface.

Description

Use the loopback command to configure the loopback mode of the CE3 interface.

Use the undo loopback command to restore the default.

By default, loopback is disabled on the CE3 interface.

Loopback is intended for test use. Disable it otherwise.

If a CE3 interface encapsulated with PPP is placed in a loopback, it is normal that the state of the link layer protocol is reported down.

Examples

# Enable internal loopback on interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] loopback local

national-bit

Syntax

national-bit { 0 | 1 }

undo national-bit

View

CE3 interface view

Default Level

2: System level

Parameters

0: Sets the national bit to 0 for national communication.

1: Sets the national bit to 1 for international communication.

Description

Use the national-bit command to configure the national bit on the CE3 interface.

Use the undo national-bit command to restore the default, that is, 1.

You need to set the national bit to 0 on an E3 interface only in some special circumstances.

Related commands: controller e3.

Examples

# Set the national bit to 0 on interface E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] national-bit 0

reset counters controller e3

Syntax

reset counters controller e3 interface-number

View

User view

Default Level

2: System level

Parameters

interface-number: Interface number.

Description

Use the reset counters controller e3 command to clear the controller counter of a CE3 interface.

You can use the display controller e3 command to display the statistics collected by the controller counters of CE3 interfaces.

 

The reset counters interface command clears the counters of all interfaces. To clear the controller counter of individual CE3 interfaces, use the reset counters controller e3 command.

 

Examples

# Clear the controller counter of the CE3 interface E3 2/0.

<Sysname> reset counters controller e3 2/0

shutdown (CE3 interface)

Syntax

shutdown

undo shutdown

View

CE3 interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to shut down the current CE3 interface.

Use the undo shutdown command to bring up the current CE3 interface.

By default, a CE3 interface is enabled.

Examples

# Shut down E3 2/0.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] shutdown

using (CE3 interface)

Syntax

using { ce3 | e3 }

undo using

View

CE3 interface view

Default Level

2: System level

Parameters

ce3: Sets the CE3 interface to work in channelized mode.

e3: Sets the CE3 interface to work in unchannelized mode.

Description

Use the using command to configure the operating mode of the CE3 interface.

Use the undo using command to restore the default, that is, channelized mode.

Only when the CE3 interface is working in channelized mode can you configure E1 lines.

When the CE3 interface is working in unchannelized mode, the system automatically creates a serial interface numbered serial number/0:0 for it. This interface operates at 34.368 Mbps and is logically equivalent to a synchronous serial interface on which you can make other configurations.

Related commands: controller e3.

Examples

# Configure interface E3 2/0 to operate in unchannelized mode.

<Sysname> system-view

[Sysname] controller e3 2/0

[Sysname-E3 2/0] using e3

Basic CT3 Interface Configuration Commands

alarm (CT3 interface)

Syntax

alarm { detect | generate { ais | febe | idle | rai } }

undo alarm { detect | generate { ais | febe | idle | rai } }

View

CT3 interface view

Default Level

2: System level

Parameters

detect: Enables/disables periodical alarm signal detection. By default, periodical alarm detection is enabled.

generate: Sends alarm signals, which can be AIS, RAI, idle, or FEBE for line state test. By default, alarm signal sending is disabled.

ais: Alarm indication signal.

febe: Far end block error signal.

idle: Idle signal.

rai: Remote alarm indication signal.

Description

Use the alarm command to enable the CT3 interface to detect/send alarm signals.

Use the undo alarm command to remove the alarm signal detection/sending setting.

At the startup of your device, periodical alarm signal detection is enabled on the CT3 interface. When detecting LOS, LOF, or AIS signals, the interface sends RAI signals to its peer. Alarm state report for the interface is real time; you may view that by performing the display controller t3 command.

The supported alarm signals, LOS, LOF, AIS, RAI, FEBE, and idle, are ANSI T1.107-1995 compliant.

You can only configure the CT3 interface to send a type of alarm signal. To have the interface send another type of signal, use the undo alarm command to remove the previous setting first. In addition, when the RAI signal generated upon detection of the LOS, LOF, or AIS signal is present, the CT3 interface cannot send another type of signal. To do that, use the undo alarm detect command to disable the CT3 interface to send the RAI signal generated after detecting an alarm first.

Examples

# Enable periodical alarm signal detection on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] alarm detect   

# Enable CT3 interface T3 2/0 to send AIS alarm signals.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] alarm generate ais

bert (CT3 interface)

Syntax

bert pattern { 2^7 | 2^11 | 2^15 | qrss } time number [ unframed ]

undo bert

View

CT3 interface view

Default Level

2: System level

Parameters

pattern: Sets a bit error rate test (BERT) pattern, which could be 2^7, 2^11, 2^15, or QRSS.

2^7: Two to the seventh power, length of the transmitted BERT pattern in bits.

2^11: Two to the eleventh power, length of the transmitted BERT pattern in bits.

2^15: Two to the fifteenth power, length of the transmitted BERT pattern in bits.

qrss: Two to the twentieth power, length of the transmitted BERT pattern in bits. In this pattern, the presence of 14 consecutive zeros is not allowed.

time number: Sets the duration of a BERT test, in the range 1 to 1440 minutes.

unframed: Sets the test pattern to cover the overhead bits of the frame.

Description

Use the bert command to start a BERT test on the CT3 interface.

Use the undo bert command to stop the BERT test running on the CT3 interface.

By default, no BERT test is performed.

ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, among which, the CT3 interface supports only 2^7, 2^11, 2^15, and QRSS at present.

When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for bit error rate, and by so doing helps you identify whether the condition of the line is good. To this end, you must configure loopback to allow the transmitted pattern to loop back from somewhere on the line, for example, from the far-end interface by placing the interface in far-end loopback.

You may view the state and result of the BERT test with the display controller t3 command.

Examples

# Run a 10-minute QRSS BERT test on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] bert pattern qrss time 10

cable (CT3 interface)

Syntax

cable feet

undo cable

View

CT3 interface view

Default Level

2: System level

Parameters

feet: Cable length in the range 0 to 450 feet (0 to 137.2 meters).

Description

Use the cable command to configure the cable length on the CT3 interface.

Use the undo cable command to restore the default, that is, 49 feet (14.9 meters).

The cable length in this command refers to the distance between the router and the cable distribution rack.

Examples

# Set the cable length to 50 feet (15.2 meters) on interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] cable 50

clock (CT3 interface)

Syntax

clock { master | slave }

undo clock

View

CT3 interface view

Default Level

2: System level

Parameters

master: Adopts the internal clock as the clock source.

slave: Adopts the line clock as the clock source.

Description

Use the clock command to configure clock source for the CT3 interface.

Use the undo clock command to restore the default, that is, line clock.

The clock source is selected depending on the connected remote device. If connected to a transmission device, the local end uses the line clock. If connected to a CT3 interface on another router, the local end can use whichever clock so long as it is different from the one adopted at the remote end.

Examples

# Use the internal clock as the clock source on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] clock master

controller t3

Syntax

controller t3 interface-number

View

System view

Default Level

2: System level

Parameters

interface-number: CT3 interface number.

Description

Use the controller t3 command to enter CT3 interface view.

Related commands: display controller t3.

Examples

# Enter the view of interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0]

crc

Syntax

crc { 16 | 32 | none }

undo crc

View

Synchronous serial interface view

Default Level

2: System level

Parameters

16: Adopts 16-bit CRC.

32: Adopts 32-bit CRC.

none: Adopts no CRC.

Description

Use the crc command to configure CRC mode for the serial interface formed on CT3 interfaces.

Use the undo crc command to restore the default, that is, 16-bit CRC.

Related commands: t1 channel-set, t1 unframed, using.

Examples

# Apply 32-bit CRC to a serial interface formed on interface T3 2/0 in unchannelized mode.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] using t3

[Sysname-T3 2/0] quit

[Sysname] interface serial 2/0/0:0

[Sysname-Serial2/0/0:0] crc 32

# Apply 16-bit CRC to a serial interface formed on interface CT3 2/0 in channelized mode.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 2 channel-set 4 timeslot-list 5-11

[Sysname-T3 2/0] quit

[Sysname] interface serial 2/0/2:4

[Sysname-Serial2/0/2:4] crc 16

description (CT3 interface)

Syntax

description text

undo description

View

CT3 interface view

Default Level

2: System level

Parameters

text: Description of the current interface, a string of 1 to 80 characters.

Description

Use the description command to configure the description of the current CT3 interface.

Use the undo description command to restore the default.

By default, the description of a CT3 interface is the interface name followed by the interface string, T3 2/0 Interface for example.

Examples

# Configure the description of T3 2/0 as T3-interface.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] description T3-interface

display controller t3

Syntax

display controller t3 [ interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-number: CT3 interface number. In conjunction with the t3 keyword, it specifies a CT3 interface.

Description

Use the display controller t3 command to display state information about one specified or all CT3 interfaces.

In addition to the state information about the CT3 interface, the command displays information about each T1 line on the CT3 interface if the interface is working in CT3 mode.

Examples

# Display information about interface T3 2/0.

<Sysname> display controller t3 2/0

T3 2/0 current state :UP 

Description : T3 2/0 Interface

sic Configuration:

  Work mode is CT3, cable length is 49 feet.

  Frame-format is C-BIT Parity, line code is B3ZS.

  Source clock is slave, loopback is not set.

Alarm state:

  Receiver alarm state is none.

MDL state:

  No message is sent now.

  Message data elements:

    EIC: line, LIC: line, FIC: line, UNIT: line

    FI: line, PORT_NO: line, GEN_NO: line

  Periodical detection is disabled.

FEAC state:

  No code is sent now.

  Periodical detection is enabled, no code received now.

BERT state:(stopped, not completed)

  Test pattern: 2^7, Status: Not Sync, Sync Detected: 0

    Time: 0 minute(s), Time past: 0 minute(s)

    Bit errors (since test started): 0 bits

    Bits received (since test started): 0 Mbits

    Bit errors (since latest sync): 0 bits

    Bits received (since latest sync): 0 Mbits

Historical Statistics:

Last clearing of counters: 14:39:02 UTC Sat 06/25/2005

  Data in current interval (22 seconds elapsed):

    0 Line Code Violations, 0 Far End Block Error

    0 C-Bit Coding Violation, 0 P-bit Coding Violation

    0 Framing Bit Err, 0 Severely Err Framing Secs

    0 C-bit Err Secs, 0 C-bit Severely Err Secs

    0 P-bit Err Secs, 0 P-bit Severely Err Secs

    0 Unavailable Secs, 0 Line Err Secs

 

T3 2/0  CT1 1 is up

  Frame-format ESF, clock slave, loopback not set

  FDL Performance Report is disabled

  Transmitter is sending none

  Receiver alarm state is none

  Line loop back deactivate code using inband signal last sent

  BERT state:(stopped, not completed)

    Test pattern: 2^11, Status: Not Sync, Sync Detected: 0

    Time: 0 minute(s), Time past: 0 minute(s)

    Bit errors (since test started): 0 bits

    Bits received (since test started): 0 Kbits

    Bit errors (since latest sync): 0 bits

    Bits received (since latest sync): 0 Kbits                    

Table 1-6 display controller t3 command output description

Field

Description

T3 2/0 current state

Physical state of the interface: up or down

Description : T3 2/0 Interface

Description about the interface

Basic Configuration

Basic configurations of the interface

Work mode

Operating mode of the interface, CT3 or T3.

cable length

Cable length supported by the interface

Frame-format

Frame format: C-bit parity or M23

line code

In this output sample, line code is B3ZS.

Source clock

Clock source used by the interface: master for the internal clock or slave for the line clock

loopback

Loopback setting on the interface: local, remote, payload, or not set

Alarm State

Alarm state

Receiver alarm state

Type of the received alarm: none, LOS, LOF, RAI, or AIS.

If a LOS, LOF, AIS was received, RAI would be sent and the screen displayed “Transmitter is sending RAI” instead.

MDL state

MDL state

No message is sent now.

No MDL message is being sent. If an MDL message, path or idle-signal for example, was being sent, the screen would display “Message sent now: path. idle signal.”

Message data elements

MDL data elements

EIC: line, LIC: line, FIC: line, UNIT: line

EIC, LIC, FIC, and UNIT are four elements present in all types of MDL messages. Their values are user configurable and default to line.

FI: line, PORT_NO: line, GEN_NO: line

FI is found in MDL path messages, PORT_NO in MDL idle signal messages, and GEN_NO in MDL test signal messages. Their values are user configurable and default to line.

Periodical detection

State of periodical detection of MDL, disabled by default at the startup of the router.

When the function is enabled, the screen displays:

Periodical detection is enabled.

No message was received.

When MDL messages are detected, the screen displays:

Message received now: path.idle signal.

    EIC: line, LIC: line, FIC: line, UNIT: line

    path/FI: line

   idle Signal/PORT_NO: line     

FEAC state

FEAC state

No code is sent now. DS3 Line Loop Back Deactivate was last sent.

No FEAC signal is sent. The FEAC signal sent last time is DS3 Line Loop Back Deactivate.

Periodical detection is enabled, no code received now.

Periodical detection of FEAC is enabled. This is the default applied at the startup of the router.

No FEAC signal is received now.

DS3 Line Loop Back Deactivate last received.

The FEAC signal received last time is DS3 Line Loop Back Deactivate.

BERT state:(stopped, not completed)

BERT state: completed, stopped (not completed), or running.

Test pattern: 2^7, Status: Not Sync, Sync Detected: 0

Test pattern in use (such as 2^7, 2^11, 2^15, and QRSS), 2^7 in this sample output; synchronization state, and the number of detected synchronizations

Time: 0 minute(s), Time past: 0 minute(s)

The duration of the BERT test and the time that has elapsed

Bit errors (since test started): 0 bits

Number of bit errors received since the start of the BERT test

Bits received (since test started)

Number of bits received since the start of the BERT test

Bit errors (since latest sync)

Number of bit errors received since last synchronization

Bits received (since latest sync)

Number of bits received since last synchronization

Historical Statistics

Historical statistics

Last clearing of counters

Time when last counter clearing is performed, for example, 14:39:02 UTC Sat 06/25/2005. If no clearing is performed, “Never” is displayed.

Data in current interval:

Line Code Violations

Far End Block Error

C-Bit Coding Violation

P-bit Coding Violation

Framing Bit Err

Severely Err Framing Secs

C-bit Err Secs

C-bit Severely Err Secs

P-bit Err Secs

P-bit Severely Err Secs

Unavailable Secs

Line Err Secs

Statistics spanning the current 15-minute interval, coving the counts of these items:

Line code violations: BPV, or EXZ

Far-end block error

C-bit coding violation

P-bit coding violation

Framing bit error

C-bit erroneous second

C-bit severely erroneous second, that is, the second during which 44 C-bit errors occur

P-bit erroneous second

P-bit severely erroneous second, that is, the second during which 44 P-bit errors occur

Service unavailable second

Line erroneous second, during which LOS, BPV, EXZ, C-bit, P-bit, and other errors occur

Data in Interval 1

Data in interval 1

Total Data (last 17 15 minute intervals)

Total data spanning the last 17 intervals

T3 2/0  CT1 1 is up

State of T1 line on the CT3 interface: up or down. In this output sample, T1 line 1 is up.

Frame-format ESF, clock slave, loopback not set

Information about the T1 line:

Framing format—ESF or SF

Clock source—slave for the line clock and master for the internal clock

Loopback—Local, remote, payload, or not set

FDL Performance Report is disabled

Transmission of PPR in the FDL is disabled. You may enable that with the t1 set fdl ansi command.

Transmitter is sending RAI

The transmitter of the T1 line is sending RAI signals. When the T1 line receives LOS, LOF, or AIS signals, it sends RAI signals.

Receiver alarm state is LOF

The type of alarm signal that the T1 line can receive: LOS, LOF, AIS, or RAI

Line loop back activate code using inband signal last sent

The loopback code sent last time is in-band LLB activation request code.

BERT state

BERT test state: running, complete, or stopped (not completed)

Test pattern

Status

Sync Detected

Test pattern in use, 2^11 in this sample output; synchronization state, and the number of detected synchronizations

Time

Time past

The duration of the BERT test and the time that has elapsed

Bit errors (since test started)

Number of bit errors received since the start of the BERT test

Bits received (since test started)

Number of bits received since the start of the BERT test

Bit errors (since latest sync)

Number of bit errors received since the last synchronization

Bits received (since latest sync)

Number of bits received since the last synchronization

 

feac

Syntax

feac { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3-line | ds3-payload } } }

undo feac { detect | generate { ds3-los | ds3-ais | ds3-oof | ds3-idle | ds3-eqptfail | loopback { ds3-line | ds3-payload } } }

View

CT3 interface view

Default Level

2: System level

Parameters

detect: Enables periodical far end and control signal (FEAC) channel signal detection. By default, periodical FEAC channel signal detection is enabled.

generate: Sends FEAC signals. Specify ds3-los for DS3 LOS, ds3-ais for DS3 AIS, ds3-oof for DS3 out of frame (OOF), ds3-idle for DS3 idle, and ds3-eqptfail for DS3 equipment failure. By default, FEAC signal sending is disabled.

loopback: Sends loopback code for activating far-end line loopback with the ds3-line keyword or payload loopback with the ds3-payload keyword. By default, loopback code sending is disabled.

Description

Use the feac command to enable FEAC channel signal detection and sending on the CT3 interface.

Use the undo feac command to remove the current FEAC settings.

FEAC is a channel formed by using the third C-bit in the first subframe in C-bit framing. It is used to transmit alarm state signals for line test purpose or to transmit loopback control code for activating or deactivating far-end loopback during a loopback test.

According to ANSI T1.107a, the frame format used by FEAC channels is bit oriented protocol (BOP).

At the startup of your router, FEAC channel signal detection is enabled on the CT3 interface with FEAC signal sending disabled.

After far-end loopback is activated with the feac generate loopback { ds3-line | ds3-payload } command, you may remove it with the undo form of the command.

 

Disable FEAC detection before you configure far-end loopback to prevent loopback deadlock, which may happen when the local end enables loopback after detecting the loopback code sent back by the far end.

 

You may view the transmitting/receiving state of the FEAC channel with the display controller t3 command.

Examples

# Enable FEAC channel signal detection on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] feac detect

# Sends DS3 LOS signal on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] feac generate ds3-los

# On CT3 interface T3 2/0, send loopback code to the far end to place the far end in a line loopback.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] feac generate loopback ds3-line

frame-format (CT3 interface)

Syntax

frame-format { c-bit | m23 }

undo frame-format

View

CT3 interface view

Default Level

2: System level

Parameters

c-bit: Sets the framing format to C-bit.

m23: Sets the framing format to m23.

Description

Use the frame-format command to configure the framing format used by the CT3 interface.

Use the undo frame-format command to restore the default, that is, C-bit framing format.

Examples

# Set the framing format of interface T3 2/0 to m23.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] frame-format m23

ft3

Syntax

ft3 { dsu-mode { 0 | 1 | 2 | 3 | 4 } | subrate number }

undo ft3 { dsu-mode | subrate }

View

CT3 interface (in FT3 mode) view

Default Level

2: System level

Parameters

dsu-mode: Specifies the FT3 (Fractional T3) DSU mode for a CT3 interface operating in FT3 mode. This keyword can be followed by 0, 1, 2, 3, and 4, as described below:

0, meaning the Digital Link mode, where the subrate is a multiple of 300746 bps and ranges from 300 to 44210 kbps (that is, up to 147 rate levels are available).

1, meaning the Kentrox mode, where the subrate is a multiple of 1500000 bps and ranges from 1500 to 35000 kbps. In this mode, the subrate can also be 44210 kbps (making a total of 57 subrate levels).

2, meaning the Larscom mode, where the subrate is a multiple of 3157835 bps and ranges from 3100 to 44210 kbps (that is, up to 14 subrate levels are available).

3, meaning the Adtran mode, where the subrate is a multiple of 75187 bps and ranges from 75 to 44210 kbps (that is, up to 588 subrate levels are available).

4, meaning the Verilink mode, where the subrate is a multiple of 1578918 bps and ranges from 1500 to 44210 kbps (that is, up to 20 subrate levels are available).

subrate number: Specifies the subrate for the CT3 interface. The number argument ranges from 1 to 44210 (in kbps).

Description

Use the ft3 command to configure a CT3 interface to operate in the FT3 mode and set the DSU mode or the subrate.

Use the undo ft3 command to restore the default.

By default, DSU mode 0 (the Digital Link mode) is adopted, and the subrate is 44210 kbps.

FT3 (Fractional T3 or Subrate T3) mode is a non-standard E3 application mode. In this mode, the subrate level setting varies with vendors. You can use the ft3 command to make the device to be compatible with devices of other vendors operating in specific FT3 DSU modes.

Note that:

l          This command is only applicable to CT3 boards that support FT3.

l          This command is only available in CT3 mode.

l          As for the ft3 subrate command, the actual subrate usually is not exactly the one set by the command. That is, after you set the subrate by using the ft3 subrate command, the T3 interface searches the subrate levels corresponding to the DSU mode it is operating in and selects the one that is closest to that set by the command as its subrate. The device then adjusts the hardware to allow for the subrate.

l          You can use the display interface serial interface-number:0 command to check the DSU mode setting, the subrate, the actual rate, and the baudrate of a CT3 interface. Note that the actual rate does not count in the overhead bits, and the baudrate is the actual T3 line rate (that is, 44736 kbps), with the overhead bits counted in.

Examples

# Configure T3 2/0 interface to operate in the FT3 mode, setting the DSU mode to 1 and the subrate to 3000 kbps.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] using t3

[Sysname-T3 2/0] ft3 dsu-mode 1

[Sysname-T3 2/0] ft3 subrate 3000

loopback (CT3 interface)

Syntax

loopback { local | payload | remote }

undo loopback

View

CT3 interface view

Default Level

2: System level

Parameters

local: Enables internal loopback on the CT3 interface.

payload: Enables external payload loopback on the CT3 interface.

remote: Enables external loopback on the CT3 interface.

Description

Use the loopback command to configure the loopback mode for a CT3 interface.

Use the undo loopback command to disable loopback.

By default, loopback is disabled on CT3 interfaces.

Loopback is intended for test use. Disable it otherwise.

If a CT3 interface encapsulated with PPP is placed in a loopback, it is normal that the state of the link layer protocol is reported down.

Examples

# Enable internal loopback on interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] loopback local

mdl (CT3 interface)

Syntax

mdl { data { eic string | fic string | | gen-no string | lic string | pfi string | port-no string | unit string } | detect | generate { idle-signal | path | test-signal } }

undo mdl [ data [ eic | fic | gen-no | lic | pfi | port-no | unit ] | detect | generate [ idle-signal |  path | test-signal ] ]

View

CT3 interface view

Default Level

2: System level

Parameters

detect: Enables/disables periodical maintenance data link (MDL) message detection.

data: Specifies the information included in MDL messages. Among all types of information, EIC, LIC, FIC, and unit are defined for all types of MDL messages; PFI is only for path MDL messages; port number is only for idle signal messages; and generator number is only for test signal messages.

eic string: Specifies the equipment identification code, a string of 1 to 10 characters. The system default is line.

fic string: Specifies the frame identification code, a string of 1 to 10 characters. The system default is line.

gen-no string: Specifies the generator number, a string of 1 to 38 characters. The system default is line.

lic string: Specifies the location identification code, a string of 1 to 11 characters. The system default is line.

pfi string: Specifies the path facility identification, a string of 1 to 38 characters. The system default is line.

port-no string: Specifies the port number in idle signal message, a string of 1 to 38 characters. The system default is line.

unit string: Specifies the unit, a string of 1 to 6 characters. The system default is line.

generate: Sends specified information with MDL messages, which can be path, idle signal, and/or test signal regularly.

Description

Use the mdl command to configure MDL message detection/sending on the CT3 interface.

Use the undo mdl command to remove the MDL settings.

Use the undo mdl detect command to disable the CT3 interface from detecting MDL messages.

Use the undo mdl generate command to disable the CT3 interface from sending MDL messages.

Use the undo mdl data command to restore the default.

MDL is a channel formed by using the three C-bits in the fifth subframe in C-bit framing. According to ANSI T1.107a, it is used to transmit three types of maintenance messages, path, idle signal, and test signal, and its data frame format is LAPD.

At the startup of your router, MDL message detection and sending are disabled on CT3 interfaces and the default MDL message information applies.

Examples

# Enable MDL detection on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] mdl detect

# Set LIC to “hello” for CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] mdl data lic hello

# Send path messages on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] mdl generate path

reset counters controller t3

Syntax

reset counters controller t3 interface-number

View

User view

Default Level

2: System level

Parameters

interface-number: Interface number.

Description

Use the reset counters controller t3 command to clear the controller counter of the specified CT3 interface.

You can use the display controller t3 command to display the statistics collected by the controller counters of CT3 interfaces.

 

The reset counters interface command clears the counters of all interfaces. To clear the controller counter of individual CT3 interfaces, use the reset counters controller t3 command.

 

Examples

# Clear the controller counter of the CT3 interface E3 2/0.

<Sysname> reset counters controller t3 2/0

shutdown (CT3 interface)

Syntax

shutdown

undo shutdown

View

CT3 interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to shut down the current CT3 interface.

Use the undo shutdown command to bring up the current CT3 interface.

By default, a CT3 interface is enabled.

Examples

# Shut down T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] shutdown

t1 alarm

Syntax

t1 line-number alarm { detect | generate { ais | rai } }

undo t1 line-number alarm { detect | generate { ais | rai } }

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number, in the range 1 to 28.

detect: Enables/disables periodical alarm signal detection. By default, periodical alarm detection is enabled.

generate: Sends alarm signals, AIS or RAI, for line state test. By default, alarm signal sending is disabled.

ais: Alarm indication signal.

rai: Remote alarm indication signal.

Description

Use the t1 alarm command to enable the specified T1 line on the CT3 interface to detect/send alarm signals.

Use the undo t1 alarm command to remove the alarm signal detection/sending setting.

At the startup of the router, periodical alarm signal detection is enabled on all T1 lines on the CT3 interface. When a T1 line detects LOS, LOF, or AIS signals, it sends RAI signals to its peer. Alarm state report for the interface is real time; you may view that with the display controller t3 command.

The supported alarm signals, LOS, LOF, AIS, RAI, FEBE, and idle, are ANSI T1.403 compliant.

You can configure a T1 line to send only a type of alarm signal. To have the channel send another type of signal, use the undo t1 alarm command to remove the previous setting first. In addition, when the RAI signal generated upon detection of the LOS, LOF, or AIS signal is present, the T1 line cannot send another type of signal. To do that, use the undo t1 alarm detect command to disable the T1 line to send the RAI signal generated after detecting an alarm first.

Examples

# Enable periodical alarm signal detection on T1 line 1 on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 alarm detect

# Enable T1 line 1 on CT3 interface T3 2/0 to send AIS alarm signals.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 alarm generate ais

t1 bert

Syntax

t1 line-number bert pattern { 2^11 | 2^15 | 2^20 | 2^23 | qrss } time number [ unframed ]

undo t1 line-number bert

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number, in the range 1 to 28.

pattern: Sets a BERT pattern, which could be 2^11, 2^15, 2^20, 2^23, or QRSS.

2^11: Two to the eleventh power, length of the transmitted BERT pattern in bits.

2^15: Two to the fifteenth power, length of the transmitted BERT pattern in bits.

2^20: Two to the twentieth power, length of the transmitted BERT pattern in bits.

2^23: Two to the twenty third power, length of the transmitted BERT pattern in bits.

qrss: Two to the twentieth power, length of the transmitted BERT pattern in bits. In this pattern, the presence of 14 or more consecutive zeros is not allowed.

time number: Sets the duration of a BERT test, in the range of 1 to 1440 minutes.

unframed: Sets the test pattern to cover the overhead bits of the frame.

Description

Use the t1 bert command to start a BERT test on the specified T1 line on the CT3 interface.

Use the undo t1 bert command to stop the BERT test running on the specified T1 line on the CT3 interface.

By default, no BERT test is performed.

ITU O.151, ITU O.153, and ANSI T1.403-1999 define many BERT patterns, among which, T1 lines on CT3 interfaces support only 2^11, 2^15, 2^20, 2^23, and QRSS at present.

When running a BERT test, the local end sends out a pattern, which is to be looped over somewhere on the line and back to the local end. The local end then checks the received pattern for the bit error rate, and by so doing helps you determine whether the condition of the line is good. To this end, you must configure loopback to allow the transmitted pattern to loop back from somewhere on the line, for example, from the far-end interface by placing the interface in far-end loopback.

You may view the state and result of the BERT test with the display controller t3 command.

Examples

# Run a 10-minute QRSS BERT test on T1 line 1 on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 bert pattern qrss time 10

t1 channel-set

Syntax

t1 line-number channel-set set-number timeslot-list list [ speed { 56k | 64k } ]

undo t1 line-number channel-set set-number

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number in the range 1 to 28.

set-number: Number of a channel set formed from a timeslot bundle on the T1 line. It ranges from 0 to 23.

timeslot-list list: Specifies the timeslots to be bundled. The list argument can contain multiple timeslot numbers, each of which ranges from 1 to 24. You can specify a single timeslot by specifying a timeslot number, a range of timeslots by providing this argument in the form of { number1-number2 }, or multiple timeslots by providing this argument in the form of { number1, number2-number3 }.

speed { 56k | 64k }: Speed of the timeslot bundle (the channel set) in kbps. If 56k is selected, the timeslots is bundled into an N × 56 kbps bundle. If 64k, the default, is selected, the timeslots is bundled into an N × 64 kbps bundle.

Description

Use the t1 channel-set command to bundle specified timeslots into a channel set on a T1 line.

Use the undo t1 channel-set command to remove the specified channel set.

By default, no channel set is created.

When a T1 line is operating in framed (CT1) mode, you can bundle timeslots on it. For each channel set thus formed, the system automatically creates a serial interface numbered serial number/line-number:set-number. This interface operates at N × 64 kbps (or N × 56 kbps) and is logically equivalent to a synchronous serial interface on which you can make other configurations.

Related commands: t1 unframed.

Examples

# Create a 128 kbps serial interface through timeslot bundling on the first T1 line on interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 channel-set 1 timeslot-list 1,2

t1 sendloopcode

Syntax

t1 line-number sendloopcode { fdl-ansi-line-up | fdl-ansi-payload-up | fdl-att-payload-up | inband-line-up }

undo t1 line-number sendloopcode { fdl-ansi-line-up | fdl-ansi-payload-up | fdl-att-payload-up | inband-line-up }

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number, in the range 1 to 28.

fdl-ansi-line-up: Sends ANSI-compliant LLB activation request code in the FDL to start remote loopback.

fdl-ansi-payload-up: Sends ANSI-compliant PLB activation request code in the FDL to start remote loopback.

fdl-att-payload-up: Sends AT&T-compliant PLB activation request code in the FDL to start remote loopback.

inband-line-up: Sends in-band LLB activation request code compliant with the ANSI and AT&T implementation to start remote loopback.

Description

Use the t1 sendloopcode command to set the loopback mode of the specified far-end T1 line.

Use the undo t1 sendloopcode command to remove the corresponding setting.

Loopback is an effective way of diagnosis. You may place a far-end device into loopback mode either at command line on it or by sending loopback control code to it. The types and formats of loopback control code supported on T1 interfaces are compliant with ANSI T1.403.

Loopback can be divided into line loopback and payload loopback. They differ in the sense that the data stream is looped back at the framer with line loopback but not with payload loopback.

You may transmit loopback control code by using the in-band signal (the 192 effective bandwidth bits or all 193 bits of T1) or the FDL in ESF frames.

Examples

# Send the in-band signal on T1 line 1 on CT3 interface T3 2/0 to place the far-end T1 line in line loopback mode.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 sendloopcode inband-line-up

t1 set clock

Syntax

t1 line-number set clock { master | slave }

undo t1 line-number set clock

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number in the range 1 to 28.

master: Adopts the internal clock as the clock source on the T1 line.

slave: Adopts the line clock as the clock source on the T1 line.

Description

Use the t1 set clock command to configure clock source for a T1 line on the CT3 interface.

Use the undo t1 set clock command to restore the default, that is, line clock.

When a CT3 interface is working in channelized mode, its T1 lines may use separate clocks.

Examples

# Use the internal clock as the clock source on the first T1 line on interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 set clock slave

t1 set frame-format

Syntax

t1 line-number set frame-format { esf | sf }

undo t1 line-number set frame-format

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number in the range 1 to 28.

esf: Set the T1 line to use the ESF format.

sf: Set the T1 line to use the SF format.

Description

Use the t1 set frame-format command to configure the framing format of a T1 line.

Use the undo t1 set frame-format command to restore the default, that is, ESF.

You can configure this command only when the T1 line is working in framed format (which can be set by using the undo t1 unframed command).

Related commands: t1 unframed.

Examples

# Set the framing format to SF for the first T1 line on interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 set frame-format sf

t1 set loopback

Syntax

t1 line-number set loopback { local | remote | payload }

undo t1 line-number set loopback

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number in the range 1 to 28.

local: Sets the T1 line in internal loopback mode.

remote: Sets the T1 line in external loopback mode.

remote: Sets the T1 line in payload loopback mode.

Description

Use the t1 set loopback command to set the loopback mode of a T1 line on the T3 interface.

Use the undo t1 set loopback command to disable the T1 line to loop back.

By default, loopback is disabled on T1 lines.

Loopback is intended for test use. Disable it otherwise.

If a T1 line encapsulated with PPP is placed in loopback mode, it is normal that the state of the link layer protocol is reported down.

Examples

# Enable internal loopback on the first T1 line on interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 set loopback local

t1 set fdl

Syntax

t1 line-number set fdl { ansi | att | both | none}

undo t1 line-number set fdl

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number, in the range 1 to 28.

fdl: Sets the FDL format of T1.

ansi: Adopts ANSI T1.403 for FDL.

att: Adopts AT&T TR 54016 for FDL.

both: Adopts both ANSI T1.403 and AT&T TR 54016 for FDL.

none: Disables the use of FDL on the T1 line.

Description

Use the t1 set fdl command to set the behavior of the specified T1 line on the FDL in ESF framing.

Use the undo t1 set fdl command to disable FDL of T1.

By default, FDL is disabled.

FDL is an embedded 4 kbps overhead channel within the ESF format for transmitting periodical performance report (PPR) statistics or loopback code.

According to ANSI T1.403, the format of PPR is LAPD, and the format of loopback code is BOP.

The t1 set fdl command only starts PPR transmission. It cannot enable loopback code transmission or detection.

These two commands only apply to channelized T1 lines with their T1 frame format being ESF.

Examples

# Set the FDL to be ANSI T1.403 compliant for T1 line 1 on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 set fdl ansi

t1 show

Syntax

t1 line-number show

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number, in the range 1 to 28.

show: Displays the physical line state of the specified T1 line.

Description

Use the t1 show command to have a quick look at the line state of the specified T1 line on the CT3 interface.

Examples

# Display line state of T1 line 1 on CT3 interface T3 2/0.

<Sysname> system-view

[Sysname] interface t3 2/0

[Sysname-T3 2/0] t1 1 show

T3 2/0  CT1 1 is up

  Frame-format ESF, clock slave, loopback not set

  FDL Performance Report is disabled

  Transmitter is sending none

  Receiver alarm state is none

  Line loop back deactivate code using inband signal last sent

  BERT state:(stopped, not completed)

    Test pattern: 2^11, Status: Not Sync, Sync Detected: 0

    Time: 0 minute(s), Time past: 0 minute(s)

    Bit errors (since test started): 0 bits

    Bits received (since test started): 0 Kbits

    Bit errors (since latest sync): 0 bits

    Bits received (since latest sync): 0 Kbits

Table 1-7 t1 show command output description

Field

Description

T3 2/0  CT1 1 is up

The state of T1 line 1 on the CT3 interface: up or down

Frame-format ESF

Framing format of T1: ESF or SF

clock slave

Clock source used by the T1 line: slave for the line clock or master for the internal clock

loopback not set

Loopback state or mode: local, remote, payload, or not set.

FDL Performance Report is disabled

Transmission of PPR in the FDL is disabled. You may enable that with the t1 set fdl ansi command.

Transmitter is sending RAI

The transmitter of the T1 line is sending RAI signals. When the T1 line receives LOS, LOF, or AIS signals, it sends RAI signals.

Receiver alarm state

The type of alarm signal that the T1 line can receive: LOS, LOF, AIS, or RAI.

Line loop back activate code using inband signal last sent

The loopback code sent last time is in-band LLB activation request code.

BERT state

BERT test state: running, complete, or stopped (not completed)

Test pattern

Status

Sync Detected

Test pattern in use, 2^11 in this example; synchronization state, and the number of detected synchronizations

Time

Time past

The duration of the BERT test and the time that has elapsed

Bit errors (since test started)

Number of bit errors received since the start of the BERT test

Bits received (since test started)

Number of bits received since the start of the BERT test

Bit errors (since latest sync)

Number of bit errors received since the last synchronization

Bits received (since latest sync)

Number of bits received since the last synchronization

 

t1 shutdown

Syntax

t1 line-number shutdown

undo t1 line-number shutdown

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number in the range 1 to 28.

Description

Use the t1 shutdown command to shut down a T1 line on the CT3 interface.

Use the undo t1 shutdown command to bring up a T1 line.

By default, T1 lines are up.

This command shuts down not only the specified T1 line but also the serial interfaces formed on it. Data transmission and receiving will stop as a result. Likewise, the undo t1 shutdown command can bring up all these serial interfaces.

Examples

# Shut down the first T1 line on interface T3 2/0.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 shutdown

t1 unframed

Syntax

t1 line-number unframed

undo t1 line-number unframed

View

CT3 interface view

Default Level

2: System level

Parameters

line-number: T1 line number in the range 1 to 28.

Description

Use the t1 unframed command to set a T1 line on the CT3 interface to work in unframed mode (T1 mode).

Use the undo t1 unframed command to set the T1 line on the CT3 interface to work in framed mode (CT1 mode).

By default, T1 lines are working in framed mode.

A T1 line in unframed mode does not contain the frame control information; it cannot be divided into timeslots. For it, the system automatically creates a serial interface numbered serial number/line-number:0. This interface operates at 1544 kbps and is logically equivalent to a synchronous serial interface on which you can make other configurations.

Related commands: t1 channel-set.

Examples

# Set the first T1 line on interface T3 2/0 to work in unframed mode.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] t1 1 unframed

using (CT3 interface)

Syntax

using { ct3 | t3 }

View

CT3 interface view

Default Level

2: System level

Parameters

ct3: Sets the CT3 interface to operate in channelized mode.

t3: Sets the CT3 interface to operate in unchannelized mode.

Description

Use the using command to configure the operating mode of a CT3 interface.

Use the undo using command to restore the default, that is, channelized mode.

You can configure T1 lines on CT3 interfaces operating in channelized mode only.

When a CT3 interface operates in unchannelized mode, the system automatically creates a serial interface numbered serial number/0:0 for it. This interface operates at 44.736 Mbps and is logically equivalent to a synchronous serial interface on which you can make other configurations.

Examples

# Configure interface T3 2/0 to operate in unchannelized mode.

<Sysname> system-view

[Sysname] controller t3 2/0

[Sysname-T3 2/0] using t3

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网