- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
03-WAN interface commands | 133.65 KB |
WAN interface commands
Common WAN interface commands
default
Use default to restore the default settings for an interface.
Syntax
default
Views
Serial interface view
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
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 Serial 1/2/2/1:1.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1: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 interface description uses the interface name Interface format, for example, Serial1/2/2/1:1 Interface.
Views
Serial interface view
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Parameters
text: Specifies the description, a case-sensitive string of 1 to 255 characters.
Examples
# Configure the description of Serial 1/2/2/1:1 as router-interface.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] description router-interface
shutdown
Use shutdown to shut down an interface.
Use undo shutdown to restore the default.
Syntax
shutdown
undo shutdown
Default
A WAN interface is up.
Views
Serial interface view
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Examples
# Shut down Serial 1/2/2/1:1.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] shutdown
Serial interface commands
bandwidth
Use bandwidth to set the expected bandwidth of 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
Serial interface view
Predefined user roles
network-admin
mdc-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 Serial 1/2/2/1:1 to 50 kbps.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] bandwidth 50
crc
Use crc to set the CRC mode for a synchronous serial interface.
Use undo crc to restore the default.
Syntax
crc { 16 | 32 | none }
undo crc
Default
16-bit CRC is used.
Views
Synchronous serial interface view
Predefined user roles
network-admin
mdc-admin
Parameters
16: Specifies 16-bit CRC.
32: Specifies 32-bit CRC.
none: Disables CRC.
Examples
# Configure Serial 1/2/2/1:1 to use 32-bit CRC.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] crc 32
display interface serial
Use display interface serial to display information about serial interfaces.
Syntax
display interface [ serial [ interface-number ] ] [ brief [ description | down ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
serial [ interface-number ]: Specifies a serial interface by its number. If you do not specify the serial keyword, this command displays information about all interfaces except VA interfaces. If you specify the serial keyword without specifying an interface, this command displays information about all serial 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 physically down interfaces and their down causes. If you do not specify this keyword, the command displays information about interfaces in all states.
Examples
# Display detailed information about Serial 1/2/2/1:1.
<Sysname> display interface serial 1/2/2/1:1
Serial1/2/2/1:1
Current state: UP
Line protocol state: UP
Description: Serial1/2/2/1:1 Interface
Bandwidth: 64kbps
Maximum transmission unit: 1500
Hold timer: 10 seconds, retry times: 5
Internet Address: 9.9.9.6/24 Primary
Link layer protocol: PPP
LCP: 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
Last link flapping: 6 hours 39 minutes 25 seconds
Last clearing of counters: Never
Physical layer: synchronous, Baudrate: 64000 bps
Interface: DCE
Cable type: V35
Clock mode: DCECLK1
Last 300 seconds input rate: 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec
Last 300 seconds output rate: 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec
Input:
6668 packets, 80414 bytes
0 broadcasts, 0 multicasts
0 errors, 0 runts, 0 giants
0 crc, 0 align errors, 0 overruns
0 frame errors
0 aborts, 0 no buffers
Output:
6670 packets, 80446 bytes
0 errors, 0 underruns, 0 collisions
0 deferred
DCD: UP, DTR: UP, DSR: UP, RTS: UP, CTS: UP
# Display brief information about Serial 1/2/2/1:1.
<Sysname> display interface serial 1/2/2/1:1 brief
Brief information on interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
Ser1/2/2/1:1 UP UP(s) --
# Display brief information about all serial interfaces in down state and the causes.
<Sysname> display interface serial brief down
Brief information on interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
Ser1/2/2/1:1 ADM Administratively
Table 1 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. |
Hold timer |
Interval at which the interface sends keepalive packets. |
retry times |
Keepalive retry limit. The interface determines that the remote end is down if it does not receive a keepalive response after the keepalive retry limit has been made. |
Internet protocol processing: Disabled |
The interface is not assigned an IP address and cannot process IP packets. |
Internet Address |
IP address of the interface. The primary attribute indicates that the address is the primary IP address. |
Link layer protocol |
Link layer protocol of the interface. |
LCP: opened |
A PPP connection is established successfully. |
Output queue - Urgent queuing: Size/Length/Discards Output queue - Protocol queuing: Size/Length/Discards Output queue - FIFO queuing: Size/Length/Discards |
Information about the urgent, protocol, and FIFO output queues: · Size—Number of packets in the queue. · Length—Maximum number of packets that the queue can contain. · Discards—Number of dropped packets. |
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 |
The most recent time that the reset counters interface serial command was executed. This field displays Never if this command has not been executed since the device startup. |
Physical layer |
Physical layer information. |
Baudrate |
Baud rate of the interface. |
Interface: DCE Cable type: V35 Clock mode: DCECLK1 |
Synchronizes the clock mode on the DCE side of the interface. |
Last 300 seconds input rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec |
Average input rates (in Bps, bps, and pps) for the last 300 seconds. |
Last 300 seconds output rate 2.40 bytes/sec, 19 bits/sec, 0.20 packets/sec |
Average output rates (in Bps, bps, and pps) for the last 300 seconds. |
Input: 6668 packets, 80414 bytes 0 broadcasts, 0 multicasts 0 errors, 0 runts, 0 giants 0 crc, 0 align errors, 0 overruns 0 frame errors 0 aborts, 0 no buffers |
Incoming traffic statistics for the interface: · broadcasts—Number of incoming broadcast packets. · multicasts—Number of incoming multicast packets. · errors—Number of error packets detected at the physical layer. · runts—Number of incoming undersized packets. · giants—Number of incoming oversized packets. · crc—Number of incoming normal-size packets with CRC errors. · align errors—Number of incoming packets with alignment errors. · overruns—Number of packet drops because the input rate of the interface exceeded the queuing capability. · frame errors—Number of packets with framing errors. · aborts—Number of anomalous errors. · no buffers—Number of packet drops because the receive buffer is full. |
Output: 6670 packets, 80446 bytes 0 errors, 0 underruns, 0 collisions 0 deferred |
Outgoing traffic statistics for the interface: · errors—Number of error packets detected at the physical layer. · underruns—Number of packets that fail to be forwarded because the interface reads from memory slower than it forwards packets. · collisions—Number of packets that the interface stopped transmitting because packet collisions were detected during transmission. · deferred—Number of packets that the interface deferred to transmit because of detected collisions or timeout events. |
DCD: DOWN, DTR: UP, DSR: DOWN, RTS: UP, CTS: DOWN |
Status of Data Carrier Detect (DCD), Data Terminal Ready (DTR), Data Set Ready (DSR), Request to Send (RTS), and Clear to Send (CTS) signals. |
Brief information on interface(s) under route mode: |
Brief information about Layer 3 interfaces. |
Interface |
Abbreviated interface name. |
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. To see the primary interface, use the display interface-backup state command. |
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). |
Related commands
reset counters interface serial
interface serial
Use interface serial to enter serial interface view.
Syntax
interface serial interface-number
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-number: Specifies a serial interface by its number.
Examples
# Enter the view of Serial 1/2/2/1:1.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1]
Related commands
link-protocol
link-protocol
Use link-protocol to configure the data link layer protocol for an interface.
Syntax
link-protocol { hdlc | ppp }
Default
A synchronous serial interface uses PPP as the data link layer protocol.
Views
Synchronous serial interface view
Predefined user roles
network-admin
mdc-admin
Parameters
hdlc: Specifies the HDLC data link layer protocol.
ppp: Specifies the PPP data link layer protocol.
Examples
# Specify HDLC as the data link layer protocol of Serial 1/2/2/1:1.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] link-protocol hdlc
mtu
Use mtu to set the MTU size for an interface.
Use undo mtu to restore the default.
Syntax
mtu size
undo mtu
Default
The MTU is 1500 bytes.
Views
Serial interface view
Predefined user roles
network-admin
mdc-admin
Parameters
size: Sets the maximum transmission unit (MTU) in the range of 1280 to 9100 bytes.
Usage guidelines
The MTU setting affects the assembly and fragmentation of IP packets.
After configuring the MTU for an interface, you must use the shutdown command and then the undo shutdown command on the interface for the modification to take effect.
Examples
# Set the MTU to 1430 bytes for Serial 1/2/2/1:1.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] mtu 1430
reset counters interface async
Use reset counters interface async to clear asynchronous serial interface statistics.
Syntax
reset counters interface [ async [ interface-number ] ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
async [ interface-number ]: Specifies an asynchronous serial interface by its number. If you do not specify the async keyword, this command clears statistics for all interfaces except VA interfaces. If you specify the async keyword without specifying an interface, this command clears statistics for all asynchronous serial interfaces.
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
Examples
# Clear statistics for Async 2/4/0.
<Sysname> reset counters interface async 2/4/0
Related commands
display interface async
timer-hold
Use timer-hold to set the keepalive interval.
Use undo timer-hold to restore the default.
Syntax
timer-hold seconds
undo timer-hold
Default
The keepalive interval is 10 seconds.
Views
Serial interface view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds: Specifies the interval at which the interface sends keepalive packets. The value range for this argument is 0 to 32767 seconds.
Usage guidelines
On an interface encapsulated with PPP or HDLC, the data link layer sends keepalive packets at keepalive intervals to detect the availability of the remote end. The data link layer determines that the peer end is down if it does not receive a response after the keepalive retry limit has been made. The data link layer then reports the link down event to the upper-layer protocols.
To set the keepalive retry limit, use the timer-hold retry command.
On a slow link, increase the keepalive interval to prevent false shutdown of the interface. This situation might occur when keepalive packets are delayed because a large packet is being transmitted on the link.
Examples
# Set the keepalive interval to 15 seconds for Serial 1/2/2/1:1.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] timer-hold 15
Related commands
timer-hold retry
timer-hold retry
Use timer-hold retry to set the keepalive retry limit.
Use undo timer-hold retry to restore the default.
Syntax
timer-hold retry retries
undo timer-hold retry
Default
The keepalive retry limit is 5.
Views
Serial interface view
Predefined user roles
network-admin
mdc-admin
Parameters
retries: Specifies the keepalive retry limit, in the range of 1 to 255.
Usage guidelines
The interface determines that the remote end is down if it does not receive a keepalive response after the keepalive retry limit has been made.
This command applies to interfaces encapsulated with PPP, FR, or HDLC. To set the keepalive interval, use the timer-hold command.
On a slow link, increase the keepalive retry limit to prevent false shutdown of the interface. This situation might occur when keepalive packets are delayed because a large packet is being transmitted on the link.
Examples
# Set the keepalive retry limit to 10 for Serial 1/2/2/1:1.
<Sysname> system-view
[Sysname] interface serial 1/2/2/1:1
[Sysname-Serial1/2/2/1:1] timer-hold retry 10
Related commands
timer-hold
Basic CE1 interface commands
cable (CE1 interface)
Use cable to set the cable type for a CE1 interface.
Use undo cable to restore the default.
Syntax
cable { long | short }
undo cable
Default
The long keyword applies.
Views
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Parameters
long: Specifies the attenuation of the receiver as –43 dB.
short: Specifies the attenuation of the receiver as –10 dB.
Examples
# Set the cable type on E1 1/2/2/1 to short.
<Sysname> system-view
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1] cable short
channel-set (CE1 interface)
Use channel-set to bundle timeslots on a CE1 interface into a channel set.
Use undo channel-set to cancel the bundling.
Syntax
channel-set set-number timeslot-list list
undo channel-set [ set-number ]
Default
No channel sets exist on a CE1 interface.
Views
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Parameters
set-number: Specifies the number of the channel set for the timeslot bundle. The value range is 0 to 30.
timeslot-list list: Specifies a comma-separated list of timeslot items. An item can be an individual timeslot or a timeslot range. Use a hyphen (-) to separate the start and end timeslot numbers of a range. The value range for the timeslot number is 1 to 31.
Usage guidelines
A CE1 interface in CE1 or PRI mode is physically divided into 32 timeslots numbered 0 through 31. All the timeslots except timeslot 0 can be bundled into multiple channel sets. For each channel set, the system automatically creates a serial interface that has the same logical features as a standard synchronous serial interface.
The serial interface name uses the serial interface-number:set-number format. The interface-number argument specifies the CE1 interface number. The set-number argument specifies the channel set number.
Examples
# Bundle timeslots 1, 2, 5, 10 through 15, and 18 into channel set 0 on E1 1/2/2/1.
<Sysname> system-view
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1] channel-set 0 timeslot-list 1,2,5,10-15,18
clock (CE1 interface)
Use clock to set the clock mode of a CE1 interface.
Use undo clock to restore the default.
Syntax
clock { master | slave }
undo clock
Default
The clock mode of a CE1 interface is slave.
Views
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Parameters
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Usage guidelines
When the clock mode of an interface is master, it uses the internal clock source. When the clock mode of an interface is slave, it uses the line clock source.
Set the clock mode for a CE1 interface according to its operating mode:
· When the interface is operating in DCE mode, set its clock mode to master.
· When the interface is operating in DTE mode, set its clock mode to slave.
Examples
# Set the clock mode to master for CE1 interface E1 1/2/2/1.
<Sysname> system-view
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1] clock master
controller e1
Use controller e1 to enter CE1 interface view.
Syntax
controller e1 interface-number
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-number: Specifies a CE1 interface by its number.
Examples
# Enter E1 1/2/2/1 interface view.
<Sysname> system-view
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1]
detect-ais
Use detect-ais to enable alarm indication signal (AIS) detection on an interface.
Use undo detect-ais to disable AIS detection.
Syntax
detect-ais
undo detect-ais
Default
AIS detection is enabled on an interface.
Views
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command takes effect when a CE1 interface operates in E1 mode.
Examples
# Enable AIS detection on E1 1/2/2/1.
<Sysname> system-view
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1] detect-ais
display controller e1
Use display controller e1 to display information about CE1 interfaces.
Syntax
display controller [ e1 [ interface-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
e1 [ interface-number ]: Specifies a CE1 interface by its number. If you do not specify the e1 keyword, the command displays information about all CE1 interfaces and CPOS interfaces. If you specify the e1 keyword without specifying an interface, the command displays information about all CE1 interfaces.
Examples
# Display information about E1 1/2/2/1.
<Sysname> display controller e1 1/2/2/1
E1 1/2/2/1
Current state: UP
Description: E1 1/2/2/1 Interface
Basic Configuration:
Work mode: E1 framed, Cable type: 75 Ohm unbalanced
Line code: hdb3, Source clock: slave
Idle code: 7e, Itf type: 7e, Itf number: 4, Loop back: not set
Alarm State:
Receiver alarm state is None
Historical Statistics:
Last link flapping: 6 hours 39 minutes 25 seconds
Last clearing of counters: Never
Data in current interval (150 seconds elapsed):
Loss Frame Alignment: 0 seconds, Framing Error: 0 seconds
CRC Error: 0 seconds, Alarm Indication: 0 seconds
Loss-of-signals: 0 seconds, Code Violations: 0 seconds
Slip: 0 seconds, E-Bit error: 0 seconds
Table 2 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. |
Description |
Description of the interface. |
Work mode |
Operating mode of the interface: E1 or CE1. |
Cable type |
Cable type of the interface. |
Source clock |
Clock source used by the interface: master or slave. |
Line code |
Line code: AMI or HDB3. |
Idle code |
Idle code: 7e or ff. |
Itf type |
Interframe filling tag: 7e or ff. |
Itf number |
Number of interframe filling tags between two successive frames. |
Loopback |
Loopback state. |
Historical Statistics |
Statistics for 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 |
The most recent time that the reset counters controller e1 command was executed. This field displays Never if this command has not been executed since the device startup. |
Data in current interval (150 seconds elapsed): Loss Frame Alignment: 0 seconds, Framing Error: 0 seconds CRC Error: 0 seconds, Alarm Indication: 0 seconds Loss-of-signals: 0 seconds, Code Violations: 0 seconds Slip: 0 seconds, E-Bit error: 0 seconds |
Error statistics for the current interval. |
Related commands
reset counters controller e1
display controller phy-option
Use display controller phy-option to display the physical attributes of a controller interface.
Syntax
display controller [ interface-type [ interface-number ] ] phy-option
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
Usage guidelines
In the current software version, this command supports WAN interface types CPOS and CE1.
If you do not specify a controller interface type, this command displays information about all controller interfaces.
If you specify a controller interface type but do not specify a controller interface number, this command displays information about all controller interfaces of the specified type.
Examples
# Display the physical attributes of CE1 interface E1 1/2/2/1.
<Sysname> display controller E1 1/2/2/1 phy-option
E1 1/2/2/1
Current state: DOWN
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 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. |
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 controller
display this controller
Use display this controller to display the operating status and information of a controller interface.
Syntax
display this controller
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
In controller interface view, to quickly view the operating status or packet statistics of the interface, execute this command.
For a controller interface, the output from the display this interface command in controller interface view is the same as the output from the display controller interface-type interface-number command in any view.
Related commands
display controller
frame-format (CE1 interface)
Use frame-format to set the framing format for a CE1 interface.
Use undo frame-format to restore the default.
Syntax
frame-format { crc4 | no-crc4 }
undo frame-format
Default
The framing format on a CE1 interface is no-CRC4.
Views
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Parameters
crc4: Sets the framing format to CRC4.
no-crc4: Sets the framing format to no-CRC4.
Usage guidelines
A CE1 interface in CE1 mode supports both CRC4 and no-CRC4 framing formats. Only CRC4 supports four-bit CRC on physical frames.
Examples
# Set the framing format to CRC4 on E1 1/2/2/1.
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1] frame-format crc4
loopback (CE1 interface)
Use loopback to enable loopback and set the loopback mode on a CE1 interface.
Use undo loopback to disable loopback on a CE1 interface.
Syntax
loopback { local | payload | remote }
undo loopback
Default
Loopback is disabled on a CE1 interface.
Views
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Parameters
local: Sets the interface to operate in local loopback mode.
payload: Sets the interface to operate in external payload loopback mode.
remote: Sets the interface to operate in external loopback mode.
Usage guidelines
Loopback is intended for testing only. Disable the feature when the interface is operating correctly.
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 as down.
Examples
# Set E1 1/2/2/1 to operate in internal loopback mode.
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1] loopback local
reset counters controller e1
Use reset counters controller e1 to clear CE1 interface statistics.
Syntax
reset counters controller e1 [ interface-number ]
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-number: Specifies a CE1 interface by its number. If you do not specify this argument, the command clears statistics for all CE1 interfaces.
Usage guidelines
The reset counters interface command clears statistics for all interfaces.
To display CE1 interface statistics, use the display controller e1 command.
Examples
# Clear statistics for CE1 interface E1 1/2/2/1.
<Sysname> reset counters controller e1 1/2/2/1
Related commands
display controller e1
using (CE1 interface)
Use using to set the operating mode of a CE1 interface.
Use undo using to restore the default.
Syntax
using { ce1 | e1 }
undo using
Default
A CE1 interface operates in channelized mode.
Views
CE1 interface view
Predefined user roles
network-admin
mdc-admin
Parameters
ce1: Sets the interface to operate in channelized mode.
e1: Sets the interface to operate in E1 mode.
Usage guidelines
A CE1 interface can operate in channelized or unchannelized mode.
Channelized modes include CE1 mode. In this mode, the CE1 interface is physically divided into 32 timeslots numbered 0 through 31. Timeslot 0 is used for FSC.
The unchannelized mode is also called the E1 mode.
For a CE1 interface in E1 mode, the system automatically creates a 2.048 Mbps serial interface. The interface name uses the serial interface-number:0 format. The interface-number argument specifies the CE1 interface number. This interface has the same logical features as a standard synchronous serial interface.
Examples
# Set E1 1/2/2/1 to operate in E1 mode.
<Sysname> system-view
[Sysname] controller e1 1/2/2/1
[Sysname-E1 1/2/2/1] using e1