Commands For Uldp Function

2.4 Commands for ULDP

2.4.1 debug uldp

Command: debug uldp (hello | probe | echo | unidir | all) [receive | send] interface [ethernet] IFNAME
no debug uldp (hello | probe | echo | unidir | all) [receive | send] interface [ethernet] IFNAME
Function: Enable debugging for receiving and sending the specified packets or all ULDP packets on a port. After enabling debugging, show the information of the received and sent packets in the terminal. The no command disables the debugging.
Parameters:

  • hello: packet’s type is hello. This is the announcement packet, including common announcement packets RSY and Flush packets.
  • probe: packet’s type is probe, the detection packet.
  • echo: packet’s type is echo, the response of the detection packet.
  • unidir: packet’s type is unidir, the announcement packet that discovers the single link.
  • all: All ULDP packets.

Command mode: Admin mode
Default: Disabled.
Usage guide: With this command users can check probe packets received by a port.
Example: Configure debug ULDP hello on Ethernet port 1/0/1 at receive.

active500EM#debug uldp hello receive interface ethernet 1/0/1

 

2.4.2 debug uldp error

Command: debug uldp error
no debug uldp error
Function: Enable the error message debug function. The no command disables the function.
Parameters: None.
Command mode: Admin Mode
Default: Disabled.
Usage guide: Use this command to display the error message.
Example: Display the error message.

active500EM#debug uldp error

 

2.4.3 debug uldp event

Command: debug uldp event
no debug uldp event
Function: Enable the message debug function to display the event. The no command disables this function.
Parameters: None.
Command mode: Admin Mode
Default: Disabled.
Usage guide: Use this command to display event information.
Example: Display event information.

active500EM#debug uldp event

 

2.4.4 debug uldp fsm interface ethernet

Command: debug uldp fsm interface ethernet <IFname>
no debug uldp fsm interface ethernet <IFname>
Function: Enable debugging information for ULDP for the specified interface. The no command disables the debugging information.
Parameter:

  • <IFname>: interface name.

Command mode: Admin Configuration Mode
Default: Disabled.
Usage guide: This command can be used to display the information about state transitions of the specified interfaces.
Example: Display information regarding state transitions of interface ethernet 1/0/1.

active500EM#debug uldp fsm interface ethernet 1/0/1

 

2.4.5 debug uldp interface ethernet

Command: debug uldp {hello|probe|echo|unidir|all} [receive|send] interface ethernet <IFname>
no debug uldp {hello|probe|echo|unidir|all} [receive|send] interface ethernet <IFname>
Function: Enable the display debug function for packet details. Display packet details of the terminal interface.
Parameters:

  • <IFname>: name of the interface.

Command mode: Admin Mode
Default: Disabled.
Usage guide: Enables the display debug function for packet details. Displays packet details of the terminal interface.
Example: Display the Hello packet details received on the interface Ethernet 1/0/1.

active500EM#debug uldp hello receive interface Ethernet 1/0/1

 

2.4.6 debug uldp packet

Command: debug uldp packet [receive|send] no debug uldp packet [receive|send] Function: Enable the receive and send packet debug function. Display the type and interface of the packet receiving and sending on the client. The no command disables this function.
Parameters: None.
Command mode: Admin Mode
Default: Disabled.
Usage guide: Use this command to display the packet received on each interface.
Example: Enable the receive and send packet debug function.

active500EM#debug uldp packet receive

 

2.4.7 uldp aggressive-mode

Command: uldp aggressive-mode
no uldp aggressive-mode
Function: Configure ULDP to work in aggressive mode. The no command restores to normal mode.
Parameters: None.
Command mode: Global Configuration Mode and Port Configuration Mode
Default: Normal mode.
Usage guide: The ULDP working mode can be configured only if it is enabled globally. When ULDP aggressive mode is enabled globally, the existing fiber ports will work in aggressive mode. Aggressive mode should be enabled in port configuration mode for the copper ports and fiber ports which are available after the configuration is available.
Example: Enable ULDP aggressive mode globally.

