VLANs
VLAN support is the base of the switching model. netverdict tracks VLAN membership, access/trunk behaviour, native VLAN handling, allowed VLAN lists, and SVI-backed L3 reachability.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| VLAN database | Supported | VLAN IDs and names are stored and emitted. |
| Access ports | Supported | Untagged ingress maps into the configured access VLAN. |
| 802.1Q trunks | Supported | Allowed VLAN lists and native VLAN behaviour. |
| SVIs | Supported | VLAN interfaces can provide routed gateways. |
| Private VLANs | Not modelled | Out of scope today. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| IEEE 802.1Q | Behaviour model | Tagged/untagged VLAN forwarding and trunk membership. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
vlan <id> | Supported | Creates VLAN. |
| VLAN name | Supported | Metadata / config emission. |
switchport mode access | Supported | Access VLAN behaviour. |
switchport access vlan <id> | Supported | Assigns access VLAN. |
switchport mode trunk | Supported | Enables trunk behaviour. |
switchport trunk allowed vlan | Supported | Filters tagged VLANs. |
| Native VLAN | Supported | Untagged trunk traffic maps to native VLAN. |
| SVI | Supported | interface VlanX participates in routing. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
vlan 10 | Supported | Partial | Partial | VLAN definition. |
switchport access vlan 10 | Supported | n/a | Partial | Access membership. |
switchport trunk allowed vlan 10,20 | Supported | n/a | Partial | Trunk filtering. |
set vlans USERS vlan-id 10 | n/a | Supported | n/a | Junos commit creates canonical VLAN entry. |
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode access | n/a | Supported | n/a | Junos access mode. |
set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode trunk | n/a | Supported | n/a | Junos trunk mode. |
set interfaces ge-0/0/1 native-vlan-id 10 | n/a | Supported | n/a | Junos native VLAN. |
show vlan brief | Supported | Partial | Partial | VLAN membership view. |
show interfaces trunk | Supported | Partial | Partial | Trunk state view. |
Behaviour notes
Section titled “Behaviour notes”Switching decisions use VLAN as part of the bridge-domain key. MAC learning in VLAN 10 never satisfies forwarding in VLAN 20.
Examples
Section titled “Examples”Canonical example
configure terminalvlan 10 name USERSinterface GigabitEthernet0/1 switchport mode access switchport access vlan 10interface GigabitEthernet0/24 switchport mode trunk switchport trunk allowed vlan 10,20endshow vlan briefVendor styles
IOS-style
vlan 10 name USERSinterface GigabitEthernet0/1 switchport mode access switchport access vlan 10Junos-style
set vlans USERS vlan-id 10set interfaces ge-0/0/1 unit 0 family ethernet-switching interface-mode accessset interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members USERSVyOS-style
set interfaces ethernet eth1 vif 10 description USERSset interfaces ethernet eth1 vif 10 address 10.0.10.1/24Known limits
Section titled “Known limits”Private VLANs, QinQ, dynamic trunk negotiation fidelity, and vendor-specific VLAN database file behaviour are not modelled.