pn_vlan – CLI command to create/delete a VLAN¶
DEPRECATED¶
- Removed in Ansible
version: 2.12
- Why
Doesn’t support latest Pluribus Networks netvisor
- Alternative
Latest modules will be pushed in Ansible future versions.
Synopsis¶
Execute vlan-create or vlan-delete command.
VLANs are used to isolate network traffic at Layer 2.The VLAN identifiers 0 and 4095 are reserved and cannot be used per the IEEE 802.1Q standard. The range of configurable VLAN identifiers is 2 through 4092.
Parameters¶
Examples¶
- name: create a VLAN
pn_vlan:
state: 'present'
pn_vlanid: 1854
pn_scope: fabric
- name: delete VLANs
pn_vlan:
state: 'absent'
pn_vlanid: 1854
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module will be removed in version 2.12. [deprecated]
For more information see DEPRECATED.