- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-WAN interface commands | 266.93 KB |
reset counters interface serial
Basic CE1/PRI interface commands
channel-set (CE1/PRI interface)
data-coding (CE1/PRI interface)
WAN interface commands
This feature is supported on only the devices installed with SIC-E1-F, SIC-2E1-F, or RT-SIC-2E1-G cards. For interfaces provided by a device, see the installation guide and card manuals of the device.
Common WAN interface commands
bandwidth
Use bandwidth to configure 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
E1-F interface view
Serial 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 to 50 kbps for Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] bandwidth 50
default
Use default to restore the default settings for an interface.
Syntax
default
Views
CE1/PRI interface view
E1-F interface view
Serial interface view
Predefined user roles
network-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 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] 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, Serial2/1/0 Interface.
Views
CE1/PRI interface view
E1-F interface view
Serial interface 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 Serial 2/1/0 as router-interface.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] description router-interface
mtu
Use mtu to set the MTU 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
E1-F interface view
Serial interface view
Predefined user roles
network-admin
Parameters
size: Sets the maximum transmission unit (MTU) in bytes. The value range for this argument is 128 to 2000.
Usage guidelines
The MTU setting affects IP packet assembly and fragmentation on the interface.
After configuring the MTU for a WAN 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 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] mtu 1430
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
CE1/PRI interface view
E1-F interface view
Serial interface view
Predefined user roles
network-admin
Examples
# Shut down Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] shutdown
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
E1-F interface view
Serial interface view
Predefined user roles
network-admin
Parameters
seconds: Specifies the interval at which an interface sends keepalive packets. The value range 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 maximum number of keepalive attempts have been made. The data link layer then reports the link down event to the upper-layer protocols.
To set the maximum number of keepalive attempts, 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 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] timer-hold 15
timer-hold retry
Serial interface commands
This feature is supported on only the devices installed with SIC-E1-F, SIC-2E1-F, or RT-SIC-2E1-G cards. For interfaces provided by a device, see the installation guide and card manuals of the device.
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
Parameters
16: Specifies 16-bit CRC.
32: Specifies 32-bit CRC.
none: Disables CRC.
Examples
# Configure Serial 2/1/0 to use 32-bit CRC.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] 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
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. 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 25 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 0/2/0.
<Sysname> display interface serial 0/2/0
Serial0/2/0
Current state: UP
Line protocol state: UP
Description: Serial2/0 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 clearing of counters: Never
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: 0 packets, 0 bytes, 0 no buffers
8589934590 errors, 0 runts, 0 giants
0 CRC, 4294967295 align errors, 0 overruns
0 dribbles, 0 aborts
Output:0 packets, 0 bytes
0 errors, 0 underruns, 0 aborts
# Display brief information about Serial 0/2/0.
<Sysname> display interface serial 0/2/0 brief
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Primary IP Description
Ser0/2/0 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 interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
Ser0/2/0 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 |
Maximum number of keepalive attempts. The interface determines that the remote end is down if it does not receive a keepalive response after the maximum number of keepalive attempts have 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. |
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 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. · 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. |
Brief information on interfaces in 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
Parameters
interface-number: Specifies a serial interface by its number.
Examples
# Enter the view interface Serial 0/2/0.
<Sysname> system-view
[Sysname] interface serial 0/2/0
[Sysname-Serial0/2/0]
Related commands
link-protocol
link-protocol
Use link-protocol to configure the data link layer protocol for an interface.
Syntax
link-protocol { hdlc | ppp }
undo link-protocol
Default
A synchronous serial interface uses PPP as the data link layer protocol.
Views
Synchronous serial interface view
Predefined user roles
network-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 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] link-protocol hdlc
loopback-test
Use loopback-test to initiate a loopback test on a synchronous serial interface.
Syntax
loopback-test [ -c count | -p { pattern | special { ascending | descending | random } } | -s packetsize | -t timeout ] * interface interface-type interface-number
Default
No loopback test is performed on a synchronous serial interface.
Views
Any view
Predefined user roles
network-admin
Parameters
-c count: Specifies the number of test packets to be sent. The value range is 1 to 4294967295, and the default is 5.
-p: Specifies how the packet payload will be filled.
· pattern: Fills the payload with a fixed pattern. The value is a hexadecimal number in the range of 0 to ffffffff. For example, if this argument is specified as ff, the payload is filled with repeated strings of ff. By default, the test packet payload is filled with alternating hexadecimal numbers 55 and aa.
· special: Fills the payload with a dynamic hexadecimal number pattern.
¡ ascending: Fills the payload with hexadecimal numbers 00 to ff in ascending order.
¡ descending: Fills the payload with hexadecimal numbers ff to 00 in descending order.
¡ random: Fills the payload with random hexadecimal numbers in the range of 00 to ff.
-s packetsize: Specifies the test packet size in bytes, excluding the 8-byte packet header. The value range is 0 to 1688, and the default is 52.
-t timeout: Specifies the amount of time the local end waits for a response from the remote end. The value range is 0 to 5000 milliseconds, and the default is 2000 milliseconds. Increase the time value on a slow link.
interface interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
This command is available only on synchronous serial interfaces that are created for E1-F interfaces.
Use this command to test whether the remote end is enabled with loopback. In the loopback test, the interface sends the specified number of test packets to the remote end. If the remote end is enabled with loopback, the test packets can be looped back to the interface.
The quality of the path between the interface and the remote end can be measured based on the loopback test statistics. For more information about the loopback test statistics, see Table 2.
Examples
# Perform a loopback test on Serial 2/1/0.
<Sysname> loopback-test interface serial 2/1/0
Loopback test on Serial2/1/0: 52 data bytes, Press CTRL_C to break
Received from Serial2/1/0: bytes=52 sequence=1 time=1 ms
Received from Serial2/1/0: bytes=52 sequence=2 time=1 ms
Received from Serial2/1/0: bytes=52 sequence=3 time=1 ms
Received from Serial2/1/0: bytes=52 sequence=4 time=1 ms
Received from Serial2/1/0: bytes=52 sequence=5 time=1 ms
--- Serial2/1/0 loopback test statistics ---
5 packet(s) transmitted
5 packet(s) received
0 packet(s) lost
0 packet(s) error
0.00% packet loss
0.00% packet error
Round-trip min/avg/max = 1/1/1 ms
Test result: Loopback is enabled on the remote end.
Field |
Description |
Loopback test on Serial2/1/0: 52 data bytes, press CTRL_C to break |
Test whether loopback is enabled on the remote end of Serial 2/1/0. The payload in each test packet is 52 bytes. Press Ctrl+C to abort the test. |
Received from Serial2/1/0: bytes=52 sequence=1 time=1 ms |
Statistics for the response packets received on Serial 2/1/0: · bytes—Number of bytes in the payload of the response packet. · sequence—Sequence number of the response packet, which is used to determine whether a packet is lost, disordered, or repeated. · time—Round-trip time. If no response packets were received within the timeout time, Wait time out is displayed. |
--- Serial2/1/0 loopback test statistics --- |
Statistics on data received and transmitted in the loopback test. |
5 packet(s) transmitted |
Number of test packets sent. |
5 packet(s) received |
Number of response packets received. |
0 packet(s) lost |
Number of test packets for which no responses were received. |
0 packet(s) error |
Number of error packets received. |
0.00% packet loss |
Packet loss ratio. |
0.00% packet error |
Packet error ratio. |
Round-trip min/avg/max = 1/1/1 ms |
Minimum/average/maximum round-trip time in milliseconds. |
Test result |
Test result: · Loopback is enabled on the remote end. · Loopback is not enabled on the remote end. · Loopback might be enabled on the remote end. |
reset counters interface serial
Use reset counters interface serial to clear serial interface statistics.
Syntax
reset counters interface serial [ interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
serial [ interface-number ]: Specifies a serial interface by its number. If you do not specify the serial keyword, this command clears statistics for all interfaces. If you specify the serial keyword without specifying an interface, this command clears statistics for all serial interfaces.
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
Examples
# Clear statistics for Serial 2/1/0.
<Sysname> reset counters interface serial 2/1/0
Related commands
display interface serial
Basic CE1/PRI interface commands
This feature is supported only on the devices installed with the RT-SIC-2E1-G interface modules. For interfaces provided by a device, see the installation guide and interface module manuals.
alarm-detect
Use alarm-detect to enable RAI detection on an interface.
Use undo alarm-detect to disable RAI detection on an interface.
Syntax
alarm-detect rai
undo alarm-detect rai
Default
RAI detection is enabled on an interface.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
rai: Remote Alarm Indication (RAI).
Usage guidelines
This command is applicable when the interface operates in CE1 mode.
Examples
# Enable RAI detection on E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] alarm-detect rai
channel-set (CE1/PRI interface)
Use channel-set to bundle timeslots on a CE1/PRI 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 an interface.
Views
CE1/PRI interface view
Predefined user roles
network-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/PRI 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/PRI 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 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] channel-set 0 timeslot-list 1,2,5,10-15,18
Related commands
pri-set
clock (CE1/PRI interface)
Use clock to set the clock mode of a CE1/PRI interface.
Use undo clock to restore the default.
Syntax
clock { master | slave }
undo clock
Default
The clock mode of a CE1/PRI interface is slave.
Views
CE1/PRI interface view
Predefined user roles
network-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.
Examples
# Set the clock mode to master for CE1/PRI interface E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] clock master
clock-change auto
Use clock-change auto to enable automatic clock mode switchover on an interface.
Use undo clock-change auto to disable automatic clock mode switchover.
Syntax
clock-change auto
undo clock-change auto
Default
Automatic clock mode switchover is disabled on an interface.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Usage guidelines
When automatic clock mode switchover is enabled, the interface automatically switches to the master clock mode when both of the following conditions exist:
· The interface uses the slave clock mode.
· The interface receives an alarm indication signal (AIS), loss of signal (LOS), or loss of frame (LOF) alarm.
After the alarm is cleared, the interface automatically switches back to the slave mode.
When automatic clock mode switchover is disabled, the interface uses the user-configured clock mode.
Examples
# Enable automatic clock mode switchover for E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] clock-change auto
Related commands
clock
code (CE1/PRI interface)
Use code to set the line code format for a CE1/PRI interface.
Use undo code to restore the default.
Syntax
code { ami | hdb3 }
undo code
Default
The line code format is HDB3 for the CE1/PRI interface.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
ami: Specifies the alternate mark inversion (AMI) line code format.
hdb3: Specifies the high-density bipolar 3 (HDB3) line code format.
Usage guidelines
An interface must use the same line code format as its remote end.
For the interface to operate correctly, configure the data-coding inverted command on the interface if the AMI format is used.
Examples
# Set the line code format to AMI for E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] code ami
Related commands
data-coding
controller e1
Use controller e1 to enter CE1/PRI interface view.
Syntax
controller e1 interface-number
Views
System view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a CE1/PRI interface by its number.
Examples
# Enter E1 2/3/0 interface view.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0]
data-coding (CE1/PRI interface)
Use data-coding to enable user data inversion on a CE1/PRI interface.
Use undo data-coding to restore the default.
Syntax
data-coding { inverted | normal }
undo data-coding
Default
Data inversion is disabled on a CE1/PRI interface.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
inverted: Enables user data inversion.
normal: Disables user data inversion.
Usage guidelines
To prevent 7e in valid data from being mistaken for padding characters, HDLC inserts a zero after every five consecutive ones in the data stream. In data inversion, each bit one is inverted to bit zero, and each bit zero is inverted to bit one. After the inversion, at least a bit one is present in every eight consecutive bits.
When AMI encoding is used on an E1 interface, data inversion eliminates the presence of multiple consecutive zeros.
The data inversion setting must be the same on the CE1/PRI interfaces at two ends of an E1 line.
Examples
# Enable user data inversion on E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] data-coding inverted
display controller e1
Use display controller e1 to display information about CE1/PRI interfaces.
Syntax
display controller [ e1 [ interface-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
e1 [ interface-number ]: Specifies a CE1/PRI interface by its number. If you do not specify the e1 keyword, the command displays information about all CE1/PRI interfaces and CPOS interfaces. If you specify the e1 keyword without specifying an interface, the command displays information about all CE1/PRI interfaces.
Examples
# Display information about E1 2/3/0.
<Sysname> display controller e1 2/3/0
E1 2/3/0
Current state: UP
Description: E1 2/3/0 Interface
Last clearing of counters: Never
Current system time:2020-01-14 15:51:05
Last time when physical state changed to up:2020-01-14 15:51:00
Last time when physical state changed to down:2020-01-14 15:50:51
Basic Configuration:
Work mode: E1 framed, Cable type: 75 Ohm unbalanced
Frame-format: no-crc4, 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:
Data in current interval (3398 seconds elapsed):
Loss Frame Alignment: 0 seconds, Framing Error: 1 seconds
CRC Error: 0 seconds, Alarm Indication: 0 seconds
Loss-of-signals: 1 seconds, Code Violations: 1 seconds
Slip: 0 seconds, E-Bit error: 0 seconds
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. |
Description |
Description of the interface. |
Work mode |
Operating mode of the interface: E1 or CE1. |
Cable type |
Cable type of the interface. |
Frame-format |
Framing format of the E1 interface. |
Line code |
Line code: AMI or HDB3. |
Source clock |
Clock source used by the interface: master or slave. |
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 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 (3398 seconds elapsed): Loss Frame Alignment: 0 seconds, Framing Error: 1 seconds CRC Error: 0 seconds, Alarm Indication: 0 seconds Loss-of-signals: 1 seconds, Code Violations: 1 seconds Slip: 0 seconds, E-Bit error: 0 seconds |
Error statistics for the current interval. |
Related commands
reset counters controller e1
frame-format (CE1/PRI 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/PRI interface view
Predefined user roles
network-admin
Parameters
crc4: Sets the framing format to CRC4.
no-crc4: Sets the framing format to no-CRC4.
Usage guidelines
A CE1/PRI 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 2/3/0.
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] frame-format crc4
idle-code (CE1/PRI interface)
Use idle-code to set the line idle code on a CE1/PRI interface.
Use undo idle-code to restore the default.
Syntax
Idle-code { 7e | ff }
undo idle-code
Default
The line idle code on a CE1/PRI interface is 7e.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
7e: Sets the line idle code to 7e (hexadecimal).
ff: Sets the line idle code to ff (hexadecimal).
Usage guidelines
The line idle code is sent in timeslots that are not bundled into logical channels.
Examples
# Set the line idle code to 7e on E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] idle-code 7e
itf (CE1/PRI interface)
Use itf to set the type and number of interframe filling tags on a CE1/PRI interface.
Use undo itf to restore the default.
Syntax
itf { number number | type { 7e | ff } }
undo itf { number | type }
Default
The interframe filling tag is 7e. The number of interframe filling tags is 4.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
number number: Sets the number of interframe filling tags, in the range of 0 to 14. An interframe filling tag is one byte in length.
type: Specifies the interframe filling tag type.
7e: Sets the interframe filling tag type to 7e (hexadecimal).
ff: Sets the interframe filling tag type to ff (hexadecimal).
Usage guidelines
Interframe filling tags are sent when no service data is sent on the timeslots that are bundled into logical channels on the CE1/PRI interface.
If the ff interframe filling tag is used on a CE1/PRI interface in E1 mode, consecutive ones sent when the line is idle might trigger AIS alarms. To prevent false AIS alarms, use the undo detect-ais command to disable AIS detection.
Examples
# Set the type of interframe filling tag to ff on E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] itf type ff
# Set the number of interframe filling tags to 5 on E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] itf number 5
loopback (CE1/PRI interface)
Use loopback to enable loopback and set the loopback mode on an interface.
Use undo loopback to disable loopback on an interface.
Syntax
loopback { local | payload | remote }
undo loopback
Default
Loopback is disabled on a CE1/PRI interface.
Views
CE1/PRI interface view
Predefined user roles
network-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/PRI 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 2/3/0 to operate in internal loopback mode.
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] loopback local
pri-set (CE1/PRI interface)
Use pri-set to bundle timeslots on a CE1/PRI interface into a PRI set.
Use undo pri-set to remove the bundle.
Syntax
pri-set [ timeslot-list list ]
undo pri-set
Default
No PRI set exists on a CE1/PRI interface.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
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
On a CE1/PRI interface in PRI mode, timeslots 0 to 31 are used as follows:
· Timeslot 0 is used for frame synchronization control (FSC).
· Timeslot 16 is used as the D channel for signaling transmission.
· Other timeslots are used as B channels for data transmission.
You can create only one PRI set on a CE1/PRI interface. This PRI set can include any timeslots except timeslot 0, and it must include timeslot 16. Timeslot 16 cannot form a bundle that includes only itself. The attempt to bundle only timeslot 16 will fail.
If no timeslots are specified in this command, all timeslots except timeslot 0 are bundled into an interface in the form of 30B + D.
A PRI set cannot coexist with a CEM set or channel set on a CE1/PRI interface.
Examples
# Bundle timeslots 1, 2, and 8 through 12 into a PRI set on CE1/PRI interface E1 2/3/0.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] pri-set timeslot-list 1,2,8-12
Related commands
cem-set
channel-set
reset counters controller e1
Use reset counters controller e1 to clear CE1/PRI interface statistics.
Syntax
reset counters controller e1 [ interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a CE1/PRI interface by its number. If you do not specify this argument, the command clears statistics for all CE1/PRI interfaces.
Usage guidelines
The reset counters interface command clears statistics for all interfaces.
To display CE1/PRI interface statistics, use the display controller e1 command.
Examples
# Clear statistics for CE1/PRI interface E1 2/3/0.
<Sysname> reset counters controller e1 2/3/0
Related commands
display controller e1
using (CE1/PRI interface)
Use using to set the operating mode of a CE1/PRI interface.
Use undo using to restore the default.
Syntax
using { ce1 | e1 }
undo using
Default
A CE1/PRI interface operates in channelized mode.
Views
CE1/PRI interface view
Predefined user roles
network-admin
Parameters
ce1: Sets the interface to operate in channelized mode.
e1: Sets the interface to operate in E1 mode.
Usage guidelines
A CE1/PRI interface can operate in channelized or unchannelized mode.
· Channelized modes include CE1 mode and PRI mode. In mode, the CE1/PRI interface is physically divided into 32 timeslots numbered 0 through 31. Timeslot 0 is used for FSC.
· Unchannelized modes include CEM mode and E1 mode.
¡ For a CE1/PRI 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/PRI interface number. This interface has the same logical features as a standard synchronous serial interface.
Examples
# Set E1 2/3/0 to operate in E1 mode.
<Sysname> system-view
[Sysname] controller e1 2/3/0
[Sysname-E1 2/3/0] using e1
E1-F interface commands
This feature is supported on only the devices installed with SIC-E1-F, SIC-2E1-F, or RT-SIC-2E1-G cards. For interfaces provided by a device, see the installation guide and card manuals of the device.
clock-change auto
Use clock-change auto to enable automatic clock mode switchover on an E1-F interface.
Use undo clock-change auto to disable the automatic clock mode switchover on an E1-F interface.
Syntax
clock-change auto
undo clock-change auto
Default
Automatic clock mode switchover is disabled on an E1-F interface.
Views
E1-F interface view
Predefined user roles
network-admin
Usage guidelines
When automatic clock mode switchover is enabled, the interface automatically switches to the master clock mode when both of the following conditions exist:
· The interface uses the slave clock mode.
· The interface receives an alarm indication signal (AIS), loss of signal (LOS), or loss of frame (LOF) alarm.
After the alarm is cleared, the interface automatically switches back to the slave clock mode.
When automatic clock mode switchover is disabled, the interface uses the user-configured clock mode.
Examples
# Enable automatic clock mode switchover for the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] clock-change auto
Related commands
fe1 clock
crc
Use crc to configure CRC mode for an E1-F interface.
Use undo crc to restore the default.
Syntax
crc { 16 | 32 | none }
undo crc
Default
The CRC mode for an E1-F interface is 16-bit CRC.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
16: Specifies 16-bit CRC.
32: Specifies 32-bit CRC.
none: Disables CRC.
Examples
# Specify 32-bit CRC on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] crc 32
display fe1
Use display fe1 to display information about E1-F interfaces.
Syntax
display fe1 [ serial interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
serial interface-number: Specifies an E1-F interface by its number. If you do not specify an interface, this command displays information about all E1-F interfaces.
Usage guidelines
If the specified interface is a common serial interface rather than an E1-F interface, the system displays a prompt.
Examples
# Display information about the E1-F interface Serial 2/1/0.
<Sysname> display fe1 serial 2/1/0
Serial2/1/0
Basic Configuration:
Work mode: E1 framed, Cable type: 75 Ohm unbalanced
Frame format: no-crc4
Line code: hdb3, Source clock: slave
Idle code: 7e, Itf type: 7e, Itf number: 4
Loopback: not set
Alarm State:
Receiver alarm state is None.
Transmitter is sending remote alarm.
Historical Statistics:
Data in current interval (19349 seconds elapsed):
Loss Frame Alignment: 129 seconds, Framing Error: 0 seconds
CRC Error: 0 seconds, Alarm Indication: 0 seconds
Loss-of-signals: 129 seconds, Code Violations: 0 seconds
Slip: 0 seconds, E-Bit Error: 0 seconds
Table 4 Command output
Field |
Description |
Cable type |
Cable type of the interface (75 ohm unbalanced or 120 ohm balanced). |
Frame-format |
Framing format: CRC4 or no-CRC4. |
Line Code |
Line code format: AMI or HDB3. |
Source clock |
Clock source used by the interface: master or slave. |
Idle code |
Idle code: 7e or ff. |
Itf type |
Interframe filling tag: 7e or ff. |
Itf number |
Number of interframe filling tags. |
Loopback |
Whether loopback is configured on the interface. |
Data in current interval (19349 seconds elapsed): Loss Frame Alignment: 129 seconds, Framing Error: 0 seconds CRC Error: 0 seconds, Alarm Indication: 0 seconds Loss-of-signals: 129 seconds, Code Violations: 0 seconds Slip: 0 seconds, E-Bit Error: 0 seconds |
Time duration that each error lasts within the interval. The errors include frame misalignment, frame errors, alarms, loss of signals, code violation, and frame slipping. |
fe1 alarm-detect
Use fe1 alarm-detect to enable RAI detection on an E1-F interface.
Use undo fe1 alarm-detect to disable RAI detection on an E1-F interface.
Syntax
fe1 alarm-detect rai
undo fe1 alarm-detect rai
Default
RAI detection is enabled on an E1-F interface.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
rai: Remote Alarm Indication (RAI).
Usage guidelines
This command is applicable when the interface operates in framed mode.
Examples
# Disable RAI detection on Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] undo fe1 alarm-detect rai
Related commands
fe1 unframed
fe1 cable
Use fe1 cable to set the cable length for an E1-F interface.
Use undo fe1 cable to restore the default.
Syntax
fe1 cable { long | short }
undo fe1 cable
Default
The long keyword applies.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
long: Supports long cables.
short: Supports short cables.
Examples
# Set the cable length type to short on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 cable short
fe1 cable-type
Use fe1 cable-type to set the cable impedance for an E1-F interface.
Use undo fe1 cable-type to restore the default.
Syntax
fe1 cable-type { 75 | 120 }
undo fe1 cable-type
Default
The cable impedance for an E1-F interface is 75 ohm.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
75: Specifies 75 ohm.
120: Specifies 120 ohm.
Examples
# Set the cable impedance to 120 ohm for the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 cable-type 120
fe1 clock
Use fe1 clock to set the clock mode of an E1-F interface.
Use undo fe1 clock to restore the default.
Syntax
fe1 clock { master | slave }
undo fe1 clock
Default
The clock mode for an E1-F interface is slave.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
master: Sets the clock mode to master.
slave: Sets the clock mode to slave.
Usage guidelines
When the clock mode of an E1-F interface is master, it uses the internal clock source. When the clock mode of an E1-F interface is slave, it uses the line clock source.
Examples
# Set the clock mode to master for the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 clock master
Related commands
clock-change auto
fe1 code
Use fe1 code to set the line code format for an E1-F interface.
Use undo fe1 code to restore the default.
Syntax
fe1 code { ami | hdb3 }
undo fe1 code
Default
The line code format is HDB3 for the E1-F interface.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
ami: Specifies the AMI line code format.
hdb3: Specifies the HDB3 line code format.
Usage guidelines
An E1-F interface must use the same line code format as its remote end. For the interface to operate correctly, configure the fe1 data-coding inverted command if the AMI format is used.
Examples
# Set the line code format to AMI for the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 code ami
Related commands
fe1 data-coding
fe1 data-coding
Use fe1 data-coding to enable or disable user data inversion for an E1-F interface.
Use undo fe1 data-coding to restore the default.
Syntax
fe1 data-coding { inverted | normal }
undo fe1 data-coding
Default
User data inversion is disabled for an E1-F interface.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
inverted: Enables user data inversion.
The following compatibility matrix shows the support of interface module models for the inverted keyword:
Interface module model |
Parameter compatibility |
SIC-E1-F |
No |
SIC-2E1-F |
No |
RT-SIC-2E1-G |
Yes |
normal: Disables user data inversion.
Usage guidelines
To prevent 7e in valid data from being mistaken for padding characters, HDLC inserts a zero after every five consecutive ones in the data stream. In data inversion, each bit one is inverted to bit zero, and each bit zero is inverted to bit one. After the inversion, at least a bit one is present in every eight consecutive bits.
When AMI encoding is used on an E1-F interface, data inversion eliminates the presence of multiple consecutive zeros.
The data inversion setting must be the same at the two ends of an E1-F line.
Examples
# Enable user data inversion on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 data-coding inverted
Related commands
fe1 code
fe1 detect-ais
Use fe1 detect-ais to enable AIS detection on an E1-F interface.
Use undo fe1 detect-ais to disable AIS detection on an E1-F interface.
Syntax
fe1 detect-ais
undo fe1 detect-ais
Default
AIS detection is enabled on an E1-F interface.
Views
E1-F interface view
Predefined user roles
network-admin
Usage guidelines
This command is available when the E1-F interface is operating in unframed mode.
Examples
# Enable AIS detection on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 detect-ais
Related commands
fe1 unframed
fe1 frame-format
Use fe1 frame-format to set the framing format for an E1-F interface.
Use undo fe1 frame-format to restore the default.
Syntax
fe1 frame-format { crc4 | no-crc4 }
undo fe1 frame-format
Default
The framing format of an E1-F interface is no-CRC4.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
crc4: Sets framing format to CRC4.
no-crc4: Sets framing format to no-CRC4.
Usage guidelines
An E1-F interface in framed 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 for the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 frame-format crc4
Related commands
fe1 unframed
fe1 idle-code
Use fe1 idle-code to set the line idle code on an E1-F interface.
Use undo fe1 idle-code to restore the default.
Syntax
fe1 idle-code { 7e | ff }
undo fe1 idle-code
Default
The line idle code on an E1-F interface is 7e.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
7e: Sets the line idle code to 7e (hexadecimal).
ff: Sets the line idle code to ff (hexadecimal).
Usage guidelines
The line idle code is sent in the timeslots that are not bundled into logical channels on the interface.
Examples
# Set the line idle code to 7e on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 idlecode 7e
fe1 itf
Use fe1 itf to set the type and number of interframe filling tags on an E1-F interface.
Use undo fe1 itf to restore the default.
Syntax
fe1 itf { number number | type { 7e | ff } }
undo fe1 itf { number | type }
Default
On an E1-F interface, the interframe filling tag is 7e, and the number of interframe filling tags is 4.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
number number: Sets the number of interframe filling tags, in the range of 0 to 14. An interframe filling tag is one byte in length.
type: Specifies the type of interframe filling tag type.
7e: Sets the interframe filling tag type to 7e (hexadecimal).
ff: Sets the interframe filling tag type to ff (hexadecimal).
Usage guidelines
The bundled timeslots on the E1-F interface send interframe filling tags when no service data is present.
When an E1-F interface is operating in unframed mode and the interframe filling tag type is set to ff, all "1" data will be transmitted on the line when no service data is present, which can easily trigger AIS alarms. To prevent generation of AIS alarms in this situation, execute the undo fe1 detect-ais command to disable AIS detection.
Examples
# Set the type of interframe filling tag to ff on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 itf type ff
# Set the number of interframe filling tags to 5 on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 itf number 5
fe1 loopback
Use fe1 loopback to enable a type of loopback on an E1-F interface.
Use undo fe1 loopback to disable loopback on an E1-F interface.
Syntax
fe1 loopback { local | payload | remote }
undo fe1 loopback
Default
Loopback is disabled on an E1-F interface.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
local: Enables internal loopback.
payload: Enables external payload loopback.
remote: Enables external loopback.
Usage guidelines
Loopback is intended for testing only. Disable the feature when the interface is operating correctly.
The three loopback modes cannot be used simultaneously on an E1-F interface.
Examples
# Enables internal loopback on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 loopback local
fe1 timeslot-list
Use fe1 timeslot-list to bundle timeslots on an E1-F interface.
Use undo fe1 timeslot-list to restore the default.
Syntax
fe1 timeslot-list list
undo fe1 timeslot-list
Default
All the timeslots on an E1-F interface are bundled to form a 1984 kbps interface.
Views
E1-F interface view
Predefined user roles
network-admin
Parameters
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
Timeslot bundling results in interface rate change. For example, if you bundle timeslots 1 through 10, the interface rate is 10 × 64 kbps.
You can create only one channel set on an E1-F interface. For the channel set, the system creates one synchronous serial interface.
Timeslot 0 on E1-F interfaces is used for transmitting synchronization information. A bundling operation only involves timeslots 1 through 31.
When the E1-F interface is operating in unframed mode, the fe1 timeslot-list command is invalid.
Examples
# Bundle timeslots 1, 2, 5, 10 through 15, and 18 on the E1-F interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 timeslot-list 1,2,5,10-15,18
Related commands
fe1 unframed
fe1 unframed
Use fe1 unframed to configure an E1-F interface to operate in unframed mode.
Use undo fe1 unframed to restore the default.
Syntax
fe1 unframed
undo fe1 unframed
Default
An E1-F interface operates in framed mode.
Views
E1-F interface view
Predefined user roles
network-admin
Usage guidelines
In unframed mode, an E1-F interface is a 2048 kbps interface without timeslot division and has the same logical features as a standard synchronous serial interface.
In framed mode, an E1-F interface is physically divided into 32 timeslots numbered 0 through 31, with timeslot 0 for synchronization.
Examples
# Set the E1-F interface Serial 2/1/0 to operate in unframed mode.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] fe1 unframed
Related commands
fe1 timeslot-list
reset counters interface serial
Use reset counters interface serial to clear serial interface statistics.
Syntax
reset counters interface serial [ interface-number ]
Views
User view
Predefined user roles
network-admin
Parameters
serial [ interface-number ]: Specifies a serial interface by its number. If you do not specify the serial keyword, this command clears statistics for all interfaces. If you specify the serial keyword without specifying an interface, this command clears statistics for all serial interfaces.
Usage guidelines
Use this command to clear history statistics before you collect traffic statistics for a time period.
Examples
# Clear statistics for Serial 2/1/0.
<Sysname> reset counters interface serial 2/1/0