Skip to content

Latest commit

 

History

History
166 lines (133 loc) · 5.35 KB

cisco.nxos.nxos_vrf_interface_module.rst

File metadata and controls

166 lines (133 loc) · 5.35 KB

cisco.nxos.nxos_vrf_interface

Manages interface specific VRF configuration.

Version added: 1.0.0

  • Manages interface specific VRF configuration.
Parameter Choices/Defaults Comments
interface
string / required
Full name of interface to be managed, i.e. Ethernet1/1.
state
string
    Choices:
  • present ←
  • absent
Manages desired state of the resource.
vrf
string / required
Name of VRF to be managed.

Note

- name: Ensure vrf ntc exists on Eth1/1
  cisco.nxos.nxos_vrf_interface:
    vrf: ntc
    interface: Ethernet1/1
    state: present

- name: Ensure ntc VRF does not exist on Eth1/1
  cisco.nxos.nxos_vrf_interface:
    vrf: ntc
    interface: Ethernet1/1
    state: absent

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
commands
list
always
commands sent to the device

Sample:
['interface loopback16', 'vrf member ntc']


Authors

  • Jason Edelman (@jedelman8)
  • Gabriele Gerbino (@GGabriele)