0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Doc: Document RAdv "custom option" configuration definition

This commit is contained in:
Alexander Zubkov 2023-08-24 17:41:51 +02:00 committed by Ondrej Zajicek
parent f411a19bb0
commit cbb43d6ff3

View File

@ -4549,6 +4549,21 @@ definitions, prefix definitions and DNS definitions:
options and there is a short variant <cf>dnssl <m/domain/</cf> that just options and there is a short variant <cf>dnssl <m/domain/</cf> that just
specifies one DNS search domain. specifies one DNS search domain.
<tag><label id="radv-custom-option">custom option type <m/number/ value <m/binary/</tag>
Custom option definitions allow to define an arbitrary option to
advertise. You need to specify the option type number and the binary
payload of the option. The length field is calculated automatically.
Like <cf/rdnss/ above, multiple definitions are cumulative, they can
be used also as interface-specific options.
The following example advertises PREF64 option (<rfc id="8781">) with
prefix <cf>2001:db8:a:b::/96</cf> and the lifetime of <cf/1 hour/:
<label id="radv-custom-option-exam">
<p><code>
custom option type 38 value hex:0e10:2001:0db8:000a:000b:0000:0000;
</code>
<tag><label id="radv-trigger">trigger <m/prefix/</tag> <tag><label id="radv-trigger">trigger <m/prefix/</tag>
RAdv protocol could be configured to change its behavior based on RAdv protocol could be configured to change its behavior based on
availability of routes. When this option is used, the protocol waits in availability of routes. When this option is used, the protocol waits in
@ -4678,6 +4693,10 @@ definitions, prefix definitions and DNS definitions:
<tag><label id="radv-iface-dnssl-local">dnssl local <m/switch/</tag> <tag><label id="radv-iface-dnssl-local">dnssl local <m/switch/</tag>
Use only local DNSSL definitions for this interface. See <cf/rdnss local/ Use only local DNSSL definitions for this interface. See <cf/rdnss local/
option above. Default: no. option above. Default: no.
<tag><label id="radv-iface-custom-local">custom option local <m/switch/</tag>
Use only local custom option definitions for this interface. See <cf/rdnss local/
option above. Default: no.
</descrip> </descrip>
<p>Prefix specific options <p>Prefix specific options