From 7456e5b3b2f40a2d359d4afdbaad0cbb18c3a7ce Mon Sep 17 00:00:00 2001 From: Ghasem Naddaf Date: Thu, 10 Oct 2019 16:04:58 -0700 Subject: [PATCH] doc: minor updates to vrrp doc clarify IPv6 address, debug config and default version Signed-off-by: Ghasem Naddaf --- doc/user/vrrp.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/user/vrrp.rst b/doc/user/vrrp.rst index a2dd950987..99719dc3da 100644 --- a/doc/user/vrrp.rst +++ b/doc/user/vrrp.rst @@ -108,7 +108,7 @@ Suppose you have an interface ``eth0`` with the following configuration: .. code-block:: console - $ ip link show eth0 + $ ip addr show eth0 2: eth0: 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 @@ -118,7 +118,7 @@ Suppose you have an interface ``eth0`` with the following configuration: 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. @@ -426,10 +426,11 @@ Show commands, global defaults and debugging configuration commands. 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 @@ -482,7 +483,8 @@ execute the following command: .. 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 -- 2.39.5