Switch Port Interfaces; Layer 2 Switch Configuration - HP bh5700 User Manual

Ethernet switch blade atca 14-slot blade server
Table of Contents

Advertisement

Switch Port Interfaces

For each switch port, OpenArchitect creates a separate interface with its own MAC address called
a ZNYX raw Ethernet (zre). After the initial power up, 48 zre interfaces are created, one for
each in band port. You cannot directly access or modify the zre interfaces.
During the initial power up of the switch, the default configuration creates a Layer 2 switch. The
Layer 2 configuration places the zre interfaces in one zhp interface. See Figure 4.1: Fabric
VLANs The number after zre represents the corresponding switch port number (that is, zre1
represents port 1 on the switch).

Layer 2 Switch Configuration

The steps to build a Layer 2 switch involve creating groups of switch ports in VLANs (Layer 2
switching domains) and bringing the interfaces up. zconfig creates the VLAN group of switch
ports as well as a network interface. Use ifconfig(1M) on the network interface to bring up
the VLAN group.
A startup script called /etc/rcZ.d/S50layer2 is executed at boot time creating one untagged
VLAN (zhp0) for all ports. The ISL is assigned its own VLAN. The interface to the host is then
assigned the IP address of 10.0.0.43 to allow access to the switch. The VLAN is assigned an IP
address. The S50layer2 script does the following:
## Create a single untagged vlan (i.e. interface), consisting
# of the 48 Gigabit Ethernet ports Layer 2 forwarding enabled
# Put the ISL in its own vlan to avoid loops
#
/usr/sbin/zconfig zhp0: vlan1=zre0..50
/usr/sbin/zconfig zre0..50=untag1
/usr/sbin/zconfig zhp1: vlan2=zre51
/usr/sbin/zconfig zre51=untag2
sleep 1
#
# Assign the ZNYX default IP address 10.0.0.43 to the
# zhp0 interface and start it
#
ifconfig zhp0 10.0.0.43 netmask 255.255.255.0 broadcast
10.0.0.255 up
Ethernet Switch Blade User's Guide
release 3.2.2j
page 49
Downloaded from
www.Manualslib.com
manuals search engine

Advertisement

Table of Contents
loading

Table of Contents