This submodule contains a collection of YANG definitions for Cisco IOS-XR ethernet-cfm package operational data. Copyright (c) ...
Version: 2020-10-07
submodule Cisco-IOS-XR-ethernet-cfm-oper-sub2 { yang-version 1; belongs-to Cisco-IOS-XR-ethernet-cfm-oper { prefix Cisco-IOS-XR-ethernet-cfm-oper; } import ietf-yang-types { prefix yang; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-ethernet-cfm-oper-sub3 { revision-date "2020-10-07"; } 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 ethernet-cfm package operational data. Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-10-07" { description "Added the Link Loss Forwarding feature."; } revision "2020-07-07" { description "Added SLA summary information."; } revision "2019-10-02" { description "Bandwidth notification addition"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-12-20" { description "Bandwidth notification class and type name update."; } revision "2017-10-06" { description "Traceroute transaction ID changed from int to uint."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.3.0"; semver:module-version "1.2.0"; semver:module-version "1.1.0"; semver:module-version "1.0.0"; typedef Cfm-pm-addl-intf-status { type enumeration { enum "unknown" { value 0; description "Additional interface status unknown"; } enum "administratively-down" { value 1; description "Interface is explicitly shutdown in configuration"; } enum "remote-excessive-errors" { value 2; description "Remote interface has exceeded its 802.3 Link OAM error threshold"; } enum "local-excessive-errors" { value 3; description "Local interface has exceeded its 802.3 Link OAM error threshold"; } } description "Additional interface status"; } typedef Cfm-pm-intf-status { type enumeration { enum "interface-status-up" { value 1; description "Interface is up"; } enum "interface-status-down" { value 2; description "Interface is down"; } enum "interface-status-testing" { value 3; description "Interface is in testing mode"; } enum "interface-status-unknown" { value 4; description "Unknown interface status"; } enum "interface-status-dormant" { value 5; description "Interface is dormant"; } enum "interface-status-not-present" { value 6; description "Interface status not found"; } enum "interface-status-lower-layer-down" { value 7; description "Lower layer is down"; } } description "Interface status"; } typedef Cfm-pm-port-status { type enumeration { enum "port-status-blocked" { value 1; description "Port is STP blocked"; } enum "port-status-up" { value 2; description "Port is up"; } enum "port-status-unknown" { value 3; description "Unknown port status"; } } description "Port status"; } typedef Cfm-pm-rmep-state { type enumeration { enum "peer-mep-idle" { value 1; description "Momentary state during reset"; } enum "peer-mep-start" { value 2; description "Loss timer not expired since reset, but no valid CCM received"; } enum "peer-mep-failed" { value 3; description "Loss timer has expired"; } enum "peer-mep-ok" { value 4; description "Loss timer has not expired since last valid CCM"; } } description "State of the Peer MEP state machine"; } typedef Cfm-pm-rmep-xc-state { type enumeration { enum "cross-check-ok" { value 0; description "Cross-check OK"; } enum "cross-check-missing" { value 1; description "No CCMs received within loss time from peer MEP"; } enum "cross-check-extra" { value 2; description "CCMs received from peer MEP not marked for cross-check"; } } description "Cross-check state of a peer MEP"; } typedef Cfm-pm-ais-receive { type enumeration { enum "receive-none" { value 0; description "No signal received"; } enum "receive-ais" { value 1; description "Receiving AIS messages"; } enum "receive-lck" { value 2; description "Receiving LCK messages"; } enum "receive-direct" { value 3; description "Receiving AIS directly from another MEP on the same interface"; } } description "Enumeration of how the MEP is receiving the signal, directly or via AIS or LCK messages."; } typedef Cfm-pm-ais-transmit { type enumeration { enum "transmit-none" { value 0; description "AIS not transmitted"; } enum "transmit-ais" { value 1; description "AIS transmitted via MIP"; } enum "transmit-ais-direct" { value 2; description "AIS signal passed directly to a higher MEP"; } } description "Enumeration of how the MEP is transmitting AIS, via a MIP or directly to a higher MEP"; } typedef Cfm-pm-mep-defect { type enumeration { enum "defect-none" { value 0; description "No defect reported"; } enum "defect-rdi-ccm" { value 1; description "Some Peer MEP's CCM has the RDI bit set"; } enum "defect-ma-cstatus" { value 2; description "A Peer MEP port or interface status error has been reported"; } enum "defect-remote-ccm" { value 3; description "Not receiving valid CCMs from at least one Peer MEP"; } enum "defect-error-ccm" { value 4; description "Currently receiving invalid CCMs from at least one Peer MEP"; } enum "defect-cross-connect-ccm" { value 5; description "Currently receiving CCMs from an incorrect service (MA)"; } } description "Defects that can be reported by a MEP"; } typedef Cfm-pm-mep-fng-state { type enumeration { enum "fng-reset" { value 1; description "FNG in reset state"; } enum "fng-defect" { value 2; description "FNG has detected but not yet reported a defect"; } enum "fng-report-defect" { value 3; description "FNG is in the process of reporting a defect"; } enum "fng-defect-reported" { value 4; description "FNG has reported a defect"; } enum "fng-defect-clearing" { value 5; description "No defect present, but the reset timer has not yet expired"; } } description "Fault Notification Generation state machine states"; } typedef Cfm-pm-elr-egress-action { type enumeration { enum "elr-egress-ok" { value 1; description "OK"; } enum "elr-egress-down" { value 2; description "Down"; } enum "elr-egress-blocked" { value 3; description "STP Blocked"; } enum "elr-egress-vid" { value 4; description "VID Blocked"; } enum "elr-egress-mac" { value 255; description "MAC Pruned"; } } description "ELR Egress action"; } typedef Cfm-pm-elr-ingress-action { type enumeration { enum "elr-ingress-ok" { value 1; description "OK"; } enum "elr-ingress-down" { value 2; description "Down"; } enum "elr-ingress-blocked" { value 3; description "STP Blocked"; } enum "elr-ingress-vid" { value 4; description "VID Blocked"; } } description "ELR Ingress action"; } typedef Cfm-pm-elr-relay-action { type enumeration { enum "elr-relay-hit" { value 1; description "Target Hit"; } enum "elr-relay-fdb" { value 2; description "Filtering database"; } enum "elr-relay-flood" { value 3; description "Flood forwarded"; } enum "elr-relay-drop" { value 4; description "Dropped"; } } description "ELR relay action"; } typedef Cfm-pm-last-hop-fmt { type enumeration { enum "last-hop-none" { value 0; description "No last hop identifier"; } enum "last-hop-host-name" { value 1; description "Last hop identifier is a hostname"; } enum "last-hop-egress-id" { value 2; description "Last hop identifier is an egress ID"; } } description "Last hop identifier format"; } typedef Cfm-pm-egress-action { type enumeration { enum "egress-ok" { value 1; description "OK"; } enum "egress-down" { value 2; description "Down"; } enum "egress-blocked" { value 3; description "STP Blocked"; } enum "egress-vid" { value 4; description "VID Blocked"; } } description "Egress action"; } typedef Cfm-pm-port-id-fmt { type enumeration { enum "port-id-interface-alias" { value 1; description "Port ID is an interface alias"; } enum "port-id-port-component" { value 2; description "Port ID is a component name"; } enum "port-id-mac-address" { value 3; description "Port ID is a MAC address"; } enum "port-id-network-address" { value 4; description "Port ID is a network address"; } enum "port-id-interface-name" { value 5; description "Port ID is an interface name"; } enum "port-id-agent-circuit-id" { value 6; description "Port ID is an agent name"; } enum "port-id-local" { value 7; description "Port ID is a local name"; } enum "port-id-unknown" { value 8; description "Port ID format unknown"; } } description "Port ID format"; } typedef Cfm-pm-ingress-action { type enumeration { enum "ingress-ok" { value 1; description "OK"; } enum "ingress-down" { value 2; description "Down"; } enum "ingress-blocked" { value 3; description "STP Blocked"; } enum "ingress-vid" { value 4; description "VID Blocked"; } } description "Ingress action"; } typedef Cfm-pm-id-fmt { type enumeration { enum "id-format-is-string" { value 0; description "ID format is a string"; } enum "id-format-is-mac-address" { value 1; description "ID format is a MAC address"; } enum "id-format-is-raw-hex" { value 2; description "ID format is raw hex"; } } description "ID format"; } typedef Cfm-pm-chassis-id-fmt { type enumeration { enum "chassis-id-chassis-component" { value 1; description "Chassis ID is a component name"; } enum "chassis-id-interface-alias" { value 2; description "Chassis ID is an interface alias"; } enum "chassis-id-port-component" { value 3; description "Chassis ID is a port component name"; } enum "chassis-id-mac-address" { value 4; description "Chassis ID is a MAC address"; } enum "chassis-id-network-address" { value 5; description "Chassis ID is a network address"; } enum "chassis-id-interface-name" { value 6; description "Chassis ID is an interface name"; } enum "chassis-id-local" { value 7; description "Chassis ID is a local name"; } enum "chassis-id-unknown-type" { value 8; description "Unknown Chassis ID type"; } } description "Chassis ID type"; } typedef Cfm-pm-relay-action { type enumeration { enum "relay-hit" { value 1; description "Target Hit"; } enum "relay-fdb" { value 2; description "Filtering database"; } enum "relay-mpdb" { value 3; description "CCM Learning database"; } } description "LTR relay action"; } typedef Cfm-pm-elm-reply-filter { type enumeration { enum "reply-filter-not-present" { value 0; description "Reply Filter not present"; } enum "reply-filter-default" { value 1; description "Reply from ports which are not MAC-pruned, VID-pruned, or STP-blocked"; } enum "reply-filter-vlan-topology" { value 2; description "Reply from ports which are not VID-pruned or STP-blocked"; } enum "reply-filter-spanning-tree" { value 3; description "Reply from ports which are not STP-blocked"; } enum "reply-filter-all-ports" { value 4; description "Reply from all ports"; } } description "Reply filter used for Exploratory Linktrace operations"; } typedef Cfm-pm-elt-delay-model { type enumeration { enum "delay-model-invalid" { value 0; description "Not a valid delay model"; } enum "delay-model-logarithmic" { value 1; description "Reply using logarithmic delay model"; } enum "delay-model-constant" { value 2; description "Reply using constant delay model"; } } description "Delay model used for Exploratory Linktrace operations"; } typedef Cfm-pm-lt-mode { type enumeration { enum "cfm-pm-lt-mode-basic" { value 1; description "Basic IEEE 802.1ag Linktrace"; } enum "cfm-pm-lt-mode-exploratory" { value 2; description "Cisco Exploratory Linktrace"; } } description "Type of Linktrace operation"; } typedef Cfm-pm-pkt-action { type enumeration { enum "packet-processed" { value 0; description "Packet processed successfully"; } enum "packet-forwarded" { value 1; description "Packet forwarded"; } enum "unknown-opcode" { value 2; description "Packet dropped at a MEP due to unknown opcode"; } enum "filter-level" { value 3; description "Packet dropped due to level/opcode filtering at a MEP"; } enum "filter-blocked" { value 4; description "Packet dropped because interface is STP blocked"; } enum "filter-local-mac" { value 5; description "Packet dropped due to local destination MAC"; } enum "malformed-ccm-size" { value 6; description "CCM too short or too long"; } enum "malformed-ccm-mep-id" { value 7; description "Invalid MEP-ID"; } enum "malformed-too-short" { value 8; description "Packet too short"; } enum "malformed-destination-mac-unicast" { value 9; description "Destination MAC address does not match interface"; } enum "malformed-destination-mac-multicast" { value 10; description "Invalid multicast destination MAC address"; } enum "malformed-tlv-offset" { value 11; description "TLV offset too short or beyond the end of the packet"; } enum "malformed-lbm-source-mac" { value 12; description "Invalid source MAC address for LBM"; } enum "malformed-ltr-relay-action" { value 13; description "Unknown LTR relay action"; } enum "malformed-ltr-reply-tlv" { value 14; description "LTR has neither reply-ingress or reply-egress"; } enum "malformed-lt-origin" { value 15; description "Invalid Linktrace Message origin MAC address"; } enum "malformed-ltm-target" { value 16; description "Invalid LTM target MAC address"; } enum "malformed-source-mac" { value 17; description "Invalid source MAC address"; } enum "malformed-header-too-short" { value 18; description "Packet too short for CFM header"; } enum "malformed-tlv-header-overrun" { value 19; description "TLV header extends beyond the end of the packet"; } enum "malformed-tlv-overrun" { value 20; description "TLV extends beyond the end of the packet"; } enum "malformed-duplicate-sender-id" { value 21; description "Multiple Sender-ID TLVs found"; } enum "malformed-duplicate-port-status" { value 22; description "Multiple Port-status TLVs found"; } enum "malformed-duplicate-interface-status" { value 23; description "Multiple Interface-state TLVs found"; } enum "malformed-wrong-tlv" { value 24; description "Invalid TLV for this type of packet found"; } enum "malformed-duplicate-data" { value 25; description "Multiple Data TLVs found"; } enum "malformed-duplicate-ltr-egress-id" { value 26; description "Multiple LTR-Egress-ID TLVs found"; } enum "malformed-duplicate-reply-ingress" { value 27; description "Multiple Reply-ingress TLVs found"; } enum "malformed-duplicate-reply-egress" { value 28; description "Multiple Reply-egress TLVs found"; } enum "malformed-duplicate-ltm-egress-id" { value 29; description "Multiple LTM-Egress-ID TLVs found"; } enum "malformed-sender-id-size" { value 30; description "Sender-ID TLV is too short"; } enum "malformed-chassis-id-size" { value 31; description "Sender-ID TLV is too short to contain the Chassis ID"; } enum "malformed-mgmt-address-domain-size" { value 32; description "Sender-ID TLV is too short to contain the management address domain"; } enum "malformed-mgmt-address-size" { value 33; description "Sender-ID TLV is too short to contain the management address"; } enum "malformed-port-status-size" { value 34; description "Port-status TLV is too short"; } enum "malformed-port-status" { value 35; description "Invalid Port status value"; } enum "malformed-interface-status-size" { value 36; description "Interface-status TLV is too short"; } enum "malformed-interface-status" { value 37; description "Invalid Interface status value"; } enum "malformed-organization-specific-tlv-size" { value 38; description "Organization-specific TLV is too short"; } enum "malformed-duplicate-mep-name" { value 39; description "Multiple MEP-name TLVs found"; } enum "malformed-duplicate-additional-interface-status" { value 40; description "Multiple additional-interface-status TLVs found"; } enum "malformed-ltr-egress-id-size" { value 41; description "LTR-Egress-ID TLV is too short"; } enum "malformed-reply-ingress-size" { value 42; description "Reply-ingress TLV is too short"; } enum "malformed-ingress-action" { value 43; description "Invalid ingress-action value"; } enum "malformed-reply-ingress-mac" { value 44; description "Reply-ingress TLV has invalid MAC address"; } enum "malformed-ingress-port-length-size" { value 45; description "Reply-ingress TLV is too short to contain the Port ID type"; } enum "malformed-ingress-port-id-length" { value 46; description "Reply-ingress TLV has a zero Port ID length"; } enum "malformed-ingress-port-id-size" { value 47; description "Reply-ingress TLV is too short to contain the Port ID"; } enum "malformed-reply-egress-size" { value 48; description "Reply-egress TLV is too short"; } enum "malformed-egress-action" { value 49; description "Invalid egress-action value"; } enum "malformed-reply-egress-mac" { value 50; description "Reply-egress TLV has invalid MAC address"; } enum "malformed-egress-port-length-size" { value 51; description "Reply-egress TLV is too short to contain the Port ID type"; } enum "malformed-egress-port-id-length" { value 52; description "Reply-egress TLV has a zero Port ID length"; } enum "malformed-egress-port-id-size" { value 53; description "Reply-egress TLV is too short to contain the Port ID"; } enum "malformed-ltm-egress-id-size" { value 54; description "LTM-Egress_ID TLV is too short"; } enum "malformed-mep-name-size" { value 55; description "MEP-name TLV is too short"; } enum "malformed-mep-name-name-length" { value 56; description "MEP-name TLV is too short to contain a MEP name"; } enum "malformed-additional-interface-status-size" { value 57; description "Additional-interface-status is too short"; } enum "malformed-additional-interface-status" { value 58; description "Invalid additional interface status"; } enum "malformed-ccm-interval" { value 59; description "CCM has a zero CCM interval"; } enum "malformed-mdid-mac-address-length" { value 60; description "CCM has a MAC-address MDID but the MDID is the wrong length"; } enum "malformed-mdid-length" { value 61; description "CCM has an invalid MDID length"; } enum "malformed-sman-length" { value 62; description "CCM has an invalid Short MA Name length"; } enum "malformed-sman2-byte-length" { value 63; description "CCM has a VID or 16-bit Short MA Name but a mismatched length"; } enum "malformed-sman-vpn-id-length" { value 64; description "CCM has a VPNID Short MA Name but a mismatched length"; } enum "malformed-elr-no-reply-tlv" { value 65; description "ELR has no ELR Reply TLVs"; } enum "malformed-separate-elr-reply-egress" { value 66; description "ELR Reply Egress TLVs not all adjacent"; } enum "malformed-dcm-destination-multicast" { value 67; description "DCM has a multicast destination MAC"; } enum "malformed-dcm-embed-length" { value 68; description "DCM is too short to contain an Embedded PDU"; } enum "malformed-dcm-embed-level" { value 69; description "DCM Embedded PDU level does not match DCM level"; } enum "malformed-dcm-embed-version" { value 70; description "DCM Embedded PDU version does not match DCM version"; } enum "malformed-elr-relay-action" { value 71; description "Unknown ELR relay action"; } enum "malformed-elr-tt-ls" { value 73; description "Reply Ingress TTL is not one greater than Reply Egress TTL"; } enum "malformed-elr-ttl-ingress" { value 74; description "Reply Ingress TTL present without ELR Reply Ingress TLV"; } enum "malformed-elr-ttl-egress" { value 75; description "Reply Egress TTL present without ELR Reply Egress TLV"; } enum "malformed-elm-destination-unicast" { value 76; description "ELM Destination MAC must not be unicast"; } enum "malformed-elm-egress-id" { value 77; description "ELM has no LTM Egress ID TLV"; } enum "malformed-dcm-embed-oui" { value 78; description "Embedded DCM OUI unrecognized"; } enum "malformed-dcm-embed-opcode" { value 79; description "Embedded DCM Opcode is not ELM"; } enum "malformed-elm-constant-zero" { value 80; description "ELM Constant Factor is zero"; } enum "malformed-elr-timeout-zero" { value 81; description "ELR Next-Hop Timeout is zero"; } enum "malformed-duplicate-test" { value 82; description "Multiple Test TLVs found"; } enum "malformed-dmm-source-mac" { value 83; description "Invalid source MAC address for DMM"; } enum "malformed-test-size" { value 84; description "Test TLV is too short"; } enum "malformed-dmr-time-stamps" { value 85; description "DMR has exactly one of its Rxf and Txb timestamps unspecified"; } enum "malformed-dm-time-stamp-fmt" { value 86; description "The format of one or more timestamps is invalid"; } enum "malformed-ais-interval" { value 87; description "AIS/LCK has invalid interval value (not 1 second or 1 minute)"; } enum "filter-interface-down" { value 88; description "Packet dropped due to interface being down"; } enum "filter-forward-standby" { value 89; description "Packet dropped - not forwarded because interface is in standby mode"; } enum "malformed-sman-icc-based-length" { value 90; description "CCM has an ICC-based format Short MA Name but a mismatched length"; } enum "filter-foward-issu-secondary" { value 120; description "Packet dropped - not forwarded in secondary HA role"; } enum "filter-response-standby" { value 121; description "Packet dropped - not responded to because interface is in standby mode"; } enum "filter-response-issu-secondary" { value 122; description "Packet dropped - not responded to in secondary HA role"; } } description "Action taken for received packet"; } typedef Cfm-pm-bnm-packet { type enumeration { enum "bnm-packet-type-bnm" { value 0; description "BNM"; } enum "bnm-packet-type-bwvsm" { value 1; description "Cisco BW-VSM"; } } description "BNM packet types"; } typedef Cfm-pm-bnm-link-state { type enumeration { enum "bnm-link-state-ok" { value 1; description "Link state OK"; } enum "bnm-link-state-degraded" { value 2; description "Link state degraded"; } } description "Enumeration of BNM link states"; } } // submodule Cisco-IOS-XR-ethernet-cfm-oper-sub2
© 2023 YumaWorks, Inc. All rights reserved.