Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meraki_ms_switchport trunk with no native vlan #425

Open
The-Sec opened this issue Jan 20, 2023 · 1 comment
Open

meraki_ms_switchport trunk with no native vlan #425

The-Sec opened this issue Jan 20, 2023 · 1 comment

Comments

@The-Sec
Copy link

The-Sec commented Jan 20, 2023

** PlaceHolder **

@y0rune
Copy link
Contributor

y0rune commented Jan 21, 2023

For the creating the trunk port with the native vlan you can add vlan option in a playbook task:
Task:

- name: Configure port as trunk
  meraki_switchport:
    auth_key: '{{ auth_key }}'
    state: present
    serial: '{{ serial_switch }}'
    number: 8
    enabled: true
    name: Test Port
    type: trunk
    vlan: 10
    allowed_vlans: 10, 100, 200
  delegate_to: localhost

After task screenshot from Meraki Dashboard:
image

That option is when the task has a vlan. In case when the option vlan is not in the playbook the port will have the previous value of the vlan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants