]> git.proxmox.com Git - mirror_frr.git/commitdiff
doc: minor updates to vrrp doc
authorGhasem Naddaf <ghasem.naddaf@gmail.com>
Thu, 10 Oct 2019 23:04:58 +0000 (16:04 -0700)
committerGhasem Naddaf <ghasem.naddaf@gmail.com>
Thu, 10 Oct 2019 23:04:58 +0000 (16:04 -0700)
clarify IPv6 address, debug config and default version

Signed-off-by: Ghasem Naddaf <ghasem.naddaf@gmail.com>
doc/user/vrrp.rst

index a2dd950987d75d2f240627c18c3999938a1bbf7e..99719dc3da0866a0c60303b27a2eeb3fa17dda73 100644 (file)
@@ -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: <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
@@ -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