dldp enable

Use dldp enable to enable DLDP on a port.

Use undo dldp enable to disable DLDP on a port.

Syntax

dldp enable

undo dldp enable

Default

DLDP is disabled on a port.

Views

Layer 2 Ethernet interface view, Layer 3 Ethernet interface view

Predefined user roles

network-admin

Usage guidelines

DLDP can take effect only after you enable it globally and on a port.

Examples

# Enable DLDP globally, and then enable DLDP on Ten-GigabitEthernet 1/0/1.

<Sysname> system-view
[Sysname] dldp global enable
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] dldp enable

Related commands