switchsetlan(1M) — Series 800 Only
Requires Optional SwitchOver/UX Software
NAME
switchsetlan − set LAN station address
SYNOPSIS
switchsetlan [-f infofile] hostname
Remarks:
This command requires installation of optional SwitchOver/UX software (not included in the standard HP-UX operating system) before it can be used.
DESCRIPTION
switchsetlan changes the network station addresses for LAN cards on the currently running system processor to the addresses listed in the SwitchOver/UX information file.
Arguments
-f infofile Name of the information file. Default is /etc/switch/Switchinfo.
hostname Name of the host running the switchsetlan command.
switchsetlan finds the section in the information file describing the given host. Within this section, it finds all entries of the form
lan# = station address
where # is 0-9 or a-f, and station address is the new station address in hexadecimal beginning with 0x. For each entry, it changes the station address for the LAN card attached to /dev/lan# to the given address. (Note: the number (or letter) at the end of the filename is the logical unit number, which is not necessarily the interface unit number used by ifconfig (see ifconfig(1M). ioscan shows the correspondence between hardware paths (backplane slot numbers) and logical units − see ioscan(1M)).
The new station addresses are supplied by HP for use with the SwitchOver/UX software product. They are not the hardware station addresses of any cards. For each host in the SwitchOver/UX group, there should be a new station address for each LAN interface.
switchsetlan should be executed at bootup, normally from /etc/rc, before other networking software is started. It is executed by each member of the SwitchOver/UX group.
The addresses on the networking cards are not used because they vary, depending on which system processor is running a given host. The new station addresses depend only on the host. Using these new addresses ensures that Internet software does not see an inconsistent mapping between Internet addresses and station addresses when a primary system processor fails and a standby system processor takes over.
switchsetlan is supported on Ethernet and FDDI LAN interfaces only.
Only users with appropriate privileges can run switchsetlan.
AUTHOR
switchsetlan was developed by HP.
FILES
/etc/switch/setlan1 subprogram
/dev/lan* interface to LAN cards
/etc/switch/Switchinfo
default SwitchOver/UX information file
SEE ALSO
switchheartb(1m), switchreadp(1m), switchdiskl(1m), switchsetflg(1m), switchinfo(4).
Hewlett-Packard Company — HP-UX Release 9.0: August 1992