Cisco-IOS-XR-l2-eth-infra-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR l2-eth-infra package configuration. This module contains...

  • Version: 2020-04-13

    Cisco-IOS-XR-l2-eth-infra-cfg@2020-04-13


    
      module Cisco-IOS-XR-l2-eth-infra-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-l2-eth-infra-cfg";
    
        prefix l2-eth-infra-cfg;
    
        import ietf-yang-types {
          prefix yang;
        }
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-l2-eth-infra-datatypes {
          prefix dt1;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
        import Cisco-IOS-XR-l2vpn-cfg {
          prefix a2;
        }
    
        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 module contains a collection of YANG definitions
    for Cisco IOS-XR l2-eth-infra package configuration.
    
    This module contains definitions
    for the following management objects:
      ethernet-features: Ethernet Features Configuration
    
    This YANG module augments the
      Cisco-IOS-XR-ifmgr-cfg,
      Cisco-IOS-XR-l2vpn-cfg
    modules with configuration data.
    
    Copyright (c) 2013-2020 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2020-04-13" {
          description
            "Adding enum for 2 port mac relay frame filtering.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-06-15" {
          description
            "Allow min..max in range when min == max.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
        semver:module-version "1.0.0";
    
        typedef L2-protocol-name {
          type enumeration {
            enum "cdp" {
              value 0;
              description "CDP";
            }
            enum "stp" {
              value 1;
              description "STP";
            }
            enum "vtp" {
              value 2;
              description "VTP";
            }
            enum "pvst" {
              value 3;
              description "PVST+";
            }
            enum "cpsv" {
              value 4;
              description
                "CDP, PVST+, STP, and VTP";
            }
          }
          description "L2 protocol name";
        }
    
        typedef L2-protocol-mode {
          type enumeration {
            enum "forward" {
              value 0;
              description
                "Forward packets transparently";
            }
            enum "drop" {
              value 1;
              description
                "Drop the protocol's packets";
            }
            enum "tunnel" {
              value 2;
              description
                "Tunnel ingress frames, untunnel egress frames";
            }
            enum "reverse-tunnel" {
              value 3;
              description
                "Tunnel egress frames, untunnel ingress frames";
            }
          }
          description "L2 protocol mode";
        }
    
        typedef Egress-filtering {
          type enumeration {
            enum "egress-filtering-type-strict" {
              value 1;
              description
                "Strict Egress Filtering";
            }
            enum "egress-filtering-type-disable" {
              value 2;
              description
                "Egress Filtering Disabled";
            }
            enum "egress-filtering-type-default" {
              value 3;
              description
                "Default Egress Filtering Behavior";
            }
          }
          description "Egress filtering";
        }
    
        typedef Filtering {
          type enumeration {
            enum "filtering-type-dot1q" {
              value 0;
              description
                "C-Vlan ingress frame filtering (Table 8-1 of
    802.1ad standard)";
            }
            enum "filtering-type-dot1ad" {
              value 1;
              description
                "S-Vlan ingress frame filtering (Table 8-2 of
    802.1ad standard)";
            }
          }
          description "Filtering";
        }
    
        typedef L2-protocol-mpls-exp-bits-value {
          type uint32 {
            range "0..7";
          }
          description
            "L2 protocol mpls exp bits value";
        }
    
        container ethernet-features {
          description
            "Ethernet Features Configuration";
          container egress-filtering {
            description
              "Egress Filtering Configuration";
            leaf egress-filtering-default-on {
              type empty;
              description
                "Whether Egress Filtering is on by default";
            }
          }  // container egress-filtering
        }  // container ethernet-features
      }  // module Cisco-IOS-XR-l2-eth-infra-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.