This submodule contains a collection of YANG definitions for Cisco IOS-XR l2-eth-infra package operational data. Copyright (c) ...
Version: 2019-04-05
submodule Cisco-IOS-XR-l2-eth-infra-oper-sub2 { yang-version 1; belongs-to Cisco-IOS-XR-l2-eth-infra-oper { prefix Cisco-IOS-XR-l2-eth-infra-oper; } import ietf-yang-types { prefix yang; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This submodule contains a collection of YANG definitions for Cisco IOS-XR l2-eth-infra package operational data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.1"; typedef Vlan-service { type enumeration { enum "vlan-service-l2" { value 1; description "Layer 2 Transport Service"; } enum "vlan-service-l3" { value 2; description "Layer 3 Terminated Service"; } } description "Layer 2 vs. Layer 3 Terminated Service"; } typedef Vlan-encaps { type enumeration { enum "no-encapsulation" { value 0; description "No encapsulation"; } enum "dot1q" { value 1; description "IEEE 802.1Q encapsulation"; } enum "qinq" { value 2; description "Double 802.1Q encapsulation"; } enum "qin-any" { value 3; description "Double 802.1Q wildcarded encapsulation"; } enum "dot1q-native" { value 4; description "IEEE 802.1Q native VLAN encapsulation"; } enum "dot1ad" { value 5; description "IEEE 802.1ad encapsulation"; } enum "dot1ad-native" { value 6; description "IEEE 802.1ad native VLAN encapsulation"; } enum "service-instance" { value 7; description "Ethernet Service Instance"; } enum "dot1ad-dot1q" { value 8; description "IEEE 802.1ad 802.1Q encapsulation"; } enum "dot1ad-any" { value 9; description "IEEE 802.1ad wildcard 802.1Q encapsulation"; } } description "VLAN encapsulation"; } typedef Mac-address { type yang:mac-address; description "MAC address type"; } typedef Efp-payload-etype { type enumeration { enum "payload-ethertype-any" { value 0; description "Any"; } enum "payload-ethertype-ip" { value 1; description "IP"; } enum "payload-ethertype-pppoe" { value 2; description "PPPoE"; } } description "Payload ethertype match"; } typedef Efp-tag-priority { type enumeration { enum "priority0" { value 0; description "Priority 0"; } enum "priority1" { value 1; description "Priority 1"; } enum "priority2" { value 2; description "Priority 2"; } enum "priority3" { value 3; description "Priority 3"; } enum "priority4" { value 4; description "Priority 4"; } enum "priority5" { value 5; description "Priority 5"; } enum "priority6" { value 6; description "Priority 6"; } enum "priority7" { value 7; description "Priority 7"; } enum "priority-any" { value 8; description "Any priority"; } } description "Priority"; } typedef Efp-tag-etype { type enumeration { enum "untagged" { value 0; description "Untagged"; } enum "dot1q" { value 33024; description "Dot1Q"; } enum "dot1ad" { value 34984; description "Dot1ad"; } } description "Tag ethertype"; } typedef Vlan-switched-mode { type enumeration { enum "none" { value 0; description "Disabled"; } enum "trunk-port" { value 1; description "Trunk port"; } enum "access-port" { value 2; description "Access port"; } } description "VLAN-Switched mode"; } typedef Eth-filtering { type enumeration { enum "no-filtering" { value 0; description "No IEEE 802.1Q/802.1ad/MAC relay multicast MAC address filtering"; } enum "dot1q-filtering" { value 1; description "IEEE 802.1q C-VLAN filtering"; } enum "dot1ad-filtering" { value 2; description "IEEE 802.1ad S-VLAN filtering"; } enum "two-port-mac-relay-filtering" { value 3; description "IEEE 802.1aj 2-Port MAC relay filtering"; } } description "Ethernet frame filtering"; } typedef Vlan-qinq-outer-etype { type enumeration { enum "ether-type8100" { value 33024; description "Dot1Q (0x8100)"; } enum "ether-type9100" { value 37120; description "0x9100"; } enum "ether-type9200" { value 37376; description "0x9200"; } } description "QinQ Outer Tag Ethertype"; } typedef Vlan-tag-value { type uint16; description "VLAN Tag Value (1 - 4094)"; } typedef Im-state-enum { type enumeration { enum "im-state-not-ready" { value 0; description "im state not ready"; } enum "im-state-admin-down" { value 1; description "im state admin down"; } enum "im-state-down" { value 2; description "im state down"; } enum "im-state-up" { value 3; description "im state up"; } enum "im-state-shutdown" { value 4; description "im state shutdown"; } enum "im-state-err-disable" { value 5; description "im state err disable"; } enum "im-state-down-immediate" { value 6; description "im state down immediate"; } enum "im-state-down-immediate-admin" { value 7; description "im state down immediate admin"; } enum "im-state-down-graceful" { value 8; description "im state down graceful"; } enum "im-state-begin-shutdown" { value 9; description "im state begin shutdown"; } enum "im-state-end-shutdown" { value 10; description "im state end shutdown"; } enum "im-state-begin-error-disable" { value 11; description "im state begin error disable"; } enum "im-state-end-error-disable" { value 12; description "im state end error disable"; } enum "im-state-begin-down-graceful" { value 13; description "im state begin down graceful"; } enum "im-state-reset" { value 14; description "im state reset"; } enum "im-state-operational" { value 15; description "im state operational"; } enum "im-state-not-operational" { value 16; description "im state not operational"; } enum "im-state-unknown" { value 17; description "im state unknown"; } enum "im-state-last" { value 18; description "im state last"; } } description "Im state enum"; } } // submodule Cisco-IOS-XR-l2-eth-infra-oper-sub2
© 2023 YumaWorks, Inc. All rights reserved.