-t <timeout> Time to wait in seconds before giving up on finding a Surviving Partner to retrieve configuration information from. Only valid with the –u option.

-sDo not ask for confirmation. Run from a script. -v Prints the current version of zspconfig.

-f <file> The provided <file> is used as input to configure the Surviving Partner. See the next section on CONFIGURATION FILE for the syntax of the configuration file.

CONFIGURATION FILE

The configuration file contains commands for controlling the Surviving Partner setup. Commands are single lines end -delimited with a semicolon. Comments, spaces and new lines are ignored. Comments begin with the # character and include characters through the next new line. Comments may be placed on the same line as a command after the semicolon.

All configurations must include the VLAN configuration first by use of zconfig commands. zconfig commands can be put in the configuration file and will be passed directly to the zconfig application. zconfig commands start with the keyword zconfig and are of the same format as described in the zconfig manual page. Here is an example of zconfig

commands in a zspconfig configuration file. zconfig zhp0: vlan1 = zre1..4; zconfig zhp1: vlan2 = zre5..8; zconfig zhp2: vlan100 = zre14;

In the above example, three VLANs are created: zhp0 and zhp1 will be used as connections to high availability nodes; zhp2 will be used as the inter-connect between two Surviving Partner switches to run the VRRP heartbeat. All VLANs must be created before other zspconfig commands may operate on them.

The next section of a zspconfig configuration file sets up the IP addresses of the created VLANs. There are two types of addresses in a Surviving Partner setup: Physical Addresses, and Virtual Addresses. The Virtual Addresses are those that VRRP manages and moves to the current Master switch. The Physical Addresses are the real addresses of the switch, and are used for management only. Physical Addresses are setup using the sibling_addresses command. Virtual addresses are setup using the virtual_address command. The sibling addresses name comes from the fact that we are setting up the addresses for all of the siblings in the Surviving Partner group. So if we have two Surviving Partner switches, the sibling_addresses statement might look like this:

sibling_addresses: zhp0 = 10.0.0.30, 10.0.0.31;

sibling_addresses: zhp1 = 11.0.0.30, 11.0.0.31;

sibling_addresses: zhp100 = 100.0.0.30, 100.0.0.31;

Ethernet Switch Blade User's Guide

release 3.2.2j

page 247

Page 247
Image 247
Znyx Networks bh5700 manual Configuration File