diff options
author | Daniel Xu <dxu@dxuuu.xyz> | 2022-12-08 11:53:06 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2022-12-09 10:05:04 -0800 |
commit | 1a408bda2eec967bdb5dde5bb3dd99f7d9462f66 (patch) | |
tree | 03666336cfe6ba34a29ca4807464aaefd06d3472 /man | |
parent | 0faec4d050b607f7544b6cf9a4c2d57e191f981f (diff) | |
download | iproute2-1a408bda2eec967bdb5dde5bb3dd99f7d9462f66.tar.gz |
ip-link: man: Document existence of netns argument in add command
ip-link-add supports netns argument just like ip-link-set. This commit
documents the existence of netns in help text and man page.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Diffstat (limited to 'man')
-rw-r--r-- | man/man8/ip-link.8.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index 88ad9d7b..6c72e122 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -43,6 +43,8 @@ ip-link \- network device configuration .br .RB "[ " gro_max_size .IR BYTES " ]" +.RB "[ " netns " {" +.IR PID " | " NETNSNAME " } ]" .br .BI type " TYPE" .RI "[ " ARGS " ]" @@ -438,6 +440,10 @@ specifies the desired index of the new virtual device. The link creation fails, if the index is busy. .TP +.BI netns " { PID | NAME } " +specifies the desired network namespace to create interface in. + +.TP VLAN Type Support For a link of type .I VLAN |