X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip6-nd%2Fip6_ra.c;fp=src%2Fvnet%2Fip6-nd%2Fip6_ra.c;h=d3597706293c2e63ecceb8a0801067a7a4effc4c;hb=2c77ae484c30ca5a752c5f7ccd336d8e977db9a6;hp=895f309282040f6bee6c44a28ad53341ddb33f6d;hpb=ecd6b1a985acd8e0256a170f1fe1f7e38df8c420;p=vpp.git diff --git a/src/vnet/ip6-nd/ip6_ra.c b/src/vnet/ip6-nd/ip6_ra.c index 895f3092820..d3597706293 100644 --- a/src/vnet/ip6-nd/ip6_ra.c +++ b/src/vnet/ip6-nd/ip6_ra.c @@ -2175,7 +2175,6 @@ format_ip6_ra (u8 * s, va_list * args) return (s); } - /*? * This command is used to configure the neighbor discovery * parameters on a given interface. Use the 'show ip6 interface' @@ -2183,9 +2182,16 @@ format_ip6_ra (u8 * s, va_list * args) * on a given interface. This command has three formats: * * - * Format 1 - Router Advertisement Options: (Only one can be entered in a single command) + * Format 1 - Router Advertisement Options: (Only one can be entered in + * a single command) * - * 'ip6 nd [no] [ra-managed-config-flag] | [ra-other-config-flag] | [ra-suppress] | [ra-suppress-link-layer] | [ra-send-unicast] | [ra-lifetime ] | [ra-initial ] | [ra-interval []] | [ra-cease]' + * @clistart + * ip6 nd [no] [ra-managed-config-flag] | + * [ra-other-config-flag] | [ra-suppress] | [ra-suppress-link-layer] | + * [ra-send-unicast] | [ra-lifetime ] | + * [ra-initial ] | + * [ra-interval []] | [ra-cease] + * @cliend * * Where: * @@ -2211,7 +2217,7 @@ format_ip6_ra (u8 * s, va_list * args) * and the 'no' option returns it to this default state. * * [no] ra-send-unicast - Use the source address of the - * router-solicitation message if availiable. The default is to use + * router-solicitation message if available. The default is to use * multicast address of all nodes, and the 'no' option returns * it to this default state. * @@ -2242,52 +2248,60 @@ format_ip6_ra (u8 * s, va_list * args) * * Format 2 - Prefix Options: * - * 'ip6 nd [no] prefix / [ | infinite] [no-advertise] [off-link] [no-autoconfig] [no-onlink]' + * @clistart + * ip6 nd [no] prefix / + * [ | infinite] [no-advertise] [off-link] + * [no-autoconfig] [no-onlink] + * @cliend * * Where: * * no - All additional flags are ignored and the prefix is deleted. * - * - '' is the - * length of time in seconds during what the prefix is valid for the purpose of - * on-link determination. Range is 7203 to 2592000 seconds and default is 2592000 - * seconds (30 days). '' is the prefered-lifetime and is the - * length of time in seconds during what addresses generated from the prefix remain - * preferred. Range is 0 to 604800 seconds and default is 604800 seconds (7 days). + * - '' is + * the length of time in seconds during what the prefix is valid for the + * purpose of on-link determination. Range is 7203 to 2592000 seconds and + * default is 2592000 seconds (30 days). '' is the + * preferred-lifetime and is the length of time in seconds during what + * addresses generated from the prefix remain preferred. Range is 0 to 604800 + * seconds and default is 604800 seconds (7 days). * - * infinite - Both '' and '<' - * are inifinte, no timeout. + * infinite - Both '' and + * '' are infinite, no timeout. * * no-advertise - Do not send full router address in prefix * advertisement. Default is to advertise (i.e. - This flag is off by default). * - * off-link - Prefix is off-link, clear L-bit in packet. Default is on-link - * (i.e. - This flag is off and L-bit in packet is set by default and this prefix can - * be used for on-link determination). 'no-onlink' also controls the L-bit. + * off-link - Prefix is off-link, clear L-bit in packet. Default is + * on-link (i.e. - This flag is off and L-bit in packet is set by default + * and this prefix can be used for on-link determination). 'no-onlink' + * also controls the L-bit. * - * no-autoconfig - Do not use prefix for autoconfiguration, clear A-bit in packet. - * Default is autoconfig (i.e. - This flag is off and A-bit in packet is set by default. + * no-autoconfig - Do not use prefix for autoconfiguration, clear + * A-bit in packet. Default is autoconfig (i.e. - This flag is off and A-bit + * in packet is set by default. * - * no-onlink - Do not use prefix for onlink determination, clear L-bit in packet. - * Default is on-link (i.e. - This flag is off and L-bit in packet is set by default and - * this prefix can be used for on-link determination). 'off-link' also controls - * the L-bit. + * no-onlink - Do not use prefix for onlink determination, clear L-bit + * in packet. Default is on-link (i.e. - This flag is off and L-bit in packet + * is set by default and this prefix can be used for on-link determination). + * 'off-link' also controls the L-bit. * * * Format 3: - Default of Prefix: * - * 'ip6 nd [no] prefix / default' + * @cliexcmd{ip6 nd [no] prefix / default} * - * When a new prefix is added (or existing one is being overwritten) default - * uses default values for the prefix. If no is used, the default - * is ignored and the prefix is deleted. + * When a new prefix is added (or existing one is being overwritten) + * default uses default values for the prefix. If no is + * used, the default is ignored and the prefix is deleted. * * * @cliexpar * Example of how set a router advertisement option: * @cliexcmd{ip6 nd GigabitEthernet2/0/0 ra-interval 100 20} * Example of how to add a prefix: - * @cliexcmd{ip6 nd GigabitEthernet2/0/0 prefix fe80::fe:28ff:fe9c:75b3/64 infinite no-advertise} + * @cliexcmd{ip6 nd GigabitEthernet2/0/0 prefix fe80::fe:28ff:fe9c:75b3/64 + * infinite no-advertise} * Example of how to delete a prefix: * @cliexcmd{ip6 nd GigabitEthernet2/0/0 no prefix fe80::fe:28ff:fe9c:75b3/64} ?*/