Skip to content

add crs125/rb1100 vlan support - #631

Open
si458 wants to merge 2 commits into
librenms:masterfrom
si458:patch-1
Open

add crs125/rb1100 vlan support#631
si458 wants to merge 2 commits into
librenms:masterfrom
si458:patch-1

Conversation

@si458

@si458 si458 commented Aug 19, 2026

Copy link
Copy Markdown

No description provided.

@si458
si458 marked this pull request as draft August 19, 2026 14:59
@si458

si458 commented Aug 19, 2026

Copy link
Copy Markdown
Author

changed to draft as it worked on my crs125 but then broke my rb1100 because the rb1100 doesnt support switching vlans

@bennet-agital

Copy link
Copy Markdown
:do { :put [/interface ethernet switch vlan print count-only] } on-error={ :put "unsupported" }

if that works and outputs "unsupported" you can use the following conditioning:

:local hasswvlan true
:do {
    :put [/interface ethernet switch vlan print count-only]
} on-error={ :set hasswvlan false }

:if ($hasswvlan) do={
    :foreach i in [/interface ethernet switch vlan find] do={
        ... your patch
    }
}

can you test this on your rb1100? I don't have a device without vlan support.

@si458

si458 commented Aug 21, 2026

Copy link
Copy Markdown
Author

thanks @bennet-agital that indeed works!
now both my rb1100 and crs125 show vlans!

@si458
si458 marked this pull request as ready for review August 21, 2026 12:21
@si458 si458 changed the title add crs125 switch vlan support add crs125/rb1100 vlan support Aug 21, 2026
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 this pull request may close these issues.

2 participants