cisco.nxos.nxos_vpc_interface (7.0.0) — module

Manages interface VPC configuration

| "added in version" 1.0.0 of cisco.nxos"

Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)

Install collection

Install with ansible-galaxy collection install cisco.nxos:==7.0.0


Add to requirements.yml

  collections:
    - name: cisco.nxos
      version: 7.0.0

Description

Manages interface VPC configuration

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- cisco.nxos.nxos_vpc_interface:
    portchannel: 10
    vpc: 100

Inputs

    
vpc:
    description:
    - VPC group/id that will be configured on associated portchannel.
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Manages desired state of the resource.
    type: str

peer_link:
    description:
    - Set to true/false for peer link config on associated portchannel.
    type: bool

portchannel:
    description:
    - Group number of the portchannel that will be configured.
    required: true
    type: str

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - interface port-channel100
  - vpc 10
  type: list