User Guide    750
Configuring DLDP DLDP Configuration
2.2  Using the CLI
Follow these steps to configure DLDP:
Step 1 configure
Enter global configuration mode.
Step 2 dldp
Globally enable DLDP.
Step 3 dldp interval 
interval-time
Configure the interval of sending advertisement packets on ports that are in the 
advertisement state.
interval-time
:
 
Specify the interval time. The valid values are from 1 to 30 seconds. By 
default, it is 5 seconds.
Step 3 dldp shut-mode { auto | manual }
Configure the DLDP shutdown mode when a unidirectional link is detected.
auto:
 
The switch automatically shuts down ports when a unidirectional link is detected. It is 
the default setting.
manual:
 
The switch displays an alert when a unidirectional link is detected. Then the users 
can manually shut down the unidirectional link ports.
Step 4 interface {fastEthernet 
port
 | range fastEthernet 
port-list
 | gigabitEthernet 
port
 | range 
gigabitEthernet 
port-list 
| ten-gigabitEthernet 
port
 | range ten-gigabitEthernet 
port-list
}
Enter interface configuration mode.
Step 5 dldp
Enable DLDP on the specified port.
Step 6 show dldp 
Verify the global DLDP configuration.
Step 7 show dldp interface
Verify the DLDP configuration of the ports.
Step 8 end
Return to privileged EXEC mode.
Step 9 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable DLDP globally, configure the DLDP interval as 
10 seconds and specify the shutdown mode as auto.
Switch#configure
Downloaded from ManualsNet.com search engine