.. code-block:: console
- $ ip link show eth0
+ $ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 02:17:45:00:aa:aa brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global dynamic eth0
inet6 fe80::17:45ff:fe00:aaaa/64 scope link
valid_lft forever preferred_lft forever
-Suppose the address you want to back up is ``10.0.2.16``, and will be managed
+Suppose that the IPv4 and IPv6 addresses you want to back up are ``10.0.2.16`` and ``2001:db8::370:7334``, and that they will be managed
by the virtual router with id ``5``. A macvlan device with the appropriate MAC
address must be created before VRRP can begin to operate.
VRID will only show routers with that VRID. Specifying ``json`` will dump
each router state in a JSON array.
-.. index:: debug vrrp [{protocol|autoconfigure|packets|sockets|ndisc|arp|zebra}]
-.. clicmd:: debug vrrp [{protocol|autoconfigure|packets|sockets|ndisc|arp|zebra}]
+.. index:: [no] debug vrrp [{protocol|autoconfigure|packets|sockets|ndisc|arp|zebra}]
+.. clicmd:: [no] debug vrrp [{protocol|autoconfigure|packets|sockets|ndisc|arp|zebra}]
- Toggle debugging logs for some or all components of VRRP.
+ Toggle debugging logs for VRRP components.
+ If no component is specified, debugging for all components are turned on/off.
protocol
Logs state changes, election protocol decisions, and interface status
.. clicmd:: [no] vrrp autoconfigure [version (2-3)]
Generates VRRP configuration based on the interface configuration on the
- base system. Any existing interfaces that are configured properly for VRRP -
+ base system. If the protocol version is not specified, the default is VRRPv3.
+ Any existing interfaces that are configured properly for VRRP -
i.e. have the correct MAC address, link local address (when required), IPv4
and IPv6 addresses - are used to create a VRRP router on their parent
interfaces, with VRRP IPvX addresses taken from the addresses assigned to