From: Nicolas Dichtel Date: Tue, 9 Sep 2014 14:55:10 +0000 (+0200) Subject: ip/vxlan: add a help for ageing and maxaddress options X-Git-Tag: v3.17.0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2fbc57ee70abef9a9377f6b46b575a60e10f591;p=thirdparty%2Fiproute2.git ip/vxlan: add a help for ageing and maxaddress options These options were missing in usage and man pages. Signed-off-by: Nicolas Dichtel --- diff --git a/ip/iplink_vxlan.c b/ip/iplink_vxlan.c index 53c50accd..8aa25cd5f 100644 --- a/ip/iplink_vxlan.c +++ b/ip/iplink_vxlan.c @@ -28,6 +28,7 @@ static void explain(void) fprintf(stderr, " [ dstport PORT ] [ srcport MIN MAX ]\n"); fprintf(stderr, " [ [no]learning ] [ [no]proxy ] [ [no]rsc ]\n"); fprintf(stderr, " [ [no]l2miss ] [ [no]l3miss ]\n"); + fprintf(stderr, " [ ageing SECONDS ] [ maxaddress NUMBER ]\n"); fprintf(stderr, "\n"); fprintf(stderr, "Where: VNI := 0-16777215\n"); fprintf(stderr, " ADDR := { IP_ADDRESS | any }\n"); diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index 29d12fb2c..383917a63 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -262,6 +262,10 @@ the following additional arguments are supported: .I "[no]l2miss " .R " ] [ " .I "[no]l3miss " +.R " ] [ " +.BI ageing " SECONDS " +.R " ] [ " +.BI maxaddress " NUMBER " .R " ]" .in +8 @@ -326,6 +330,14 @@ are entered into the VXLAN device forwarding database. .I [no]l3miss - specifies if netlink IP ADDR miss notifications are generated. +.sp +.BI ageing " SECONDS" +- specifies the lifetime in seconds of FDB entries learnt by the kernel. + +.sp +.BI maxaddress " NUMBER" +- specifies the maximum number of FDB entries. + .in -8 .TP