1 script apply, 2 script delete, 3 script list – Kontron AT8402 CLI User Manual

Page 222: 4 script show, 5 script validate, Management commands at8402

Advertising
background image

Management Commands

AT8402

AT8402 CLI Reference Manual

Page 5 - 32

show telnet !Displays the information about remote connections
! Display information about direct connections
show serial
! End of the script file!

NOTE: To specify a blank password for a user in the configuration script, you

must specify it as a space within quotes. For example, to change the
password for user

jane

from a blank password to

hello

, the script

entry is as follows:

users passwd jane

" "

hello

hello

5.10.1

script apply

This command applies the commands in the script to the switch. The <scriptname>

parameter is the name of the script to apply.
Format

script apply

<scriptname>

Mode

Privileged EXEC

5.10.2

script delete

This command deletes a specified script where the <scriptname> parameter is the

name of the script to delete. The <all> option deletes all the scripts present on the

switch.
Format

script delete

{<scriptname> | all}

Mode

Privileged EXEC

5.10.3

script list

This command lists all scripts present on the switch as well as the remaining available

space.
Format

script list

Mode

Global Config

Configuration Script Name of the script.
Size

Privileged EXEC

5.10.4

script show

This command displays the contents of a script file, which is named <scriptname>.
Format

script show

<scriptname>

Mode

Privileged EXEC

Output Format

line

<number>

:

<line contents>

5.10.5

script validate

This command validates a script file by parsing each line in the script file where

<scriptname> is the name of the script to validate.The validate option is intended to be

Advertising