L2 multicast VLAN fwroding.
Version: 2019-07-01
module huawei-l2-multicast-forward { yang-version 1; namespace "urn:huawei:yang:huawei-l2-multicast-forward"; prefix l2-multicast-forward; import huawei-vlan { prefix vlan; } import huawei-extension { prefix ext; } import huawei-devm { prefix devm; } organization "Huawei Technologies Co., Ltd."; contact "Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com"; description "L2 multicast VLAN fwroding."; revision "2019-07-01" { description "Init revision."; reference "Huawei private."; } ext:task-name "l2mc"; typedef l2mc-forward-mode { type enumeration { enum "ip" { value 1; description "Forwarding based on IP addresses."; } enum "mac" { value 2; description "Forwarding based on MAC addresses."; } } description "Forwarding mode."; } typedef sg-type { type enumeration { enum "SG" { value 1; description "Multicast entry in which both group and source addresses are specified."; } enum "source-wildcard" { value 2; description "Multicast entry in which only a group address is specified."; } enum "rt-port" { value 3; description "Router port."; } } description "Port type."; } container l2-multicast-forward { description "Global configuration of l2mc forward."; container select-boards { description "Configure boards selected for l2mc."; leaf-list slot { type leafref { path "/devm:devm/devm:lpu-boards/devm:lpu-board/devm:position"; } max-elements 20; description "Configure slot ID."; } } // container select-boards } // container l2-multicast-forward } // module huawei-l2-multicast-forward
© 2023 YumaWorks, Inc. All rights reserved.