03-Interface Command Reference

HomeSupportRoutersCR16000-F SeriesReference GuidesCommand ReferencesH3C CR16000-F Routers Command Reference-R838x-6W10103-Interface Command Reference
06-ATM interface commands
Title Size Download
06-ATM interface commands 204.28 KB

ATM interface commands

Common ATM interface commands

alarm-detect

Use alarm-detect to configure the action to take when an RDI, SD, or SF alarm occurs on an interface.

Use undo alarm-detect to restore the default.

Syntax

alarm-detect { rdi | sd | sf } action link-down

undo alarm-detect { rdi | sd | sf }

Default

The device does not take any actions on the interface when an alarm occurs.

Views

ATM interface view

Predefined user roles

network-admin

Parameters

rdi: Specifies remote defect indication (RDI) alarms.

sd: Specifies signal degrade (SD) alarms.

sf: Specifies signal fail (SF) alarms.

action: Specifies the action to take when the specified alarm is detected on the interface.

link-down: Shuts down the interface.

Usage guidelines

When the device receives multiplexer section remote defect indication (MS-RDI) signals from the remote end, an RDI alarm occurs.

When the bit error rate of incoming packets reaches the SD or SF alarm threshold, an SD or SF alarm occurs.

Examples

# Shut down ATM 3/2/1 when an SD alarm occurs on it.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] alarm-detect sd action link-down

bandwidth

Use bandwidth to configure the expected bandwidth for an interface.

Use undo bandwidth to restore the default.

Syntax

bandwidth bandwidth-value

undo bandwidth

Default

The expected bandwidth (in kbps) is the interface baud rate divided by 1000.

Views

ATM interface view

Predefined user roles

network-admin

Parameters

bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.

Usage guidelines

The expected bandwidth is an informational parameter used only by higher-layer protocols for calculation. You cannot adjust the actual bandwidth of an interface by using this command.

Examples

# Set the expected bandwidth of ATM 3/2/1 to 50 kbps.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] bandwidth 50

default

Use default to restore the default settings for an interface.

Syntax

default

Views

ATM interface view

ATM subinterface view

Predefined user roles

network-admin

Usage guidelines

CAUTION

CAUTION:

The default command might interrupt ongoing network services. Make sure you are fully aware of the impact of this command when you use it on a live network.

This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. You can use the display this command in interface view to check for these commands, and use their undo forms or follow the command reference to restore their respective default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.

Examples

# Restore the default settings of ATM 3/2/1.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] default

description

Use description to configure the description of an interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The description of an interface is interface name Interface, for example, ATM 3/2/1 Interface.

Views

ATM interface view

ATM subinterface view

Predefined user roles

network-admin

Parameters

text: Specifies the description, a case-sensitive string of 1 to 255 characters.

Examples

# Configure the description of ATM 3/2/1 as atmswitch-interface.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] description atmswitch-interface

display counters

Use display counters to display ATM interface traffic statistics.

Syntax

