pkgs/switches/linksys-srw2048: just remove all vlans for non-trunked bonds
This commit is contained in:
parent
f58ff9584a
commit
04721fc1b6
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue