Configuration scripting – 3Com ADSL Modem Ethernet User Manual

Page 26

Advertising
background image

3-10

C

HAPTER

3: M

ANUAL

SETUP

Note: This capability is useful for system administrators or users who wish to
restrict access to the 3Com HomeConnect ADSL Modem Ethernet.

Care should be taken to remember the configured password. If the password is
forgotten, the unit must be sent back to 3Com support to have the feature
disabled.

Configuration Scripting

The 3Com HomeConnect ADSL Modem Ethernet provides a scripting utility that
will generate the CLI commands required to recreate a given configuration. After a
unit has been configured as desired, the command:

show configuration script

will generate the list of CLI commands to the console.

The console output can be captured into a file on your workstation using the
capabilities of your terminal emulation program or your TELNET utility. The
captured file can then be altered as required and then “played” into the console
of other unconfigured units.

As an alternative to directly executing a script file played into the console port, the
3Com HomeConnect ADSL Modem Ethernet is capable of executing a sequence
of commands from a script file stored in FLASH memory. The file can be directly
created in FLASH memory using the capture text command, or it can be created
on a remote workstation and then transferred to FLASH memory using TFTP. To
create the file using the CLI, use the command:

capture text <filename>

After invoking the command, anything you type at the console, anything you type
at the console will be redirected to the specified file. To terminate input, type
Ctrl-D. After the text has been captured, you can execute the commands at any
time using the DO command as follows:

do <filename>

Advertising