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

interface trunk native vlan support #34

Open
GuyFoetz opened this issue May 3, 2021 · 1 comment · May be fixed by #35
Open

interface trunk native vlan support #34

GuyFoetz opened this issue May 3, 2021 · 1 comment · May be fixed by #35

Comments

@GuyFoetz
Copy link

GuyFoetz commented May 3, 2021

SUMMARY

os6_vlan does not support native vlans on trunk ports

ISSUE TYPE
  • Bug Report
COMPONENT NAME

os6_vlan

ANSIBLE VERSION
ansible 2.10.5
  python version = 3.8.6 (default, Jan 27 2021, 15:42:20) [GCC 10.2.0]
CONFIGURATION
ANSIBLE_SSH_ARGSansible.cfg) = -o ForwardAgent=yes
DEFAULT_HOST_LISTansible.cfg) = ['inventory.yaml']
HOST_KEY_CHECKINGansible.cfg) = False
INTERPRETER_PYTHONansible.cfg) = auto
OS / ENVIRONMENT
show version 

Machine Description............... Dell EMC Networking Switch
System Model ID................... N1548
Machine Type...................... Dell EMC Networking N1548
Serial Number..................... CN0V143P2829809S0055A04
Manufacturer...................... 0xbc00
Burned In MAC Address............. CC48.3ADF.9C48
System Object ID.................. 1.3.6.1.4.1.674.10895.3065
SOC Version....................... BCM56150_A0
HW Version........................ 2
CPLD Version...................... 16
Image File........................ N1500v6.6.3.10
Software Capability............... Stack Limit = 4, VLAN Limit = 512

unit active      backup      current-active next-active
---- ----------- ----------- -------------- --------------
1    6.6.3.10    6.6.3.3     6.6.3.10       6.6.3.10
STEPS TO REPRODUCE

You need an interface in trunk mode and an untagged vlan on that interface

os6_interface:
    Gi1/0/1:
      portmode: trunk
      admin: up
os6_vlan:
    vlan 1:
      state: present
      tagged_members:
        - port: Gi1/0/1
          state: present
    vlan 2:
      state: present
      untagged_members:
        - port: Gi1/0/1
          state: present
EXPECTED RESULTS
interface Gi1/0/1
switchport trunk native vlan 2
switchport trunk allowed vlan 1
exit
ACTUAL RESULTS
interface Gi1/0/1
switchport access vlan 2
switchport trunk allowed vlan 1
exit
@GuyFoetz
Copy link
Author

GuyFoetz commented May 3, 2021

I will do a pull request with a partial fix, as the result will be:

interface Gi1/0/1
switchport access vlan 2
switchport trunk native vlan 2
switchport trunk allowed vlan 1
exit

@GuyFoetz GuyFoetz linked a pull request May 3, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant