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

It's not allowed to create subinterface on a interface that is assigned to VLAN #20259

Open
johndexter1 opened this issue Sep 13, 2024 · 0 comments

Comments

@johndexter1
Copy link

johndexter1 commented Sep 13, 2024

Description

It's not allowed to create subinterface on a interface that is assigned to vlan.

Steps to reproduce the issue:

  1. config add vlan 100
  2. config vlan member add -u 100 Ethernet0
  3. config subinterface add Ethernet0.5 5

Describe the results you received:

You will receive an error "Ethernet0 is configured as a member of vlan. Cannot configure subinterface"

Describe the results you expected:

I would expected subinterface to be created. This is allowed behavior on some platforms, as example, Cumulus Linux.

Output of show version:

202405 branch

I did some testing and managed to achieve what I want (add subinterface on a interface that is member of vlan) and everything is working as expected. This is really useful feature.

To workaround this issue:

  1. Create the subinterface first
  2. Only then assign interface to 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

1 participant