]> git.proxmox.com Git - mirror_iproute2.git/commit - man/man8/ip-link.8.in
ip link/addr: Add support for vrf keyword
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 29 Jun 2016 18:26:58 +0000 (11:26 -0700)
committerStephen Hemminger <shemming@brocade.com>
Thu, 7 Jul 2016 04:28:31 +0000 (21:28 -0700)
commit104444c2019a60671683da5ccfb6273e8238b050
tree2dd92c63cd4f61c70fc347a72bbec1915e8806b6
parent7dc0e974f16b5dd827d1ceb4323376012490a608
ip link/addr: Add support for vrf keyword

Add vrf keyword to 'ip link' and 'ip addr' commands (common list code).

Allows:
1. Adding a link to a VRF
       $ ip link set NAME vrf NAME

   Removing a link from a VRF still uses 'ip link set NAME nomaster'

2. Showing links associated with a VRF:
       $ ip link show vrf NAME

3. List addresses associated with links in a VRF
       $ ip -br addr show vrf red

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
ip/ipaddress.c
ip/iplink.c
man/man8/ip-address.8.in
man/man8/ip-link.8.in