Forwarding L2 protocol service.
Version: 2020-03-06
module huawei-l2protocol-fwd { yang-version 1; namespace "urn:huawei:yang:huawei-l2protocol-fwd"; prefix l2protocol-fwd; import huawei-extension { prefix ext; } import huawei-ifm { prefix ifm; } import huawei-l2vpn { prefix l2vpn; } import huawei-devm { prefix devm; } import huawei-ethernet { prefix ethernet; } import huawei-bd { prefix bd; } import huawei-evpn { prefix evpn; } import huawei-evpl { prefix evpl; } import huawei-ifm-trunk { prefix ifm-trunk; } 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 "Forwarding L2 protocol service."; revision "2020-03-06" { description "Change description."; reference "Huawei private."; } revision "2019-04-15" { description "Init revision."; reference "Huawei private."; } ext:task-name "l2cpmanagement"; typedef action-type { type enumeration { enum "transport" { value 3; description "Link protocol transport."; } enum "transport-tagged" { value 4; description "Link protocol tagged transport."; } enum "forwarding" { value 1; description "Link protocol forwarding."; } enum "discard" { value 2; description "Link protocol discard."; } } description "Link protocol transport action type."; } typedef vlan-action-type { type enumeration { enum "forwarding" { value 1; description "Link protocol forwarding."; } } description "Link protocol transport action type."; } typedef mode { type enumeration { enum "normal" { value 0; description "Link protocol transport mode which does not aware VC type."; } enum "untag" { value 1; description "Link protocol transport mode which support untag packet."; } enum "untag-vlan-check" { value 2; description "Link protocol transport mode which support untag packet and will check port VLAN."; } } description "Link protocol transport mode."; } typedef mode-evpn { type enumeration { enum "normal" { value 0; description "Link protocol transport mode which does not aware VC type."; } enum "untag" { value 1; description "Link protocol transport mode which support untag packet."; } enum "untag-vlan-check" { value 2; description "Link protocol transport mode which support untag packet and will check port VLAN."; } } description "Link protocol transport mode."; } typedef vlan-protocol-type { type enumeration { enum "lacp" { value 1; description "Link Aggregation Control Protocol."; } } description "Link protocol transport protocol type."; } typedef protocol-type { type enumeration { enum "bpdu" { value 4; description "Bridge protocol data unit."; } enum "lacp" { value 1; description "Link Aggregation Control Protocol."; } enum "lldp" { value 2; description "Link Layer Discovery Protocol."; } enum "cdp" { value 5; description "CDP."; } enum "udld" { value 6; description "Unidirectional Link Detection."; } } description "Link protocol transport protocol type."; } typedef link-protocol-status { type enumeration { enum "enable" { value 1; description "Link protocol transport function is enabled."; } enum "disable" { value 0; description "Link protocol transport function is disabled."; } } description "Link protocol transport state."; } } // module huawei-l2protocol-fwd
© 2023 YumaWorks, Inc. All rights reserved.