
C613-50186-01 Rev B
Command Reference for AR2050V
2040
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
H
IGH
A
VAILABILITY
C
OMMANDS
HA
ASSOCIATE
ha associate
Overview
This command is used to change the mode of a VRRP session to High Availability
(HA) mode, and to associate it with a HA bypass port.
Use the
no
variant of this command to take the VRRP session out of HA-Mode.
Syntax
ha associate [
wan-bypass
<
1-2
>]
no ha associate [
wan-bypass <1-2
>]
Default
The default state of bypass port 1 and port 2 is deactivated.
Mode
Router Configuration
Usage
One VRRP session can have the control of one or two bypass ports. After VRRP has
the control of the wan-bypass ports, the state of the wan-bypass ports will be
determined by the VRRP state. If the VRRP session is in master state, then the
associated wan-bypass ports will be deactivated. If the VRRP session is in backup
or initial state, then the associated wan-bypass ports will be activated.
If no wan-bypass ports are specified, then it puts the VRRP session in HA mode and
the wan-bypass ports will always be deactived.
If there are one or more VRRP sessions running in HA mode, then the wan-bypass
ports should not be controlled by an other feature.
Examples
To change a VRRP session into HA mode, use the following commands:
awplus#
configure terminal
awplus(config)#
router vrrp 1 vlan1
awplus(config-router)#
ha associate
To change a VRRP session into HA mode and allow it to control wan-bypass port 1,
use the following commands:
awplus#
configure terminal
awplus(config)#
vrrp 1 vlan1
awplus(config-router)#
ha associate wan-bypass 1
To change a VRRP session to stop control of a wan-bypass port 1, use the following
commands:
awplus#
configure terminal
awplus(config)#
router vrrp 1 vlan1
awplus(config-router)#
no ha associate wan-bypass 1
Parameter
Description
<wan-bypass>
The control wan bypass port.
<1-2>
The identifier number of wan bypass port.