Znyx Networks bh5700 User Manual

Page 270

Advertising
background image

other words there is a unique vrid to ifname associated with the

–i option.

-s

Toggle preemption mode (Enabled by default). Preemption

means that a Master switch will go to Backup if a current Backup

has higher priority.

-M

Become MASTER when priority is equal. Be sure it is only

set on one host or the switches will oscillate. Must set –B

option on other hosts (requires preemption mode ! -s)

-B

Become BACKUP when priority is equal. See -M option

-S <script>

script to be called when state change occurs.

-a <auth> (not yet implemented) set the authentication type
auth=(none|pass/hexkey|ah/hexkey) hexkey=0x[0-9a-fA-F]+

-p <prio> Set the priority of this host in the virtual server

(default is 100)

-f <piddir>

specify the directory where the pid file is

stored (default is /var/run)

-c <conf> Configuration read from conf file (required when

managing multiple Virtual Routers). The contents of the conf
file are lines of command line options. Each line represents a

Virtual Router. Parameters given on the command line apply to
all Virtual Routers defined by the conf file. So for example, if

the command line reads:

vrrpd –d 50 –c vrrpd.conf

And the vrrpd.conf file contains:

-v 1 –i zhp0 –I zhp3 10.0.0.42

-v 2 –i zhp1 –I zhp3 11.0.0.42

vrrpd would be started controlling two Virtual Routers; one for
10.0.0.42 and the other for 11.0.0.42. They would both get a –d

50 option.

-d <delay> Set the advertisement interval. Default is 1 second.
By default time is specified in seconds. If the delay value ends

in a lower case ‘m’ the time is specified in milliseconds. The
millisecond specification results in a proprietary use of the

VRRP Adver Int field.

-m <address>

Change the virtual MAC address from

00:00:5E:00:01:<vid> to the provided addr. The addr should be

input as 6 two digit hex numbers that are colon delimited with no

Ethernet Switch Blade User's Guide

release 3.2.2j

page 270

Advertising