Installation guide
A Sample VLAN Topology
A Sample VLAN Topology
Chapter 7
82
# /etc/rcZ.d/S24isl
#
# rc script to build the inter-switch link (ISL) and
# connection to the same-side ShMM for the ATCA shelf.
#
set -u
case "$1" in
start)
# Build vlan4 that contains zre22..23.
#
zconfig zhp3: vlan4=zre22..23
zconfig zre22..23=untag4
# Assign an IP address to zhp3/vlan4:
#
ifconfig zhp3 192.168.0.43 netmask 255.255.255.0 up
;;
stop)
# Tear down vlan4 that contains zre22..23.
#
ifconfig zhp3 down
zconfig zhp3:teardown
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
esac
exit 0
Step 2. Enter the zsync command to make the rc script persistent:
zsync
Step 3. Enter the following commands to start up zhp3/vlan4:
chmod 755 /etc/rcZ.d/S24isl start
/etc/rcZ.d/S24isl start
Step 4. Enter the following command to verify that zhp3/vlan4 is properly configured:
zconfig -a
zhp0: vlan1 = zre13
zhp1: vlan2 = zre12
zhp2: vlan3 = zre0..11, zre14..21