mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Fix VLAN command documentation. 'u'-suffix is not accepted anymore.
This commit is contained in:
1 parent
dc22c4908b
commit
73d9a8ccb1
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user