Changing the shell prompt, Default configuration scripts, Example configuration scripts – Znyx Networks bh5700 User Manual

Page 92

Advertising
background image

files into flash for reloading.

Changing the Shell Prompt

You may use standard bash shell procedures to change the prompts on your base switches. Many
sites choose a system that distinguishes among the individual switches at their location. The
same rules apply for saving your choice (zsync) as for all other configuration changes.

Default Configuration Scripts

As shipped the following scripts are run from

/etc/rcZ.d

as the switch boots up:

S20stack - Script that calls

zstack to combine the two BCM5695 twelve-port

switch fabric chips into a single 24 port virtual switch. zstack must be run before
any other switch configuration.

S30e1000 - Script that loads the e1000 driver module for the Out-of-Band Ethernet
ports.

S40vpd - Script that checks the current OA version, and loads into the Vital Product
Data (VPD) area if necessary.

S50layer2 - Script that sets up a basic Layer 2 switch. All 24 10/100/1000 ports are
set up on one IP network (VLAN). The ISL is set up in its own vlan.

Example Configuration Scripts

Example scripts are supplied that can be used as templates. Use one of the scripts located in the
switch /etc/rcZ.d/examples directory to help you configure the switch. The default
configuration for the switch is located in the script file /etc/rcZ.d/S50layer2.

The following scripts are included. Each is examined in more detail later in the appropriate
section describing common Layer 2 and Layer 3 configurations:

S50layer2 - Script which sets up a basic Layer 2 switch. All 24 10/100/1000 ports are set
up on one IP network (VLAN). This is a copy of the switch in /etc/rcZ.d that is
loaded in the default configuration.

S50layer2sp - Script which sets up a basic Layer 2 switch. All 24 10/100/1000 ports
are set up on one IP network (VLAN), and turns on bridge support for Spanning Tree.

S50layer3 - Script which sets up a basic Layer 3 switch. All 24 10/100/1000 are set
up on individual IP networks (VLANs). Layer 3 switching is enabled.

Ethernet Switch Blade User's Guide

release 3.2.2j

page 92

Advertising