pkgs/switches/linksys-srw2048: just remove all vlans for non-trunked bonds

This commit is contained in:
Astro 2022-06-23 19:22:42 +02:00
parent f58ff9584a
commit 04721fc1b6
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,8 @@ with lib;
send "interface port-channel ${linkConfig.group}\r"
expect "(config-if)#"
send "switchport trunk allowed vlan remove all\r"
expect "(config-if)#"
send "switchport mode access\r"
expect "(config-if)#"
send "switchport access vlan ${toString (builtins.head linkConfig.vlans)}\r"