mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
vrrp: adjust to latest CLI changes
This commit is contained in:
parent
7f6393838c
commit
09b2efac21
@ -27,7 +27,7 @@ Basic setup
|
|||||||
|
|
||||||
VRRP groups are created with the
|
VRRP groups are created with the
|
||||||
``set high-availability vrrp group $GROUP_NAME`` commands. The required
|
``set high-availability vrrp group $GROUP_NAME`` commands. The required
|
||||||
parameters are interface, vrid, and virtual-address.
|
parameters are interface, vrid, and address.
|
||||||
|
|
||||||
minimal config
|
minimal config
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ minimal config
|
|||||||
|
|
||||||
set high-availability vrrp group Foo vrid 10
|
set high-availability vrrp group Foo vrid 10
|
||||||
set high-availability vrrp group Foo interface eth0
|
set high-availability vrrp group Foo interface eth0
|
||||||
set high-availability vrrp group Foo virtual-address 192.0.2.1/24
|
set high-availability vrrp group Foo address 192.0.2.1/24
|
||||||
|
|
||||||
You can verify your VRRP group status with the operational mode
|
You can verify your VRRP group status with the operational mode
|
||||||
``run show vrrp`` command:
|
``run show vrrp`` command:
|
||||||
@ -50,8 +50,8 @@ You can verify your VRRP group status with the operational mode
|
|||||||
IPv6 support
|
IPv6 support
|
||||||
------------
|
------------
|
||||||
|
|
||||||
The ``virtual-address`` parameter can be either an IPv4 or IPv6 address, but you
|
The ``address`` parameter can be either an IPv4 or IPv6 address, but you can
|
||||||
cannot mix IPv4 and IPv6 in the same group, and will need to create groups with
|
not mix IPv4 and IPv6 in the same group, and will need to create groups with
|
||||||
different VRIDs specially for IPv4 and IPv6.
|
different VRIDs specially for IPv4 and IPv6.
|
||||||
|
|
||||||
Disabling a VRRP group
|
Disabling a VRRP group
|
||||||
@ -97,14 +97,14 @@ In the following example, when VLAN9 transitions, VLAN20 will also transition:
|
|||||||
vrrp {
|
vrrp {
|
||||||
group VLAN9 {
|
group VLAN9 {
|
||||||
interface eth0.9
|
interface eth0.9
|
||||||
virtual-address 10.9.1.1/24
|
address 10.9.1.1/24
|
||||||
priority 200
|
priority 200
|
||||||
vrid 9
|
vrid 9
|
||||||
}
|
}
|
||||||
group VLAN20 {
|
group VLAN20 {
|
||||||
interface eth0.20
|
interface eth0.20
|
||||||
priority 200
|
priority 200
|
||||||
virtual-address 10.20.20.1/24
|
address 10.20.20.1/24
|
||||||
vrid 20
|
vrid 20
|
||||||
}
|
}
|
||||||
sync-group MAIN {
|
sync-group MAIN {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user