NETCONF Configuration Guide
YANG API Reference
vlan
142 min
module description asternos model for virtual lan 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 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 /vlans path /vlans node type container description no description available access read write /vlans/vlan path /vlans/vlan node type list description no description available access read write /vlans/vlan/vlanid path /vlans/vlan/vlanid node type leaf description vlan identity access read write data type constraints valid range 1 to 4094 /vlans/vlan/name path /vlans/vlan/name node type leaf description no description available access read only data type /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 constraints valid range 0 to 32000 /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 constraints valid in \[true, false] /vlans/vlan/description path /vlans/vlan/description node type leaf description set textual description of the vlan access read write data type constraints string with length 1 to 127 /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 constraints enumeration with options flood drop /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 constraints enumeration with options flood drop /vlans/vlan/broadcast action path /vlans/vlan/broadcast action node type leaf description set the broadcast packets forwarding action access read write data type constraints enumeration with options flood drop /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 constraints valid in \[true, false] /vlans/vlan/flapping detect path /vlans/vlan/flapping detect node type leaf description set mac flapping detection enable access read write data type constraints valid in \[true, false] /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 constraints identityref with options none error down /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 constraints valid range 10 to 7200 /vlans/vlan/flapping level path /vlans/vlan/flapping level node type leaf description set mac flapping detection times access read write data type constraints valid range 5 to 500 /?/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 path /?/interfaces/interface/vlan config/vlan node type list description no description available access read write /?/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 constraints valid range 1 to 4094 /?/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 constraints enumeration with options tagged untagged rpcs config vlan group path access /config vlan group/input read write /config vlan group/input/vlan ranges read write /config vlan group/input/mac limit read write /config vlan group/input/mac learning read write /config vlan group/input/description read write /config vlan group/input/unknown unicast action read write /config vlan group/input/unknown multicast action read write /config vlan group/input/broadcast action read write /config vlan group/input/stp ignored read write /config vlan group/input/flapping detect read write /config vlan group/input/flapping action read write /config vlan group/input/flapping aging read write /config vlan group/input/flapping level read write /config vlan group/input/igmp mld snooping read write /config vlan group/input/igmp mld snooping/igmp snooping read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/enable read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/fast leave read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/proxy enable read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/querier enable read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/querier ip read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/version read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/query interval read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/query max response time read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/robustness read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/last member query interval read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter aging read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface/interface read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface/type read write /config vlan group/input/igmp mld snooping/igmp snooping/mvlan read write /config vlan group/input/igmp mld snooping/igmp snooping/mvlan/user vlans read write /config vlan group/input/igmp mld snooping/mld snooping read write /config vlan group/input/igmp mld snooping/mld snooping/snooping read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/enable read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/fast leave read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/proxy enable read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/querier enable read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/querier ip read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/version read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/query interval read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/query max response time read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/robustness read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/last member query interval read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter aging read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface/interface read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface/type read write /config vlan group/input/igmp mld snooping/mld snooping/mvlan read write /config vlan group/input/igmp mld snooping/mld snooping/mvlan/user vlans read write /config vlan group/input/igmp mld snooping/group limits read write /config vlan group/input/igmp mld snooping/group limits/group limit read write /config vlan group/input/igmp mld snooping/group limits/group limit/interface read write /config vlan group/input/igmp mld snooping/group limits/group limit/max group read write /config vlan group/input/interfaces read write /config vlan group/input/interfaces/interface read write /config vlan group/input/interfaces/interface/name read write /config vlan group/input/interfaces/interface/status read write /config vlan group/input/router advertisement read write /config vlan group/input/router advertisement/managed flag read write /config vlan group/input/router advertisement/other config flag read write /config vlan group/input/router advertisement/link mtu read write /config vlan group/input/router advertisement/on link flag read write /config vlan group/input/router advertisement/autonomous flag read write /config vlan group/input/router advertisement/prefixes read write /config vlan group/input/router advertisement/prefixes/prefix read write /config vlan group/input/router advertisement/rdnsses read write /config vlan group/input/router advertisement/rdnsses/rdnss read write /config vlan group/input/router advertisement/routes read write /config vlan group/input/router advertisement/routes/route read write /config vlan group/input/router advertisement/routes/preferred read write /config vlan group/input/switchports read write /config vlan group/input path /config vlan group/input node type container description no description available access read write /config vlan group/input/vlan ranges path /config vlan group/input/vlan ranges node type leaf description ranges of vlan ids, e g 100 200,300 400 access read write data type constraints type definition representing a range of single tagged vlans a range is specified as x y where x and y are valid vlan ids (1 <= vlan id <= 4094) the range is assumed to be inclusive, such that any vlan id matching x <= vlan id <= y falls within the range if there is more than one range, use the expression x1 y1,x2 y2 /config vlan group/input/mac limit path /config vlan group/input/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 constraints valid range 0 to 32000 /config vlan group/input/mac learning path /config vlan group/input/mac learning node type leaf description set mac learning mode for vlan, if disable, vlan will not learn mac access read write data type constraints valid in \[true, false] /config vlan group/input/description path /config vlan group/input/description node type leaf description set textual description of the vlan access read write data type constraints string with length 1 to 127 /config vlan group/input/unknown unicast action path /config vlan group/input/unknown unicast action node type leaf description set the unknown unicast packets forwarding action access read write data type constraints enumeration with options flood drop /config vlan group/input/unknown multicast action path /config vlan group/input/unknown multicast action node type leaf description set the unknown multicast packets forwarding action access read write data type constraints enumeration with options flood drop /config vlan group/input/broadcast action path /config vlan group/input/broadcast action node type leaf description set the broadcast packets forwarding action access read write data type constraints enumeration with options flood drop /config vlan group/input/stp ignored path /config vlan group/input/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 constraints valid in \[true, false] /config vlan group/input/flapping detect path /config vlan group/input/flapping detect node type leaf description set mac flapping detection enable access read write data type constraints valid in \[true, false] /config vlan group/input/flapping action path /config vlan group/input/flapping action node type leaf description set interface shutdown when mac flapping is detected access read write data type constraints identityref with options none error down /config vlan group/input/flapping aging path /config vlan group/input/flapping aging node type leaf description set mac flapping detection time window in seconds access read write data type constraints valid range 10 to 7200 /config vlan group/input/flapping level path /config vlan group/input/flapping level node type leaf description set mac flapping detection times access read write data type constraints valid range 5 to 500 /config vlan group/input/igmp mld snooping path /config vlan group/input/igmp mld snooping node type container description config the igmp snooping and mld snooping of vlan access read write /config vlan group/input/igmp mld snooping/igmp snooping path /config vlan group/input/igmp mld snooping/igmp snooping node type container description no description available access read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping path /config vlan group/input/igmp mld snooping/igmp snooping/snooping node type container description no description available access read write /config vlan group/input/igmp mld snooping/igmp snooping/snooping/enable path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/enable node type leaf description enable igmp or mld snooping for the vlan access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/igmp snooping/snooping/fast leave path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/fast leave node type leaf description enable fast leave of multicast groups for member interfaces when an igmp or mld leave message from a host is received indicating the host is leaving a multicast group, the device will directly delete the corresponding multicast group forwarding table entry for that host without sending a specific group query message access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/igmp snooping/snooping/proxy enable path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/proxy enable node type leaf description the proxy config of snooping after enabling the igmp snooping proxy feature, it can replace the router to send igmp query messages and receive igmp report/leave messages sent by users, thereby alleviating the pressure on routing devices when there are a large number of terminals in the network access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/igmp snooping/snooping/querier enable path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/querier enable node type leaf description enable igmp or mld querier configuring a querier on the device allows it to replace upstream devices in sending igmp query messages the device will periodically broadcast igmp query messages to all interfaces within the vlan (including router ports) if an igmp querier already exists in the multicast network, enabing querier of device may trigger a re election of the igmp querier access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/igmp snooping/snooping/querier ip path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/querier ip node type leaf description configure the source ip address of the igmp or mld query message when there are multiple queriers in the network, the querier selection can be controlled by modifying the source ip address of the device's query message access read write data type constraints multiple constraints the ipv6 address type represents an ipv6 address in full, mixed, shortened, and shortened mixed notation the ipv6 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format of ipv6 addresses uses the textual representation defined in section 4 of rfc 5952 the canonical format for the zone index is the numerical format as described in section 11 2 of rfc 4007 the ipv4 address type represents an ipv4 address in dotted quad notation the ipv4 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format for the zone index is the numerical format /config vlan group/input/igmp mld snooping/igmp snooping/snooping/version path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/version node type leaf description the version of the snooping for igmp snooping, the default version is v2 for mld snooping, the default version is v1 access read write data type constraints enumeration with options v1 v2 v3 /config vlan group/input/igmp mld snooping/igmp snooping/snooping/query interval path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/query interval node type leaf description the interval time between the general query messages sent by the device access read write data type constraints valid range 1 to 18000 /config vlan group/input/igmp mld snooping/igmp snooping/snooping/query max response time path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/query max response time node type leaf description the maximum response time for query messages it should be ensured that the interval time between the querier's general query messages is greater than the maximum response time for downstream hosts to reply to the querier otherwise, it may result in the device mistakenly deleting member entries access read write data type constraints valid range 1 to 25 /config vlan group/input/igmp mld snooping/igmp snooping/snooping/robustness path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/robustness node type leaf description the number of specific group query messages sent by the querier to avoid potential network packet loss when an igmp leave message for a specific multicast group is received, a configured number of specific group query messages will be sent to inquire whether there are still members in that multicast group access read write data type constraints valid range 1 to 255 /config vlan group/input/igmp mld snooping/igmp snooping/snooping/last member query interval path /config vlan group/input/igmp mld snooping/igmp snooping/snooping/last member query interval node type leaf description the interval time for the querier to send specific group query messages access read write data type constraints valid range 100 to 25500 /config vlan group/input/igmp mld snooping/igmp snooping/mrouter path /config vlan group/input/igmp mld snooping/igmp snooping/mrouter node type container description the multicast router of vlan access read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter aging path /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter aging node type leaf description the aging time for dynamic router ports within the vlan if no igmp query or pim hello messages are received within the dynamic router port aging time, the port is considered no longer to belong to a router port access read write data type constraints valid range 1 to 1000 /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces path /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces node type container description no description available access read write /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface path /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface node type list description no description available access read write constraints has local type /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface/interface path /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface/interface node type leaf description configure the interface as a static router port for the vlan access read write data type /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface/type path /config vlan group/input/igmp mld snooping/igmp snooping/mrouter/mrouter interfaces/mrouter interface/type node type leaf description the type of the multicast router access read write data type constraints enumeration with options static dynamic /config vlan group/input/igmp mld snooping/igmp snooping/mvlan path /config vlan group/input/igmp mld snooping/igmp snooping/mvlan node type container description the multicast vlan config when users in different vlans need to receive multicast data from the same multicast source, the device needs to replicate the data for each vlan in this case, you can configure a multicast vlan by setting the user vlan as the user vlan and the router port vlan as the multicast vlan the multicast vlan will replicate the data to the user vlan igmp snooping must be enabled in both the multicast vlan and the user vlan access read write /config vlan group/input/igmp mld snooping/igmp snooping/mvlan/user vlans path /config vlan group/input/igmp mld snooping/igmp snooping/mvlan/user vlans node type leaf list description the user vlan of snooping access read write data type constraints valid range 1 to 4094 /config vlan group/input/igmp mld snooping/mld snooping path /config vlan group/input/igmp mld snooping/mld snooping node type container description no description available access read write /config vlan group/input/igmp mld snooping/mld snooping/snooping path /config vlan group/input/igmp mld snooping/mld snooping/snooping node type container description no description available access read write /config vlan group/input/igmp mld snooping/mld snooping/snooping/enable path /config vlan group/input/igmp mld snooping/mld snooping/snooping/enable node type leaf description enable igmp or mld snooping for the vlan access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/mld snooping/snooping/fast leave path /config vlan group/input/igmp mld snooping/mld snooping/snooping/fast leave node type leaf description enable fast leave of multicast groups for member interfaces when an igmp or mld leave message from a host is received indicating the host is leaving a multicast group, the device will directly delete the corresponding multicast group forwarding table entry for that host without sending a specific group query message access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/mld snooping/snooping/proxy enable path /config vlan group/input/igmp mld snooping/mld snooping/snooping/proxy enable node type leaf description the proxy config of snooping after enabling the igmp snooping proxy feature, it can replace the router to send igmp query messages and receive igmp report/leave messages sent by users, thereby alleviating the pressure on routing devices when there are a large number of terminals in the network access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/mld snooping/snooping/querier enable path /config vlan group/input/igmp mld snooping/mld snooping/snooping/querier enable node type leaf description enable igmp or mld querier configuring a querier on the device allows it to replace upstream devices in sending igmp query messages the device will periodically broadcast igmp query messages to all interfaces within the vlan (including router ports) if an igmp querier already exists in the multicast network, enabing querier of device may trigger a re election of the igmp querier access read write data type constraints valid in \[true, false] /config vlan group/input/igmp mld snooping/mld snooping/snooping/querier ip path /config vlan group/input/igmp mld snooping/mld snooping/snooping/querier ip node type leaf description configure the source ip address of the igmp or mld query message when there are multiple queriers in the network, the querier selection can be controlled by modifying the source ip address of the device's query message access read write data type constraints multiple constraints the ipv6 address type represents an ipv6 address in full, mixed, shortened, and shortened mixed notation the ipv6 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format of ipv6 addresses uses the textual representation defined in section 4 of rfc 5952 the canonical format for the zone index is the numerical format as described in section 11 2 of rfc 4007 the ipv4 address type represents an ipv4 address in dotted quad notation the ipv4 address may include a zone index, separated by a % sign if a system uses zone names that are not represented in utf 8, then an implementation needs to use some mechanism to transform the local name into utf 8 the definition of such a mechanism is outside the scope of this document the zone index is used to disambiguate identical address values for link local addresses, the zone index will typically be the interface index number or the name of an interface if the zone index is not present, the default zone of the device will be used the canonical format for the zone index is the numerical format /config vlan group/input/igmp mld snooping/mld snooping/snooping/version path /config vlan group/input/igmp mld snooping/mld snooping/snooping/version node type leaf description the version of the snooping for igmp snooping, the default version is v2 for mld snooping, the default version is v1 access read write data type constraints enumeration with options v1 v2 v3 /config vlan group/input/igmp mld snooping/mld snooping/snooping/query interval path /config vlan group/input/igmp mld snooping/mld snooping/snooping/query interval node type leaf description the interval time between the general query messages sent by the device access read write data type constraints valid range 1 to 18000 /config vlan group/input/igmp mld snooping/mld snooping/snooping/query max response time path /config vlan group/input/igmp mld snooping/mld snooping/snooping/query max response time node type leaf description the maximum response time for query messages it should be ensured that the interval time between the querier's general query messages is greater than the maximum response time for downstream hosts to reply to the querier otherwise, it may result in the device mistakenly deleting member entries access read write data type constraints valid range 1 to 25 /config vlan group/input/igmp mld snooping/mld snooping/snooping/robustness path /config vlan group/input/igmp mld snooping/mld snooping/snooping/robustness node type leaf description the number of specific group query messages sent by the querier to avoid potential network packet loss when an igmp leave message for a specific multicast group is received, a configured number of specific group query messages will be sent to inquire whether there are still members in that multicast group access read write data type constraints valid range 1 to 255 /config vlan group/input/igmp mld snooping/mld snooping/snooping/last member query interval path /config vlan group/input/igmp mld snooping/mld snooping/snooping/last member query interval node type leaf description the interval time for the querier to send specific group query messages access read write data type constraints valid range 100 to 25500 /config vlan group/input/igmp mld snooping/mld snooping/mrouter path /config vlan group/input/igmp mld snooping/mld snooping/mrouter node type container description the multicast router of vlan access read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter aging path /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter aging node type leaf description the aging time for dynamic router ports within the vlan if no igmp query or pim hello messages are received within the dynamic router port aging time, the port is considered no longer to belong to a router port access read write data type constraints valid range 1 to 1000 /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces path /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces node type container description no description available access read write /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface path /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface node type list description no description available access read write constraints has local type /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface/interface path /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface/interface node type leaf description configure the interface as a static router port for the vlan access read write data type /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface/type path /config vlan group/input/igmp mld snooping/mld snooping/mrouter/mrouter interfaces/mrouter interface/type node type leaf description the type of the multicast router access read write data type constraints enumeration with options static dynamic /config vlan group/input/igmp mld snooping/mld snooping/mvlan path /config vlan group/input/igmp mld snooping/mld snooping/mvlan node type container description the multicast vlan config when users in different vlans need to receive multicast data from the same multicast source, the device needs to replicate the data for each vlan in this case, you can configure a multicast vlan by setting the user vlan as the user vlan and the router port vlan as the multicast vlan the multicast vlan will replicate the data to the user vlan igmp snooping must be enabled in both the multicast vlan and the user vlan access read write /config vlan group/input/igmp mld snooping/mld snooping/mvlan/user vlans path /config vlan group/input/igmp mld snooping/mld snooping/mvlan/user vlans node type leaf list description the user vlan of snooping access read write data type constraints valid range 1 to 4094 /config vlan group/input/igmp mld snooping/group limits path /config vlan group/input/igmp mld snooping/group limits node type container description no description available access read write /config vlan group/input/igmp mld snooping/group limits/group limit path /config vlan group/input/igmp mld snooping/group limits/group limit node type list description the maximum number of multicast groups (igmp snooping and mld snooping) that an interface of vlan can learn when the maximum number of learning groups for the interface is modified, forwarding groups that exceed the limit will be learned into the igmp or mld process memory but will not be programmed to the chip access read write /config vlan group/input/igmp mld snooping/group limits/group limit/interface path /config vlan group/input/igmp mld snooping/group limits/group limit/interface node type leaf description the egress l2 port of the multicast group access read write data type /config vlan group/input/igmp mld snooping/group limits/group limit/max group path /config vlan group/input/igmp mld snooping/group limits/group limit/max group node type leaf description the max number of the multicast group on this port of the vlan, default is 4095 access read write data type constraints valid range 1 to 4094 /config vlan group/input/interfaces path /config vlan group/input/interfaces node type container description interface specific loopback detection configuration for vlans access read write /config vlan group/input/interfaces/interface path /config vlan group/input/interfaces/interface node type list description interface entry for vlan loopback configuration access read write /config vlan group/input/interfaces/interface/name path /config vlan group/input/interfaces/interface/name node type leaf description the name of the interface to be configured for loopback detection user can configure loopback detection on ethernet interfaces and vlan for example, ethernet1, ethernet2, vlan10, vlan20, etc access read write data type /config vlan group/input/interfaces/interface/status path /config vlan group/input/interfaces/interface/status node type leaf description enable or disable loopback detection on the interface when loopback detection is enabled, the system will periodically send loopback detection packets if a loop is detected, the configured action will be applied to the interface if this is applied to a vlan, all ports in the vlan will be affected once a port in this vlan receives a detection packet sending from this vlan's members, it will trigger the configured action if this is applied to an interface, only the specified interface will be affected only when the interface receives a detection packet sending from itself, it will trigger the configured action access read write data type constraints enumeration with options enable disable /config vlan group/input/router advertisement path /config vlan group/input/router advertisement node type container description support for ipv6 router advertisements access read write constraints when condition / /name\[starts with(text(), 'vlan')] /config vlan group/input/router advertisement/managed flag path /config vlan group/input/router advertisement/managed flag node type leaf description the value to be placed in the 'managed address configuration' flag field in the router advertisement access read write data type constraints valid in \[true, false] /config vlan group/input/router advertisement/other config flag path /config vlan group/input/router advertisement/other config flag node type leaf description the value to be placed in the 'other configuration' flag field in the router advertisement access read write data type constraints valid in \[true, false] /config vlan group/input/router advertisement/link mtu path /config vlan group/input/router advertisement/link mtu node type leaf description the value to be placed in mtu options sent by the router a value of zero indicates that no mtu options are sent access read write data type constraints valid range 1312 to 9216 /config vlan group/input/router advertisement/on link flag path /config vlan group/input/router advertisement/on link flag node type leaf description the value to be placed in the on link flag ('l bit') field in the prefix information option access read write data type constraints valid in \[true, false] /config vlan group/input/router advertisement/autonomous flag path /config vlan group/input/router advertisement/autonomous flag node type leaf description the value to be placed in the autonomous flag field in the prefix information option access read write data type constraints valid in \[true, false] /config vlan group/input/router advertisement/prefixes path /config vlan group/input/router advertisement/prefixes node type list description support for an advertised prefix entry access read write /config vlan group/input/router advertisement/prefixes/prefix path /config vlan group/input/router advertisement/prefixes/prefix node type leaf description ipv6 address prefix access read write data type constraints the ipv6 prefix type represents an ipv6 prefix the prefix length is given by the number following the slash character and must be less than or equal to 128 a prefix length value of n corresponds to an ip address mask that has n contiguous 1 bits from the most significant bit (msb) and all other bits set to 0 the canonical format of an ipv6 prefix has all bits of the ipv6 address set to zero that are not part of the ipv6 prefix furthermore, the ipv6 address is represented as defined in section 4 of rfc 5952 the definition of ipv6 prefix does not require that bits, which are not part of the prefix, are set to zero however, implementations have to return values in canonical format, which requires non prefix bits to be set to zero this means that 2001\ db8 1/64 must be accepted as a valid value but it will be converted into the canonical format 2001\ db8 /64 /config vlan group/input/router advertisement/rdnsses path /config vlan group/input/router advertisement/rdnsses node type list description support for an advertised prefix entry access read write /config vlan group/input/router advertisement/rdnsses/rdnss path /config vlan group/input/router advertisement/rdnsses/rdnss node type leaf description ipv6 address access read write data type constraints an ipv6 address without a zone index this type, derived from the type ipv6 address, may be used in situations where the zone is known from the context and no zone index is needed /config vlan group/input/router advertisement/routes path /config vlan group/input/router advertisement/routes node type list description support for an advertised prefix entry access read write /config vlan group/input/router advertisement/routes/route path /config vlan group/input/router advertisement/routes/route node type leaf description ipv6 address prefix access read write data type constraints the ipv6 prefix type represents an ipv6 prefix the prefix length is given by the number following the slash character and must be less than or equal to 128 a prefix length value of n corresponds to an ip address mask that has n contiguous 1 bits from the most significant bit (msb) and all other bits set to 0 the canonical format of an ipv6 prefix has all bits of the ipv6 address set to zero that are not part of the ipv6 prefix furthermore, the ipv6 address is represented as defined in section 4 of rfc 5952 the definition of ipv6 prefix does not require that bits, which are not part of the prefix, are set to zero however, implementations have to return values in canonical format, which requires non prefix bits to be set to zero this means that 2001\ db8 1/64 must be accepted as a valid value but it will be converted into the canonical format 2001\ db8 /64 /config vlan group/input/router advertisement/routes/preferred path /config vlan group/input/router advertisement/routes/preferred node type leaf description the value to be placed in the route preference in the route information option the preference associated with the default router, as either 'low', 'medium', or 'high' access read write data type constraints enumeration with options low medium high /config vlan group/input/switchports path /config vlan group/input/switchports node type leaf list description switchport trunk interface list access read write data type delete vlan group path access /delete vlan group/input read write /delete vlan group/input/vlan ranges read write /delete vlan group/input path /delete vlan group/input node type container description no description available access read write /delete vlan group/input/vlan ranges path /delete vlan group/input/vlan ranges node type leaf description ranges of vlan ids, e g 100 200,300 400 access read write data type constraints type definition representing a range of single tagged vlans a range is specified as x y where x and y are valid vlan ids (1 <= vlan id <= 4094) the range is assumed to be inclusive, such that any vlan id matching x <= vlan id <= y falls within the range if there is more than one range, use the expression x1 y1,x2 y2 delete vlan group switchports path access /delete vlan group switchports/input read write /delete vlan group switchports/input/vlan ranges read write /delete vlan group switchports/input/switchports read write /delete vlan group switchports/input path /delete vlan group switchports/input node type container description no description available access read write /delete vlan group switchports/input/vlan ranges path /delete vlan group switchports/input/vlan ranges node type leaf description ranges of vlan ids, e g 100 200,300 400 access read write data type constraints type definition representing a range of single tagged vlans a range is specified as x y where x and y are valid vlan ids (1 <= vlan id <= 4094) the range is assumed to be inclusive, such that any vlan id matching x <= vlan id <= y falls within the range if there is more than one range, use the expression x1 y1,x2 y2 /delete vlan group switchports/input/switchports path /delete vlan group switchports/input/switchports node type leaf list description switchport trunk interface list access read write data type show vlan summary path access /show vlan summary/output read write /show vlan summary/output/data read write /show vlan summary/output path /show vlan summary/output node type container description no description available access read write /show vlan summary/output/data path /show vlan summary/output/data node type anydata description a table that shows information of all vlans access read write show vlan detail path access /show vlan detail/input read write /show vlan detail/input/vlan id read write /show vlan detail/output read write /show vlan detail/output/data read write /show vlan detail/input path /show vlan detail/input node type container description no description available access read write /show vlan detail/input/vlan id path /show vlan detail/input/vlan id node type leaf description vlan id access read write data type constraints valid range 1 to 4094 /show vlan detail/output path /show vlan detail/output node type container description no description available access read write /show vlan detail/output/data path /show vlan detail/output/data node type anydata description a text that shows information of the specified vlan or all access read write show mac flapping config path access /show mac flapping config/input read write /show mac flapping config/input/vlan id read write /show mac flapping config/output read write /show mac flapping config/output/data read write /show mac flapping config/output/data/mac flapping config read write /show mac flapping config/output/data/mac flapping config/vlan id read write /show mac flapping config/output/data/mac flapping config/flapping detect read write /show mac flapping config/output/data/mac flapping config/flapping action read write /show mac flapping config/output/data/mac flapping config/flapping aging read write /show mac flapping config/output/data/mac flapping config/flapping level read write /show mac flapping config/input path /show mac flapping config/input node type container description no description available access read write /show mac flapping config/input/vlan id path /show mac flapping config/input/vlan id node type leaf description vlan id access read write data type constraints valid range 1 to 4094 /show mac flapping config/output path /show mac flapping config/output node type container description no description available access read write /show mac flapping config/output/data path /show mac flapping config/output/data node type container description no description available access read write /show mac flapping config/output/data/mac flapping config path /show mac flapping config/output/data/mac flapping config node type list description mac flapping configuration list access read write /show mac flapping config/output/data/mac flapping config/vlan id path /show mac flapping config/output/data/mac flapping config/vlan id node type leaf description vlan id access read write data type constraints valid range 1 to 4094 /show mac flapping config/output/data/mac flapping config/flapping detect path /show mac flapping config/output/data/mac flapping config/flapping detect node type leaf description set mac flapping detection enable access read write data type constraints valid in \[true, false] /show mac flapping config/output/data/mac flapping config/flapping action path /show mac flapping config/output/data/mac flapping config/flapping action node type leaf description set interface shutdown when mac flapping is detected access read write data type constraints identityref with options none error down /show mac flapping config/output/data/mac flapping config/flapping aging path /show mac flapping config/output/data/mac flapping config/flapping aging node type leaf description set mac flapping detection time window in seconds access read write data type constraints valid range 10 to 7200 /show mac flapping config/output/data/mac flapping config/flapping level path /show mac flapping config/output/data/mac flapping config/flapping level node type leaf description set mac flapping detection times access read write data type constraints valid range 5 to 500 show mac flapping status path access /show mac flapping status/input read write /show mac flapping status/input/vlan id read write /show mac flapping status/output read write /show mac flapping status/output/data read write /show mac flapping status/output/data/mac flapping status read write /show mac flapping status/output/data/mac flapping status/vlan id read write /show mac flapping status/output/data/mac flapping status/mac address read write /show mac flapping status/output/data/mac flapping status/flapping times read write /show mac flapping status/output/data/mac flapping status/last update read write /show mac flapping status/output/data/mac flapping status/interface status read write /show mac flapping status/input path /show mac flapping status/input node type container description no description available access read write /show mac flapping status/input/vlan id path /show mac flapping status/input/vlan id node type leaf description vlan id access read write data type constraints valid range 1 to 4094 /show mac flapping status/output path /show mac flapping status/output node type container description no description available access read write /show mac flapping status/output/data path /show mac flapping status/output/data node type container description no description available access read write /show mac flapping status/output/data/mac flapping status path /show mac flapping status/output/data/mac flapping status node type list description mac flapping status list access read write /show mac flapping status/output/data/mac flapping status/vlan id path /show mac flapping status/output/data/mac flapping status/vlan id node type leaf description vlan id access read write data type constraints valid range 1 to 4094 /show mac flapping status/output/data/mac flapping status/mac address path /show mac flapping status/output/data/mac flapping status/mac address node type leaf description show migrated mac addresses when mac flapping access read write data type /show mac flapping status/output/data/mac flapping status/flapping times path /show mac flapping status/output/data/mac flapping status/flapping times node type leaf description show number of migrations for a mac address access read write data type constraints valid range /show mac flapping status/output/data/mac flapping status/last update path /show mac flapping status/output/data/mac flapping status/last update node type leaf description show time info of last migration access read write data type /show mac flapping status/output/data/mac flapping status/interface status path /show mac flapping status/output/data/mac flapping status/interface status node type leaf description show interface status(whether the interface is shut down) access read write data type clear mac flapping status path access /clear mac flapping status/input read write /clear mac flapping status/input/vlan id read write /clear mac flapping status/output read write /clear mac flapping status/output/result read write /clear mac flapping status/input path /clear mac flapping status/input node type container description no description available access read write /clear mac flapping status/input/vlan id path /clear mac flapping status/input/vlan id node type leaf description vlan id access read write data type constraints valid range 1 to 4094 /clear mac flapping status/output path /clear mac flapping status/output node type container description no description available access read write /clear mac flapping status/output/result path /clear mac flapping status/output/result node type leaf description operation result access read write data type
