cli-script line command
Use this command to add lines to a CLI script. This command does not require a prepend string, and CLI script mode accepts every string except the CLI script end string. Each line that is added is saved individually to the CLI script.
Command Syntax
Copy
LINE
Parameters
LINE
Commands to add to cli-script
Default
None
Command Mode
cli-script mode
Applicability
This command was introduced in OcNOS version 7.0.0
Example
Copy
OcNOS#cli-script test
OcNOS(cli-script)#configure terminal
OcNOS(cli-script)#interface xe2
OcNOS(cli-script)#shutdown
OcNOS(cli-script)#commit