Installation guide
A Sample VLAN Topology
A Sample VLAN Topology
Chapter 7
90
# /etc/rcZ.d/S50fabric
#
# rc script to build the fabric interface VLAN for
# the ATCA shelf.
#
set -u
case "$1" in
start)
# Build vlan5 that contains zre0..51 fabric.
#
zconfig zhp4: vlan5=zre0..51
zconfig zre0..51=untag5
# Do not assign an IP address to this zhp4/vlan5.
# Just set the state of zhp4 to up.
#
ifconfig zhp4 up
;;
stop)
# Tear down vlan5 that contains zre0..51.
#
ifconfig zhp4 down
zconfig zhp4:teardown
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
esac
exit 0
IMPORTANT The zre51 port is the Inter-Switch Link (ISL) for the fabric-side of the switch. If you
plan to connect the fabric portion of each switch into the same external network, do
not include zre51 in this VLAN configuration, as it will create a network loop and
likely bring down the external network. In this case, create a separate VLAN for
zre51 so that the ISL is isolated from the external network.
Step 4. Enter the following command line to move the default script out of the way. This will ensure that
the default script does not execute on the Switch Blade that configures the base interfaces:
mv /etc/rcZ.d/S50layer2 /etc/rcZ.d/off.S50layer2
Step 5. Enter the zsync command to make the rc script persistent:
zsync