# Switch

## CLI

```
config system interface
    edit "vlan10"
        set vlanid 10
        set interface "internal"
        set description "VLAN 10"
    next
end
```

```
config switch interface
    edit "port24"                     # Uplink/trunk port
        set native-vlan 1             # Usually VLAN 1 as native/untagged
        set allowed-vlans 1,100       # Add other VLANs as needed (e.g. 1,10,100)
    next
end
```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9