Update networking.md

Updating VLAN interface doc inline with current implementation

Mathias has fixed the syntactic sugar when creating eth0.20 interfaces, thus the associated documentation example is updated accordingly.
This commit is contained in:
jovatn
2024-03-20 13:57:11 +01:00
committed by GitHub
parent 873de8d0b7
commit 4b7c97083f
+7 -2
View File
@@ -128,8 +128,13 @@ VLAN ID of the interface, compared to *all* the VLAN IDs if you run
```
admin@example:/> configure
admin@example:/config/> edit interface eth0.20
admin@example:/config/interface/eth0.20/> set vlan id 20
admin@example:/config/interface/eth0.20/> set vlan lower-layer-if eth0
admin@example:/config/interface/eth0.20/> show
type vlan;
vlan {
tag-type c-vlan;
id 20;
lower-layer-if eth0;
}
admin@example:/config/interface/eth0.20/> leave
```