R3303-HP HSR6800 Routers High Availability Command Reference

57
DLDP configuration commands
The commands in this chapter are supported only when the SAP module is operating inbridge mode.
display dldp
Use display dldp to display the DLDP configuration of a port.
Syntax
display dldp [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface-type interface-number: Port type and port number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not provide the interface-type interface-number argument, this command displays the DLDP
configuration of all the DLDP-enabled ports.
Examples
# Display the DLDP configuration of all the DLDP-enabled ports.
<Sysname> display dldp
DLDP global status : enable
DLDP interval : 5s
DLDP work-mode : enhance
DLDP authentication-mode : simple
DLDP unidirectional-shutdown : auto
DLDP delaydown-timer : 2s
The number of enabled ports is 2.
Interface GigabitEthernet3/0/1
DLDP port state : advertisement
DLDP link state : up
The neighbor number of the port is 1 (the maximum number ever detected is 2).