beautypg.com

1 script apply, 2 script apply nointerl.scr – Kontron AT8902 Full Size CLI User Manual

Page 273

background image

AT8901/2/3

Management Commands

Page 6 - 33

AT8901/2/3 CLI Reference Manual

You should use scripts on systems with default configuration; however, you are not
prevented from applying scripts on systems with non-default configurations.

Scripts must conform to the following rules:

The file extension must be “.scr”.

A maximum of ten scripts are allowed on the switch.

The combined size of all script files on the switch shall not exceed 2048 KB.

The maximum number of configuration file command lines is 2000.

You can type single-line annotations at the command prompt to use when you write
test or configuration scripts to improve script readability. The exclamation point (!)
character flags the beginning of a comment. The comment flag character can begin a
word anywhere on the command line, and all input following this character is ignored.
Any command line that begins with the “!” character is recognized as a comment line
and ignored by the parser.

The following lines show an example of a script:

! Script file for displaying management access

show telnet !Displays the information about remote connections

! Display information about direct connections

show serial

! End of the script file!

6.10.1

script apply

This command applies the commands in the script to the switch. The

parameter is the name of the script to apply.

Format

script apply

Mode

Privileged EXEC

6.10.2

script apply nointerl.scr

This command disables the connections between redundant hub boards. When two hub

boards are inserted into a standard ATCA chassis, they are connected via direct GE

connections on channel 2 for the base fabric (AT8901/2) and channel 1 on the

extension fabric (AT8902 only).

These connections may create bridging loops when enabled. During normal operation,

it is often useful to completely separate the redundant hub boards and thus create up to

four independent switching/bridging domains.

The boards come with a script installed that disables the interlinks. This script can be

applied to disable the respective interfaces, i.e.

interface 0/19 for the base fabric (AT8901/2)

interface 0/5 and 0/6 for the extension fabric This commands sets the connection of
an AMC to a storage modul on another AMC or on local board (AT8902 only).

Format

script apply nointerl.scr

Mode

Privileged EXEC