Default fabric interface configuration – Znyx Networks bh5700 User Manual

Page 163

Advertising
background image

Default Fabric Interface Configuration

Editing the

S50layer2

script can change the Ethernet Switch Blade Fabric Interface default

configuration. The

S50Layer2

script and included example scripts

(

/etc/rcZ.d/examples

) can be used as templates to create custom scripts. The default

S50layer2

script configures the switch accordingly:

1.

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. (Editing this script is not recommended.)

2.

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 an Ethernet Switch Blade. It may need to be modified
for other models.

Ethernet Switch Blade User's Guide

release 3.2.2j

page 163

OpenArchitect login: root
sh-2.04# ifconfig
lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16144 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

zhp0 Link encap:Ethernet HWaddr 00:11:65:09:E0:18

inet addr:10.0.0.42 Bcast:10.0.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:281 errors:0 dropped:0 overruns:0 frame:0

TX packets:29 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:30018 (29.3 Kb) TX bytes:2027 (1.9 Kb)

Base address:0xc000

sh-2.04#

Advertising