display counters { inbound | outbound } interface [ atm [ interface-number ] ] [ description ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

inbound: Displays inbound traffic statistics.

outbound: Displays outbound traffic statistics.

atm [ interface-number ]: Specifies an ATM interface by its number. If you do not specify the atm keyword, this command displays traffic statistics for all interfaces that have traffic counters. If you specify the atm keyword but do not specify the interface-number argument, this command displays traffic statistics for all ATM interfaces.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.

Examples

# Display inbound traffic statistics for ATM 3/2/1.

<Sysname> display counters inbound interface atm 3/2/1

Interface         Total (pkts)   Broadcast (pkts)   Multicast (pkts)  Err (pkts)

 Description

ATM3/2/1                   100                  0                100           0

 

 Overflow: More than 14 digits (7 digits for column "Err").

       --: Not supported.

Table 1 Command output

Field

Description

Interface

Abbreviated interface name.

Total (pkts)

Total number of packets that the interface receives or sends.

Broadcast (pkts)

Total number of broadcast packets that the interface receives or sends.

Multicast (pkts)

Total number of multicast packets that the interface receives or sends.

Err (pkts)

Total number of error packets that the interface receives or sends.

Description

Description of the interface.

Overflow: More than 14 digits (7 digits for column "Err")

The field displays Overflow when one of the following conditions exist:

·     The data length of an Err field value is greater than 7 decimal digits.

·     The data length of a non-Err field value is greater than 14 decimal digits.

--: Not supported.

The statistical item is not supported.

Related commands

reset counters interface

display counters rate

Use display counters rate to display traffic rate statistics for interfaces in up state over the most recent statistics interval.

Syntax

display counters rate { inbound | outbound } interface [ atm [ interface-number ] ] [ description ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

inbound: Displays inbound traffic rate statistics.

outbound: Displays outbound traffic rate statistics.

atm [ interface-number ]: Specifies an ATM interface by its number. If you do not specify the atm keyword, this command displays traffic rate statistics for all up interfaces in the most recent statistics interval. If you specify the atm keyword but do not specify the interface-number argument, this command displays traffic rate statistics for all up ATM interfaces in the most recent statistics interval.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.

Usage guidelines

You can use the flow-interval command to set the statistics interval.

Examples

# Display the inbound traffic rate statistics for ATM 3/2/1.

<Sysname> display counters rate inbound interface atm 3/2/1

Usage: Bandwidth utilization in percentage

Interface            Usage (%)   Total (pps)   Broadcast (pps)   Multicast (pps)

 Description

ATM3/2/1                    3           200               100               100

 

 Overflow: More than 14 digits.

       --: Not supported.

Table 2 Command output

Field

Description

Interface

Abbreviated interface name.

Usage (%)

Interface bandwidth usage (in percentage) for the most recent statistics interval.

Total (pps)

Average receiving or sending rate (in pps) for all packets for the most recent statistics interval.

Broadcast (pps)

Average receiving or sending rate (in pps) for broadcast packets for the most recent statistics interval.

Multicast (pps)

Average receiving or sending rate (in pps) for multicast packets for the most recent statistics interval.

Description

Description of the interface.

Overflow: More than 14 digits.

Indicates that the data length of a statistical item is greater than 14 decimal digits.

--: Not supported.

The statistical item is not supported.

Related commands

reset counters interface

display interface atm

Use display interface atm to display information about ATM interfaces.

Syntax

display interface [ atm [ interface-number ] ] [ brief [ description | down ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

atm [ interface-number ]: Specifies an ATM interface by its number. If you do not specify the atm keyword, this command displays information about all interfaces. If you specify the atm keyword but do not specify the interface-number argument, this command displays information about all ATM interfaces.

brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.

down: Displays information about interfaces in physically DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states.

Examples

# Display detailed information about ATM 3/2/1.

<Sysname> display interface atm 3/2/1

ATM3/2/1

Interface index: 2

Current state: UP

Line protocol state: UP

Description: atmswitch-interface

Bandwidth: 100 kbps

Maximum transmission unit: 1500

Internet protocol processing: Disabled

AAL enabled: AAL5

Current VCs: 0 (0 on main interface)

Port connector type is No connector

Last link flapping: 0 hours 4 minutes 8 seconds

Last clearing of counters: Never

Current system time:2017-12-28 15:50:34

Last time when physical state changed to up:2017-12-28 15:46:27

Last time when physical state changed to down:2017-12-28 10:37:49

Physical layer is packet over SDH

Port speed type: STM-4

Loopback is local

Clock source: Slave

Clock grade: Quality unknown(existing synchronization network)

SPE scrambling: Enable

BER thresholds:

    SD: 10e-6    SF: 10e-3

Regenerator section layer:

    J0(TX): "CR16000"

            43 52 31 36 30 30 30 00 00 00 00 00 00 00 00 00

    J0(RX): ""

            00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    Alarm: LOF OOF TIM

    Error: 0 BIP(B1)

Multiplex section layer:

    Alarm: AIS

    Error: 0 BIP(B2), 0 REI(M1)

Higher order path layer:

    C2(TX): 0x13    C2(RX): 0xff

    J1(TX): "CR16000"

            43 52 31 36 30 30 30 00 00 00 00 00 00 00 00 00

    J1(RX): ""

            00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    Alarm: AIS RDI SLM

    Error: 0 BIP(B3), 0 REI(G1)

           0 PJE, 0 NJE

Port statistic:start time: 2017-12-28 10:37:59

UP time: 0 H 0 M 0 S

Section: ES        0   SES        0   SEFS        0

Line   : ES        0   SES        0   UAS         0   FE-ES        0

Last 300 seconds input: 0 packets/s, 0 bytes/s

Last 300 seconds output: 0 packets/s, 0 bytes/s

Input : 0 packets, 0 bytes, 0 buffers

        0 errors, 0 crcs, 0 lens, 0 giants,

        0 pads, 0 aborts, 0 timeouts,

        0 overflows, 0 overruns, 0 no buffer

Output: 0 packets, 0 bytes, 0 buffers

        0 errors, 0 overflows, 0 underruns

Peak value of input: 0 bytes/sec, at 2017-12-28 10:37:59

Peak value of output: 0 bytes/sec, at 2017-12-28 10:37:59

# Display brief information about ATM 3/2/1.

<Sysname> display interface atm 3/2/1 brief

Brief information on interfaces in route mode:

Link: ADM - administratively down; Stby - standby

Protocol: (s) - spoofing

Interface                         Link Protocol Primary IP         Description

ATM3/2/1                          UP   UP(s)    --

# Display brief information, including the causes, for all ATM interfaces in physically DOWN state.

<Sysname> display interface atm brief down

Brief information on interfaces in route mode:

Link: ADM - administratively down; Stby - standby

Interface                         Link Cause

ATM3/2/1                          DOWN Not connected

Table 3 Command output

Field

Description

Current state

Physical link state of the interface:

·     Administratively DOWN—The interface has been shut down by using the shutdown command.

·     DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed).

·     UP—The interface is both administratively and physically up.

Line protocol state

Data link layer state of the interface. The state is determined through automatic parameter negotiation at the data link layer.

·     UP—The data link layer protocol is up.

·     DOWN—The data link layer protocol is down.

Description

Description of the interface.

Bandwidth

Expected bandwidth of the interface.

Maximum transmission unit

MTU of the interface.

Internet protocol processing: Disabled

The interface is not assigned an IP address and cannot process IP packets.

Internet address: ip-address/mask-length (Type)

IP address of the interface and type of the address in parentheses.

Possible IP address types include:

·     Primary—Manually configured primary IP address.

·     Sub—Manually configured secondary IP address. If the interface has both primary and secondary IP addresses, the primary IP address is displayed. If the interface has only secondary IP addresses, the lowest secondary IP address is displayed.

·     DHCP-allocated—DHCP allocated IP address. For more information, see DHCP client configuration in Layer 3IP Services Configuration Guide.

·     BOOTP-allocatedBOOTP allocated IP address. For more information, see BOOTP client configuration in Layer 3IP Services Configuration Guide.

·     PPP-negotiated—IP address assigned by a PPP server during PPP negotiation. For more information, see PPP configuration in BRAS Services Configuration Guide.

·     Unnumbered—IP address borrowed from another interface.

·     MAD—IP address assigned to an IRF member device for MAD on the interface. For more information, see IRF configuration in Virtual Technologies Configuration Guide.

·     MTunnel—IP address of the multicast tunnel interface (MTI), which is the same as the IP address of the MVPN source interface. For more information, see multicast VPN configuration in IP Multicast Configuration Guide.

AAL enabled

AAL type enabled on the interface. The ATM interface supports only ATM Adaptation Layer 5 (AAL5).

Current VCs: 0 (0 on main interface)

Number of virtual circuits configured on the interface. Contents in the parentheses indicate the number of virtual circuits configured on the primary interface.

Port connector type

Type of the transceiver module on the interface.

Last link flapping

The amount of time that has elapsed since the most recent physical state change of the interface. This field displays Never if the interface has been physically down since device startup.

Last clearing of counters

Time when the reset counters interface command was last used to clear the interface statistics. This field displays Never if the reset counters interface command has never been used on the interface since device startup.

Current system time

Current system time in the YYYY-MM-DD HH:MM:SS format. If the time zone is configured, this field is in the YYYY-MM-DD HH:MM:SS UTC±HH:MM:SS format.

Last time when physical state changed to up

Last time when physical state of the interface changed to up.

A hyphen (-) indicates that the physical state of the interface has not changed to up.

Last time when physical state changed to down

Last time when physical state of the interface changed to down.

A hyphen (-) indicates that the physical state of the interface has not changed to down.

Physical layer

Physical layer status.

Port speed type

Interface transmission rate.

Loopback

Loopback mode of the interface:

·     cell—Internal cell loopback.

·     local—Internal loopback.

·     remote—External line loopback.

Clock source

Clock mode of the interface: master or slave.

Clock grade

Clock grade of the interface:

·     PRC (G.811)—Primary reference clock (G.811 clock signal).

·     TNC (G.812 SSU-A)—Transit node clock (G.812 transit node clock signal).

·     LNC (G.812 SSU-B)—Local node clock (G.812 local node clock signal).

·     SETS (Synchronous Equipment Timing Source)—Device clock (SDH device clock source signal).

·     DNU (Do not use for synchronization)—The signal cannot be used for synchronization.

·     Quality unknown (existing synchronization network)—The synchronization quality is unknown.

SPE scrambling

Scrambling state of the interface.

BER thresholds

SD threshold and SF threshold of the interface.

Regenerator section layer

Regenerator section statistics:

·     J0(TX)—Transmitted J0 trace message value.

·     J0(RX)—Received J0 trace message value.

·     Alarm—Alarm statistics.

·     Error—Error statistics.

Multiplex section layer

Alarm and error statistics for the multiplex section.

Higher order path layer

Higher-order path statistics:

·     C2(TX)—Transmitted C2 bytes.

·     C2(RX)—Received C2 bytes.

·     J1(TX)—Transmitted J1 trace message value.

·     J1(RX)—Received J1 trace message value.

·     Alarm—Alarm statistics.

·     Error—Error statistics.

Port statistic:start time

Starting time for interface statistics.

UP time

Time when the interface was brought up.

Section

Alarm seconds for the regenerator section:

·     Error Seconds (ES)—Minor error alarm seconds.

·     Serious Error Seconds (SES)—Sever error alarm seconds.

·     Serious Error Frame Seconds (SEFS)—Sever frame error alarm seconds.

Line

Alarm seconds for the multiplex section:

·     Error Seconds (ES)—Minor error alarm seconds.

·     Serious Error Seconds (SES)—Sever error alarm seconds.

·     Unavailable Seconds (UAS)—Unavailable alarm seconds. This field value starts to count after 10 seconds of continuous SES.

·     FE-ES—Alarm seconds for remote errors. This field value starts to count when the peer end sends an REI RDI alarm.

Last 300 seconds input: 0 packets/s, 0 bytes/s

Average input rates (in pps and Bps) for the last 300 seconds.

Last 300 seconds output: 0 packets/s, 0 bytes/s

Average output rates (in pps and Bps) for the last 300 seconds.

Input:

  0 packets, 0 bytes, 0 buffers

  0 errors, 0 crcs, 0 lens, 0 giants

  0 pads, 0 aborts, 0 timeouts

  0 overflows, 0 overruns, 0 no buffer

Packet input parameters:

·     packets—Number of total packets received.

·     bytes—Number of total bytes received.

·     buffers—Number of buffers used to receive packets.

·     errors—Number of error packets detected in the physical layer.

·     crcs—Number of CRC errors.

·     lens—Number of packets received in invalid lengths.

·     giants—Number of packets received in lengths exceeding the set value.

·     pads—Number of errors occurred in the packet padding process.

·     aborts—Number of anomalous errors.

·     timeouts—Number of timeout packets.

·     overflows—Number of chip FIFO overflow errors occurred in the receiving process.

·     overruns—Number of packets unprocessed due to high receiving rates exceeding the forwarding rate.

·     no buffer—Number of errors caused by insufficient system resources.

Output:

  0 packets, 0 bytes, 0 buffers

  0 errors, 0 overflows, 0 underruns

Packet output parameters:

·     packets—Number of total packets transmitted.

·     bytes—Number of total bytes transmitted.

·     buffers—Number of buffers used to transmit packets.

·     errors—Number of error packets detected in the physical layer.

·     overflows—Number of chip FIFO overflow errors occurred in the transmitting process.

·     underruns—Number of packets untransmitted because the interface reading rate was lower than the forwarding rate.

Peak value of input

Peak value of input packets.

Peak value of output

Peak value of output packets.

Brief information on interfaces in route mode

Brief information about Layer 3 interfaces.

Link

Physical link state of the interface:

·     UP—The interface is physically up.

·     DOWN—The interface is physically down.

·     ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

·     Stby—The interface is a backup interface in standby state.

Protocol

Data link layer protocol state of the interface:

·     UP—The data link layer protocol of the interface is up.

·     DOWN—The data link layer protocol of the interface is down.

·     UP(s)—The data link layer protocol of the interface is up, but the link is an on-demand link or does not exist. The (s) attribute represents the spoofing flag.

Primary IP

Primary IP address of the interface. This field displays two hyphens (--) if the interface does not have an IP address.

Description

Description of the interface.

Cause

Cause for the physical link state of an interface to be DOWN:

·     Administratively—The interface has been manually shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

·     Not connected—No physical connection exists (possibly because the network cable is disconnected or faulty).

display interface phy-option

Use display interface phy-option to display the physical attributes of an interface.

Syntax

display interface [ interface-type [ interface-number ] ] phy-option

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

Usage guidelines

If you do not specify an interface type, this command displays information about all interfaces.

If you specify an interface type but do not specify an interface number, this command displays information about all interfaces of the specified type.

Examples

# Display the physical attributes of ATM interface ATM 2/2/1.

<Sysname> display interface ATM 2/2/1 phy-option

ATM2/2/1

Interface index: 2

Current state: UP

Transceiver information:

  Transceiver Type: 1000_BASE_SX_SFP

  Wavelength(nm): 850

  Transfer Distance(m): 100

  Digital Diagnostic Monitoring : YES

  Vendor Name : H3C

  RX power: -3564dBm/100, Alarm thresholds:[-30, -10]uw/10

  TX power: -519dBm/100, Alarm thresholds:[0, 5]uw/10

Table 4 Command output

Field

Description

Current state

Physical link state of the interface:

·     Administratively DOWN—The interface has been shut down by using the shutdown command.

·     DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed).

·     UP—The interface is both administratively and physically up.

Transceiver information

Transceiver module information.

Transceiver Type

Physical model of the transceiver module.

Wavelength(nm)

Central wavelength (in nm) of the transmit laser. If the transceiver module supports multiple wavelengths, every two wavelength values are separated by a comma.

For a copper cable, this field displays N/A.

Transfer Distance(xx)

Transmission distance, where xx indicates the distance unit:

·     km—Kilometers, for single-mode transceiver modules.

·     m—Meters, for other transceiver modules.

If the transceiver module supports multiple types of transmission media, this field displays the transmission distance for each type, in the form of transmission distance (medium type).

Transmission medium types include:

·     9 um—9/125 µm single-mode fiber.

·     50 um—50/125 µm multimode fiber.

·     62.5 um—62.5/125 µm multimode fiber.

·     TP—Twisted pair.

·     CX4—CX4 cable.

Digital Diagnostic Monitoring

Support for digital diagnostic monitoring:

·     YES.

·     NO.

Vendor Name

Manufacturer or custom vendor of the transceiver module.

RX power(dBm/100)

Rx power in dBm/100.

TX power(dBm/100)

Tx power in dBm/100.

Alarm thresholds

Alarm thresholds for the Rx or Tx power.

Related commands

display interface atm

display this interface

Use display this interface to display the operating status and information of an interface.

Syntax

display this interface

Views

Interface view

Predefined user roles

network-admin

Usage guidelines

In interface view, to quickly view the operating status or packet statistics of the interface, execute this command.

For an interface, the output from the display this interface command in interface view is the same as the output from the display interface interface-type interface-number command in any view.

Related commands

display interface atm

interface atm

Use interface atm to create an ATM subinterface and enter its view, or enter the view of an existing ATM interface or ATM subinterface.

Use undo interface atm to remove an ATM subinterface.

Syntax

interface atm { interface-number | interface-number.subnumber [ p2mp | p2p ] }

undo interface atm interface-number.subnumber

Default

No ATM subinterfaces exist.

Views

System view

Predefined user roles

network-admin

Parameters

interface-number: Specifies an ATM interface by its number.

interface-number.subnumber: Specifies an ATM subinterface by its number. The interface-number argument represents the number of the ATM interface. The subnumber argument represents the number of the subinterface, in the range of 0 to 1023.

p2mp: Specifies a point-to-multipoint subinterface. A subinterface is P2MP type by default.

p2p: Specifies a point-to-point subinterface.

Examples

# Enter ATM 3/2/1 interface view.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1]

# Create ATM subinterface ATM 3/2/1.1 and enter its view.

<Sysname> system-view

[Sysname] interface atm3/2/1.1

[Sysname-ATM3/2/1.1]

mtu

Use mtu to set the MTU value for an interface.

Use undo mtu to restore the default.

Syntax

mtu size

undo mtu

Default

The MTU of an interface is 1500 bytes.

Views

ATM interface view

ATM subinterface view

Predefined user roles

network-admin

Parameters

size: Specifies the maximum transmission unit (MTU) in bytes. The value range for this argument varies by card model.

Usage guidelines

The MTU setting affects IP packet reassembly and fragmentation on the interface.

The outgoing interface uses the MTU of 1280 bytes if its MTU is smaller than 1280 bytes and the incoming interface is on the specified cards. As a best practice, set the MTU of the outgoing interface to a value greater than 1280 bytes when the device is installed with the cards mentioned above.

Examples

# Set the MTU of ATM 3/2/1 to 200 bytes.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] mtu 200

reset counters interface

Use reset counters interface to clear the statistics for an ATM interface.

Syntax

reset counters interface [ atm [ interface-number ] ]

Views

User view

Predefined user roles

network-admin

Parameters

atm [ interface-number ]: Specifies an ATM interface by its number. If you do not specify the atm keyword, this command clears statistics for all interfaces. If you specify the atm keyword but do not specify the interface-number argument, this command clears statistics for all ATM interfaces.

Usage guidelines

Use this command to clear history statistics before you collect traffic statistics for a time period.

Examples

# Clear statistics for ATM 3/2/1.

<Sysname> reset counters interface atm 3/2/1

shutdown

Use shutdown to shut down an ATM interface.

Use undo shutdown to bring up an ATM interface.

Syntax

shutdown

undo shutdown

Default

An ATM interface is up.

Views

ATM interface view

ATM subinterface view

Predefined user roles

network-admin

Examples

# Shut down ATM 3/2/1.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] shutdown

ATM OC-3c/STM-1 and ATM OC-12c/STM-4 interface commands

clock

Use clock to set the clock mode for an ATM interface.

Use undo clock to restore the default.

Syntax

clock { master | slave }

undo clock

Default

The clock mode for an ATM interface is slave.

Views

ATM OC-3c/STM-1 interface view

ATM OC-12c/STM-4 interface view

Predefined user roles

network-admin

Parameters

master: Specifies the internal clock as the clock source.

slave: Specifies the line clock as the clock source.

Usage guidelines

The clock of the SONET/SDH network is more precise than the internal clock of ATM interfaces. When an ATM interface is connected to a SONET/SDH device, set the clock mode of the ATM interface to slave.

When the ATM interfaces on two devices are connected directly through a fiber-optic cable, set the clock mode to master at one end and to slave at the other end.

Examples

# Set the clock mode of ATM 3/2/1 to master.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] clock master

flag

Use flag to set a SONET/SDH overhead byte.

Use undo flag to restore the default of the specified SONET/SDH overhead byte.

Syntax

flag c2 flag-value

undo flag c2

flag { j0 | j1 } { sdh | sonet } flag-value

undo flag { j0 | j1 } { sdh | sonet }

Default

The value of c2 is 13 (hexadecimal).

The system uses the SDH frame format. The J0 and J1 bytes are CR16000 for SDH.

Views

ATM OC-3c/STM-1 interface view

ATM OC-12c/STM-4 interface view

Predefined user roles

network-admin

Parameters

c2 flag-value: Specifies the C2 byte. The C2 byte is a higher-order path overhead byte used to indicate the multiplex structure of virtual container (VC) frames and property of payload. It is a hexadecimal number in the range of 0 to ff.

j0 flag-value: Specifies the J0 byte. The J0 byte is a section overhead byte used to test continuity of the connection between two interfaces at the section level. If the sdh keyword is configured, the flag-value argument is a string of 1 to 15 hexadecimal digits. If the sonet keyword is configured, the argument is a hexadecimal number in the range of 0 to ff.

j1 flag-value: Specifies the J1 byte. The J1 byte is a higher-order path overhead byte used to test continuity of the connection between two interfaces at the path level. If the sdh keyword is configured, the flag-value argument is a string of 1 to 15 hexadecimal digits. If the sonet keyword is configured, the argument is a string of 1 to 62 characters.

sdh: Sets frame format to Synchronous Digital Hierarchy (SDH).

sonet: Sets frame format to Synchronous Optical Network (SONET).

Usage guidelines

When the C2 byte of one end is set to 1, the C2 byte of the other end can be set to any character in hexadecimal notation. If the C2 byte of either ends of a link is not set to 1, the C2 byte must be the same at both ends.

The J1 settings on the sending and receiving ends must be the same.

The J0 byte can be any character in the network of the same carrier. On networks of two carriers, the sending and receiving devices at network borders must use the same J0 byte.

Examples

# Set the SDH overhead byte J0 of ATM 3/2/1 to ff (hexadecimal).

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] flag j0 sdh ff

frame-format

Use frame-format to set the frame format of an ATM interface.

Use undo frame-format to restore the default.

Syntax

frame-format { sdh | sonet }

undo frame-format

Default

The frame format of an ATM interface is SDH.

Views

ATM OC-3c/STM-1 interface view

ATM OC-12c/STM-4 interface view

Predefined user roles

network-admin

Parameters

sdh: Sets the frame format to SDH.

sonnet: Sets the frame format to SONET.

Usage guidelines

The overhead bytes configured with the flag command must match the frame format.

Examples

# Set the frame format on ATM 3/2/1 to SDH.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] frame-format sdh

Related commands

flag

link-delay

Use link-delay to set the physical state change suppression interval on an ATM interface.

Use undo link-delay to restore the default.

Syntax

link-delay seconds

undo link-delay

Default

The physical state change suppression interval is one second on an ATM interface.

Views

ATM OC-3c/STM-1 interface view

ATM OC-12c/STM-4 interface view

Predefined user roles

network-admin

Parameters

seconds: Specifies a physical state change suppression interval in seconds. The value range for this argument is 0 to 1200.

Usage guidelines

When the physical state changes, an ATM interface reports the event to the upper-layer modules, and generates log and SNMP notification messages. To reduce system overhead caused by frequent physical state changes, use this command to suppress physical state changes within an interval. The interface will ignore any changes that occur during each suppression interval. When the suppression interval expires, the interface will not report the change event or generate messages if the change is removed.

For example, the suppression interval starts when the interface changes from up to down. The interface reports the change event and generates messages if it is still down when the interval expires. The interface does not report the change event or generate messages if it is up when the interval expires.

Examples

# Set the physical state change suppression interval to 20 seconds on ATM 3/2/1.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] link-delay 20

loopback

Use loopback to enable loopback and set the loopback mode on an ATM interface.

Use undo loopback to disable loopback on an ATM interface.

Syntax

loopback { cell | local | remote }

undo loopback

Default

Loopback is disabled on an ATM interface.

Views

ATM OC-3c/STM-1 interface view

ATM OC-12c/STM-4 interface view

Predefined user roles

network-admin

Parameters

cell: Enables internal cell loopback to check physical chips on the local end.

local: Enables internal loopback to check service chips on the local end.

remote: Enables external line loopback to check the remote end.

Usage guidelines

Loopback is intended for testing only. Disable loopback when the interface is operating correctly.

Examples

# Enable internal loopback on ATM 3/2/1.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] loopback local

scramble

Use scramble to enable payload scrambling on an ATM interface.

Use undo scramble to disable payload scrambling on an ATM interface.

Syntax

scramble

undo scramble

Default

Payload scrambling is enabled on an ATM interface.

Views

ATM OC-3c/STM-1 interface view

ATM OC-12c/STM-4 interface view

Predefined user roles

network-admin

Usage guidelines

Payload scrambling enables an interface to scramble outgoing data and descramble incoming data. By preventing the presence of long strings of all 1s or all 0s, payload scrambling enables the receiving end to extract the line clock signal correctly.

If payload scrambling is disabled, the interface does not scramble outgoing data or descramble incoming data.

The payload scrambling setting must be the same at both ends of a link.

For H3C devices, changing the payload scrambling setting does not affect cell headers. After you change the payload scrambling settings on both ends of a link, verify that the C2 byte value on them match each other. If the two values do not match, use the flag c2 command to modify the C2 byte value on the H3C device.

Examples

# Enable payload scrambling on ATM 3/2/1.

<Sysname> system-view

[Sysname] interface atm 3/2/1

[Sysname-ATM3/2/1] scramble

 

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网