active500EM(config)#uldp aggressive-mode

 

2.4.8 uldp enable

Command: uldp enable
Function: ULDP will be enabled after issuing this command. In global configuration mode, this command will enable ULDP globally. In port configuration mode, this command will enable ULDP for the port.
Parameters: None.
Command mode: Global Configuration Mode and Port Configuration Mode
Default: ULDP is not configured.
Usage guide: ULDP can be configured for the ports only if ULDP is enabled globally. If ULDP is enabled globally, it will be effective for isting fiber ports. For copper ports and fiber ports which are available after ULDP is enabled, this command should be issued in the port configuration mode for ULDP to be effective.
Example: Enable ULDP in global configuration mode.

active500EM(config)#uldp enable

 

2.4.9 uldp disable

Command: uldp disable
Function: Disable ULDP configuration.
Parameters: None.
Command mode: Global Configuration Mode and Port Configuration Mode
Default: ULDP is not configured.
Usage guide: When ULDP is disabled globally, ULDP in all the ports will be disabled.
Example: Disable ULDP configuration in global configuration mode.

active500EM(config)#uldp disable

 

2.4.10 uldp hello-interval

Command: uldp hello-interval <integer>
no uldp hello-interval
Function: Configure the interval for ULDP to send hello messages. The no command restores the default interval for the hello messages.
Parameter:

  • <integer>: the interval for the hello messages. The valid value is from 5 to 100 seconds.

Command mode: Global Configuration Mode
Default: 10 seconds.
Usage guide: Interval for hello messages can be configured only if ULDP is enabled globally, its valid value is between 5 and 100 seconds.
Example: Configure the interval of hello messages to be 12 seconds.

active500EM(config)#uldp hello-interval 12

 

2.4.11 uldp manual-shutdown

Command: uldp manual-shutdown
no uldp manual-shutdown
Function: Configure ULDP to work in manual shutdown mode. The no command restores to automatic mode.
Parameters: None.
Command mode: Global Configuration Mode
Default: Auto mode.
Usage guide: This command can be issued only if ULDP has been enabled globally.
Example: Enable manual shutdown globally.

active500EM(config)#uldp manual-shutdown

 

2.4.12 uldp recovery-time

Command: uldp recovery-time<integer>
no uldp recovery-time
Function: Configure the interval for ULDP recovery timer. The no command restores the default configuration.
Parameter:

  • <integer>: time out value for the ULDP recovery timer. Its value is limited between 30 and 86400 seconds.

Command mode: Global Configuration Mode
Default: 0 is set by default which means the recovery is disabled.
Usage guide: If an interface is shutdown by ULDP, and the recovery timer times out, the interface will be reset automatically. If the recovery timer is set to 0, the interface will not be reset.
Example: Set the recovery timer to be 600 seconds.

active500EM(config)#uldp recovery-time 600

 

2.4.13 uldp reset

Command: uldp reset
Function: Reset the port when ULDP is shut down.
Parameters: None.
Command mode: Globally Configuration Mode and Port Configuration Mode
Default: None.
Usage guide: This command is only effective if the specified interface is disabled by ULDP.
Example: Reset all ports which are disabled by ULDP.

active500EM(config)#uldp reset

 

2.4.14 show uldp

Command: show uldp [interface ethernet<interface-name>] Function: Show the global ULDP configuration and status information of the interface. If <interface-name> is specified, ULDP configuration and status about the specified interface, as well as its neighbors?, will be displayed.
Parameter:

  • <interface-name>: interface name.

Command mode: Admin and Configuration Mode
Default: None.
Usage guide: If no parameters are entered, global ULDP information will be displayed. If the interface name is specified, information about the interface and its neighbors will be displayed along with the global information.
Example: Display global ULDP information.

active500EM(config)#show uldp

 


Return to Controller Wired CLI Table of Contents