delay

Use this command to stop system execution for a specified duration in seconds. It functions like the sleep command in Linux and can be applied with the do option inside configuration mode.

Command Syntax

Copy
delay <0-1800>

Parameters

<0-1800>

Delay time interval (in seconds)

Default

None

Command Mode

Execution mode

Applicability

This command was introduced in OcNOS version 7.0.0

Example

Copy
OcNOS#delay 10
<terminal waits for 10 seconds>
OcNOS(config)#do delay 10
<terminal waits for 10 seconds>
OcNOS(config)#