#VLAN
#URL
#OPENCONFIG YANG
#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 dhcp l2-relay-agent create vlan dhcp l2-relay-agent enable | disable vlan dhcp l2-relay-agent set vlan port trust-mode
should be pure numeric, converted from oc-vlan-types:TPID_TYPES from openconfig
enable is a conversion of to true
disable is a conversion of to false
is an enumeration trust-mode - options are client-trusted, server-trusted, dualrole-trusted and untrusted