Znyx Networks bh5700 Manuale Utente

Pagina di 359
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:
NOTE: These default scripts will change in later releases. Use them as examples.
S20stack - Script that calls zstack to combine the two BCM56504 24-port switch fabric chips 
into a single 48 port virtual switch. zstack must be run before any other switch configuration. 
S50layer2 - Script that sets up a basic Layer 2 switch. All 48  ports are set up on one VLAN.  This 
configuration script is appropriate for a Ethernet Switch Blade. It may need to be modified for 
other models.
Example Configuration Scripts
Example scripts are provided 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 48  ports are set up on one 
VLAN. This is a copy of the script in /etc/rcZ.d that is loaded in the default 
configuration.
S50layer3 - Script which sets up a basic Layer 3 switch. All 48 ports are set up on 
individual IP networks (VLANs). Layer 3 switching is enabled.
S50multivlan - Script which sets up multiple untagged VLANs. (See Using the S50layer3
Script)
 Layer 3 switching is enabled.
S55gatedRip1 - Script which is used with a Layer 3 switch and calls the GateD daemon to 
enable RIP 1 routing protocol.
S55gatedRip2 - Script which is used with a Layer 3 switch and calls the GateD daemon to 
enable RIP 2 routing protocol.
S55gatedOspf
 
- Script which is used with a Layer 3 switch and calls the GateD daemon to 
enable OSPF routing protocol.
Ethernet Switch Blade User's Guide
release  3.2.2j
page 47