aruba / aoscx-ansible-role

Ansible roles for AOS-CX switches
24 stars 10 forks source link

VLAN Native tagged check #4

Closed Joe-Neville closed 4 years ago

Joe-Neville commented 4 years ago
  1. Additional check when native VLAN 1 is set. Previously this always resulted in native vlan untagged. Line 220-223 is an additional if statement to check native_vlan_tag.
  2. Line 236 - 238 is to allow a default posture whereby native_vlan_tag is True but no native_vlan_id is set. This defaults to native VLAN 1 tagged. N.B. With the CLI it is not possible to have a state in which the native vlan is set to tagged but no native vlan for the port is set. The tagged keyword follows the vlan trunk command: vlan trunk native 1 tag

Tested with 8320 running TL.10.03.0040