Fix VLAN command documentation. 'u'-suffix is not accepted anymore.

This commit is contained in:
René van Dorst committed 2026-08-31 23:04:57 +02:00
1 parent dc22c4908b
commit 73d9a8ccb1
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -541,7 +541,7 @@ void parse_vlan(void)
} }
return; return;
err: err:
print_string("Error: vlan (<vlan-id>|show) [port][t/u]...\n"); print_string("Error: vlan (<vlan-id>|show) [port][t]...\n");
} }
+3 -3
View File
@@ -69,9 +69,9 @@ void vlan_delete(uint16_t vlan) __banked;
# VLAN configuration on the Serial Console # VLAN configuration on the Serial Console
For testing the following commands are provided on the serial console: For testing the following commands are provided on the serial console:
``` ```
vlan <VLAN-ID> p[t/u]... vlan <VLAN-ID> p[t]...
create or set vlan with given ID and the list of ports as members, a t create or set vlan with given ID and the list of ports as members, a `t`
behind a port defines the port as a tagged member, the u is optional behind a port defines the port as a tagged member.
vlan <VLAN-ID> d vlan <VLAN-ID> d
deletes the VLAN deletes the VLAN