Example
display controller t1
Syntax
View
Parameter
Description
Example
Use the
undo data-coding
By default, data inversion is disabled.
To prevent 7e in valid data from being taken for stuffing characters, HDLC inserts a
zero after every five ones in the data stream. Then, HDLC inverts every one bit into
a zero and every zero bit into a one. This ensures at least one out of every eight
bits is a one. When AMI encoding is adopted on a T1 interface, the use of data
inversion can eliminate the presence of multiple consecutive zeros.
At the two ends of the line, the same data inversion setting must be adopted.
# Enable user data inversion on CT1/PRI interface T1 2/0.
<Sysname> system-view
[Sysname] controller t1 2/0
[Sysname-T1 2/0] data-coding inverted
display controller t1 [ interface-number ]
Any view
interface-number: Interface number. In conjunction with the t1 keyword, it
specifies a CT1/PRI interface.
Use the
display controller t1
specified or all CT1/PRI interfaces.
This command displays the following information about the specified interface:
Physical state
■
Cable type
■
Framing
■
Clock source (mode)
■
Line code format
■
Loopback mode
■
Line idle code type
■
Interframe filling tag type
■
Alarm states
■
Error statistics gathered at 15-minute intervals during the last 24 hours
■
# Display information about interface T1 2/0.
<Sysname> display controller t1 2/0
T1 2/0 current state :DOWN
Description : T1 2/0 Interface
Basic Configuration:
command to restore the default.
command to display information about one
219