NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

Example #1: script

(Netgear Switch) #script

?

 

apply

Applies configuration

script to the switch.

delete

Deletes a configuration script file from the switch.

list

Lists all configuration script files present on the switch.

show

Displays the

contents

of configuration script.

validate

Validate the

commands

of configuration script.

Example #2: script list and script delete

(Netgear Switch) #script list

 

Configuration Script Name

Size(Bytes)

-------------------------

-----------

basic.scr

93

running-config.scr

3201

2 configuration script(s) found.

1020706 bytes free.

(Netgear Switch) #script delete basic.scr

Are you sure you want to delete the configuration script(s)? (y/n) y

1 configuration script(s) deleted.

Example #3: script apply running-config.scr

(Netgear Switch) #script apply running-config.scr

Are you sure you want to apply the configuration script? (y/n) y

The systems has unsaved changes.

Would you like to save them now? (y/n) y

Configuration Saved!

15-2

Configuration Scripting

v1.0, May 2008

Page 142
Image 142
NETGEAR 7000 Series manual Example #1 script, Example #2 script list and script delete