zyxel_configure_switchport
Configure a switchport's mode and VLAN settings on Zyxel switches, setting access or trunk mode with associated VLANs for network traffic management.
Instructions
Configure switchport settings for an interface
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Switchport mode | |
| interface | Yes | Interface to configure (e.g., 'ethernet 1/1') | |
| accessVlan | No | Access VLAN ID (for access mode) | |
| allowedVlans | No | Allowed VLANs for trunk mode (e.g., '1,10,20-30') |