Blame
|
1 | # Switch |
||||||
| 2 | ||||||||
| 3 | ## CLI |
|||||||
|
4 | |||||||
| 5 | ``` |
|||||||
| 6 | config system interface |
|||||||
| 7 | edit "vlan10" |
|||||||
| 8 | set vlanid 10 |
|||||||
| 9 | set interface "internal" |
|||||||
| 10 | set description "VLAN 10" |
|||||||
| 11 | next |
|||||||
| 12 | end |
|||||||
| 13 | ``` |
|||||||
|
14 | |||||||
| 15 | ``` |
|||||||
| 16 | config switch interface |
|||||||
| 17 | edit "port24" # Uplink/trunk port |
|||||||
| 18 | set native-vlan 1 # Usually VLAN 1 as native/untagged |
|||||||
| 19 | set allowed-vlans 1,100 # Add other VLANs as needed (e.g. 1,10,100) |
|||||||
| 20 | next |
|||||||
| 21 | end |
|||||||
| 22 | ``` |
|||||||
