detect
Use detect to enable data carrier detection and level detection on the serial interface.
Use undo detect to disable data carrier detection and level detection on the serial interface.
Syntax
detect { dcd | dsr-dtr }
undo detect { dcd | dsr-dtr }
Default
Data carrier and level detection is enabled on serial interfaces.
Views
Synchronous serial interface view
Default command level
2: System level
Parameters
dsr-dtr: Detects DSR (data set ready) and DTR (data terminal ready) signals of DSU/CSU (data service
unit/channel service unit).
dcd: Detects the DCD (data carrier detect) signal of the DSU/CSU on the serial interface.
Usage guidelines
When determining whether a synchronous serial interface is up or down, the system detects by default
the DSR signal, DCD signal, and presence of cable connection. Only when the three signals are all valid
is the interface regarded as up. If level detection is disabled, the system considers that the interface is up
with both DTR and DSR being up after detecting the cable connection.
Examples
# Enable data carrier detection on synchronous serial interface 2/0/0.
<Sysname> system-view
[Sysname] interface serial 2/0/0
[Sysname-Serial2/0/0] detect dcd
display interface serial
Use display interface serial to display information about serial interfaces.
Syntax
display interface [ serial ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface serial interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
76