Skip to content

Latest commit

 

History

History
150 lines (116 loc) · 4.33 KB

cisco.nxos.nxos_feature_module.rst

File metadata and controls

150 lines (116 loc) · 4.33 KB

cisco.nxos.nxos_feature

Manage features in NX-OS switches.

Version added: 1.0.0

  • Offers ability to enable and disable features in NX-OS.
Parameter Choices/Defaults Comments
feature
string / required
Name of feature.
state
string
    Choices:
  • enabled ←
  • disabled
Desired state of the feature.

Note

- name: Ensure lacp is enabled
  cisco.nxos.nxos_feature:
    feature: lacp
    state: enabled

- name: Ensure ospf is disabled
  cisco.nxos.nxos_feature:
    feature: ospf
    state: disabled

- name: Ensure vpc is enabled
  cisco.nxos.nxos_feature:
    feature: vpc
    state: enabled

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

Key Returned Description
commands
list
always
The set of commands to be sent to the remote device

Sample:
['nv overlay evpn']


Authors

  • Jason Edelman (@jedelman8)
  • Gabriele Gerbino (@GGabriele)
  • Suhas Bharadwaj (@srbharadwaj)