diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-06-27 10:30:41 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-06-27 10:30:41 -0400 |
commit | a5be8dabd62543a018e8ab4c3b2cf810f15b6a92 (patch) | |
tree | 0ff2f25ec9c3c291ad1ca7db22dc78fd6d35c018 /man/networkctl.xml | |
parent | networkctl: display address labels (diff) | |
download | systemd-a5be8dabd62543a018e8ab4c3b2cf810f15b6a92.tar.gz systemd-a5be8dabd62543a018e8ab4c3b2cf810f15b6a92.tar.bz2 systemd-a5be8dabd62543a018e8ab4c3b2cf810f15b6a92.zip |
Add networkctl label to man and shell completion
Diffstat (limited to 'man/networkctl.xml')
-rw-r--r-- | man/networkctl.xml | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/man/networkctl.xml b/man/networkctl.xml index 809eb7ec6..d4fa5e902 100644 --- a/man/networkctl.xml +++ b/man/networkctl.xml @@ -172,14 +172,40 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) 1 neighbors listed.</programlisting></para> </listitem> </varlistentry> + + <varlistentry> + <term> + <command>label</command> + </term> + + <listitem><para>Show numerical address labels that can be used for address selection. + This is the same information that + <citerefentry><refentrytitle>ip-addrlabel</refentrytitle><manvolnum>8</manvolnum></citerefentry> + shows. See <ulink url="https://tools.ietf.org/html/rfc3484">RFC 3484</ulink> + for a discussion of address labels.</para> + + <para>Produces output similar to: + <programlisting>Prefix/Prefixlen Label + ::/0 1 + fc00::/7 5 + fec0::/10 11 + 2002::/16 2 + 3ffe::/16 12 + 2001:10::/28 7 + 2001::/32 6 +::ffff:0.0.0.0/96 4 + ::/96 3 + ::1/128 0</programlisting></para> + </listitem> + </varlistentry> + </variablelist> </refsect1> <refsect1> <title>Exit status</title> - <para>On success, 0 is returned, a non-zero failure - code otherwise.</para> + <para>On success, 0 is returned, a non-zero failure code otherwise.</para> </refsect1> <refsect1> @@ -187,7 +213,8 @@ s - Service VLAN, m - Two-port MAC Relay (TPMR) <para> <citerefentry><refentrytitle>systemd-networkd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>, <citerefentry><refentrytitle>systemd.network</refentrytitle><manvolnum>5</manvolnum></citerefentry>, - <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry> + <citerefentry><refentrytitle>systemd.netdev</refentrytitle><manvolnum>5</manvolnum></citerefentry>, + <citerefentry project='die-net'><refentrytitle>ip</refentrytitle><manvolnum>8</manvolnum></citerefentry> </para> </refsect1> </refentry> |