NETCONF Configuration Guide
YANG API Reference
vlan
15 min
asternos model for virtual lan yang tree diagram yang tree diagram module asternos vlan + rw vlans + rw vlan \[vlanid] + rw vlanid cmn\ vlan id + ro name? string + rw mac limit? uint32 + rw mac learning? boolean + rw description? string + rw unknown unicast action? vlan bum action + rw unknown multicast action? vlan bum action + rw broadcast action? vlan bum action + rw stp ignored? boolean + rw flapping detect? boolean + rw flapping action? identityref + rw flapping aging? uint16 + rw flapping level? uint16 augment /if\ interfaces/if\ interface + rw vlan config + rw vlan \[vlan id] + rw vlan id cmn\ vlan id + rw tagging mode? enumeration rpcs + x config vlan group \| + w input \| + w vlan ranges? vlan range \| + w mac limit? uint32 \| + w mac learning? boolean \| + w description? string \| + w unknown unicast action? vlan bum action \| + w unknown multicast action? vlan bum action \| + w broadcast action? vlan bum action \| + w stp ignored? boolean \| + w flapping detect? boolean \| + w flapping action? identityref \| + w flapping aging? uint16 \| + w flapping level? uint16 \| + w igmp mld snooping \| | + w igmp snooping \| | | + w snooping \| | | | + w enable? boolean \| | | | + w fast leave? boolean \| | | | + w proxy enable? boolean \| | | | + w querier enable? boolean \| | | | + w querier ip? inet\ ip address \| | | | + w version? enumeration \| | | | + w query interval? uint16 \| | | | + w query max response time? uint16 \| | | | + w robustness? uint8 \| | | | + w last member query interval? uint16 \| | | + w mrouter \| | | | + w mrouter aging? uint16 \| | | | + w mrouter interfaces \| | | | + w mrouter interface \[interface] \| | | | + w interface union \| | | | + w type? enumeration \| | | + w mvlan \| | | + w user vlans cmn\ vlan id \| | + w mld snooping \| | | + w snooping \| | | | + w enable? boolean \| | | | + w fast leave? boolean \| | | | + w proxy enable? boolean \| | | | + w querier enable? boolean \| | | | + w querier ip? inet\ ip address \| | | | + w version? enumeration \| | | | + w query interval? uint16 \| | | | + w query max response time? uint16 \| | | | + w robustness? uint8 \| | | | + w last member query interval? uint16 \| | | + w mrouter \| | | | + w mrouter aging? uint16 \| | | | + w mrouter interfaces \| | | | + w mrouter interface \[interface] \| | | | + w interface union \| | | | + w type? enumeration \| | | + w mvlan \| | | + w user vlans cmn\ vlan id \| | + w group limits \| | + w group limit \[interface] \| | + w interface union \| | + w max group? uint16 \| + w interfaces \| | + w interface \[name] \| | + w name union \| | + w status? enumeration \| + w router advertisement \| | + w managed flag? boolean \| | + w other config flag? boolean \| | + w link mtu? cmn\ mtu type \| | + w on link flag? boolean \| | + w autonomous flag? boolean \| | + w prefixes \[prefix] \| | | + w prefix inet\ ipv6 prefix \| | + w rdnsses \[rdnss] \| | | + w rdnss inet\ ipv6 address no zone \| | + w routes \[route] \| | + w route inet\ ipv6 prefix \| | + w preferred? enumeration \| + w switchports union + x delete vlan group \| + w input \| + w vlan ranges? vlan range + x delete vlan group switchports \| + w input \| + w vlan ranges? vlan range \| + w switchports union + x show vlan summary \| + ro output \| + ro data? \<anydata> + x show vlan detail \| + w input \| | + w vlan id? union \| + ro output \| + ro data? \<anydata> + x show mac flapping config \| + w input \| | + w vlan id? union \| + ro output \| + ro data \| + ro mac flapping config \[vlan id] \| + ro vlan id cmn\ vlan id \| + ro flapping detect? boolean \| + ro flapping action? identityref \| + ro flapping aging? uint16 \| + ro flapping level? uint16 + x show mac flapping status \| + w input \| | + w vlan id? union \| + ro output \| + ro data \| + ro mac flapping status \[vlan id] \| + ro vlan id cmn\ vlan id \| + ro mac address? string \| + ro flapping times? uint16 \| + ro last update? string \| + ro interface status? string + x clear mac flapping status + w input \| + w vlan id? union + ro output + ro result? string resources resources resource list resource list path access /vlans read write /vlans/vlan read write /vlans/vlan/vlanid read write /vlans/vlan/name read only /vlans/vlan/mac limit read write /vlans/vlan/mac learning read write /vlans/vlan/description read write /vlans/vlan/unknown unicast action read write /vlans/vlan/unknown multicast action read write /vlans/vlan/broadcast action read write /vlans/vlan/stp ignored read write /vlans/vlan/flapping detect read write /vlans/vlan/flapping action read write /vlans/vlan/flapping aging read write /vlans/vlan/flapping level read write /?/interfaces/interface/vlan config read write /?/interfaces/interface/vlan config/vlan read write /?/interfaces/interface/vlan config/vlan/vlan id read write /?/interfaces/interface/vlan config/vlan/tagging mode read write detailed nodes detailed nodes /vlans /vlans path /vlans node type container access read write /vlans/vlan /vlans/vlan path /vlans/vlan node type list access read write /vlans/vlan/vlanid /vlans/vlan/vlanid path /vlans/vlan/vlanid node type leaf description vlan identity access read write data type \<yang type vlan id> constraints valid range 1 to 4094 /vlans/vlan/name /vlans/vlan/name path /vlans/vlan/name node type leaf access read only data type \<yang type string> /vlans/vlan/mac limit /vlans/vlan/mac limit path /vlans/vlan/mac limit node type leaf description limit the number of dynamic mac addresses to be learned when the mac number reaches the threshold, dynamic mac addresses are no longer learned 0 means no limit access read write data type \<yang type uint32> constraints valid range 0 to 32000 /vlans/vlan/mac learning /vlans/vlan/mac learning path /vlans/vlan/mac learning node type leaf description set mac learning mode for vlan, if disable, vlan will not learn mac access read write data type \<yang type boolean> constraints valid in \[true, false] /vlans/vlan/description /vlans/vlan/description path /vlans/vlan/description node type leaf description set textual description of the vlan access read write data type \<yang type string> constraints string with length 1 to 127 /vlans/vlan/unknown unicast action /vlans/vlan/unknown unicast action path /vlans/vlan/unknown unicast action node type leaf description set the unknown unicast packets forwarding action access read write data type \<yang type vlan bum action> constraints enumeration with options flood drop /vlans/vlan/unknown multicast action /vlans/vlan/unknown multicast action path /vlans/vlan/unknown multicast action node type leaf description set the unknown multicast packets forwarding action access read write data type \<yang type vlan bum action> constraints enumeration with options flood drop /vlans/vlan/broadcast action /vlans/vlan/broadcast action path /vlans/vlan/broadcast action node type leaf description set the broadcast packets forwarding action access read write data type \<yang type vlan bum action> constraints enumeration with options flood drop /vlans/vlan/stp ignored /vlans/vlan/stp ignored path /vlans/vlan/stp ignored node type leaf description ignore stp bpdu if enabled, the vlan will not participate in the processing of the stp state machine access read write data type \<yang type boolean> constraints valid in \[true, false] /vlans/vlan/flapping detect /vlans/vlan/flapping detect path /vlans/vlan/flapping detect node type leaf description set mac flapping detection enable access read write data type \<yang type boolean> constraints valid in \[true, false] /vlans/vlan/flapping action /vlans/vlan/flapping action path /vlans/vlan/flapping action node type leaf description set interface shutdown when mac flapping is detected access read write data type \<yang type identityref> constraints identityref with options none error down /vlans/vlan/flapping aging /vlans/vlan/flapping aging path /vlans/vlan/flapping aging node type leaf description set mac flapping detection time window in seconds access read write data type \<yang type uint16> constraints valid range 10 to 7200 /vlans/vlan/flapping level /vlans/vlan/flapping level path /vlans/vlan/flapping level node type leaf description set mac flapping detection times access read write data type \<yang type uint16> constraints valid range 5 to 500 /?/interfaces/interface/vlan config /?/interfaces/interface/vlan config path /?/interfaces/interface/vlan config node type container description vlan related configuration that is part of the physical ethernet interface access read write /?/interfaces/interface/vlan config/vlan /?/interfaces/interface/vlan config/vlan path /?/interfaces/interface/vlan config/vlan node type list access read write /?/interfaces/interface/vlan config/vlan/vlan id /?/interfaces/interface/vlan config/vlan/vlan id path /?/interfaces/interface/vlan config/vlan/vlan id node type leaf description vlan identity access read write data type \<yang type vlan id> constraints valid range 1 to 4094 /?/interfaces/interface/vlan config/vlan/tagging mode /?/interfaces/interface/vlan config/vlan/tagging mode path /?/interfaces/interface/vlan config/vlan/tagging mode node type leaf description specifies the type of interface as a vlan member access read write data type \<yang type enumeration> constraints enumeration with options tagged untagged
