# VLAN

# URL

network-instances/network-instance=default/vlans/vlan=

# OPENCONFIG YANG

YANG models

{
    "vlan": [
        {
            "vlan-id": ,
            "config": {
                "vlan-id": ,
                "name": ,
                "status": "",
                "frinx-dasan-vlan-extension:eline": ,
                "frinx-saos-vlan-extension:egress-tpid": ""
            },
            "frinx-saos-virtual-ring-extension:rings": {
                "ring": [
                    {
                        "name": "",
                        "config": {
                            "name": ""
                        }
                    }
                ]
            }
        }
    ]
}

# OS Configuration Commands

# Cisco IOS Classic (15.2(4)S5) / XE (15.3(3)S2)

# CLI

vlan 
 name 
 shutdown | no shutdown

no shutdown is a conversion of set ACTIVE
shutdown is a conversion of set SUSPENDED

# Dasan NOS SFU.RR.5.6p5

# CLI

if is true

bridge
 vlan create  eline
!

if is false

bridge
 vlan create 
!

# Ciena SAOS 614

# CLI

vlan create vlan 
vlan set vlan  name 
vlan set vlan  egress-tpid 
ring-protection virtual-ring add ring  vid 

should be pure numeric, converted from oc-vlan-types:TPID_TYPES from openconfig