cisco-bridge-common

This module contains a collection of Cisco specific YANG type definitions for Layer 2 Bridging. Terms and Acronyms BD : Bridg...

  • Version: 2019-07-01

    cisco-bridge-common@2019-07-01


    
      module cisco-bridge-common {
    
        yang-version 1;
    
        namespace
          "urn:cisco:params:xml:ns:yang:cisco-bridge-common";
    
        prefix cbridge;
    
        import cisco-semver {
          prefix cisco-semver;
        }
        import ietf-yang-types {
          prefix yang;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
    
         Postal: 170 W Tasman Drive
         San Jose, CA 95134
    
         Tel: +1 1800 553-NETS
    
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of Cisco specific YANG type
         definitions for Layer 2 Bridging.
    
         Terms and Acronyms
           BD : Bridge Domain
    
           DAI : Dynamic ARP Inspection
    
           DHCP : Dynamic Host Configuration Protocol
    
           IGMP :  Internet Group Management Protocol
    
           IPSG : IP Source Guard
    
           MLD : Multicast Listener Discovery
        ";
    
        revision "2019-07-01" {
          description
            "Establish semantic version baseline";
        }
    
        revision "2016-12-14" {
          description
            "Remove cisco govern extension";
        }
    
        revision "2014-09-25" {
          description "Proposed";
          reference
            "TODO";
    
        }
    
        cisco-semver:module-version "1.0.0";
    
        feature configurable-bd-mac-aging-types {
          description
            "This feature represents the ability to configure MAC aging
           parameters.";
        }
    
        feature configurable-bd-mac-limit-max {
          description
            "This feature represents the ability to configure MAC limit
           threshold on bridge-domains.";
        }
    
        feature configurable-bd-mac-limit-actions {
          description
            "This feature represents the ability to configure actions for
           mac-limit violation event.";
        }
    
        feature configurable-bd-mac-limit-notif {
          description
            "This feature represents the ability to configure notification
           for mac-limit violation event.";
        }
    
        feature configurable-bd-flooding-control {
          description
            "This feature represents the ability to configure flooding
           control parameters.";
        }
    
        typedef eth-traffic-class {
          type enumeration {
            enum "broadcast" {
              value 0;
              description
                "Ethernet frames with destination mac-address
               eqaul to FFFF.FFFF.FFFF";
            }
            enum "multicast" {
              value 1;
              description
                "Ethernet frame with destination MAC address not equal
               to the broadcast address, but with the multicast bit set
               to 1.";
            }
            enum "unknown-unicast" {
              value 2;
              description
                "Ethernet frames with with a packet destination MAC
               address not yet learned.";
            }
          }
          description
            "Traffic class for layer 2 ethernet transport";
        }
    
        typedef mac-aging-type {
          type enumeration {
            enum "inactivity" {
              value 0;
              description
                "Dynamically learnt MAC entries are aged out after
               configured aging time only if no data traffic is
               detected during aging period.";
            }
            enum "absolute" {
              value 1;
              description
                "Dynamically learnt MAC entries are aged out after
               configured aging time.";
            }
          }
          description "MAC aging mechanism.";
        }
    
        typedef mac-limit-action {
          type enumeration {
            enum "none" {
              value 0;
              description "No action";
            }
            enum "flood" {
              value 1;
              description
                "Stop mac learning and flood unknown unicast traffic.";
            }
            enum "drop" {
              value 2;
              description
                "Stop mac learning and drop unknown unicast traffic.";
            }
            enum "shutdown" {
              value 3;
              description
                "Bring down operational status of the interface.";
            }
          }
          description
            "Actions to be taken once mac limit threshold is exceeded.";
        }
    
        typedef mac-secure-action {
          type enumeration {
            enum "none" {
              value 0;
              description
                "Forward the violating packet and allow the MAC to be
               relearned.";
            }
            enum "restrict" {
              value 1;
              description
                "Drop violating packet.";
            }
            enum "shutdown" {
              value 2;
              description
                "Force shutdown the violating bridge port.";
            }
          }
          description
            "Actions to be taken upon mac secure violation.";
        }
    
        identity mac-limit-notification-type {
          description
            "Notification mechanism to use when mac limit threshold is
           exceeded.";
        }
    
        identity notif-none {
          base mac-limit-notification-type;
          description "Disable notification";
        }
    
        identity notif-snmp-trap {
          base mac-limit-notification-type;
          description "Generate SNMP trap";
        }
    
        identity notif-syslog {
          base mac-limit-notification-type;
          description "Generate syslog";
        }
    
        identity notif-syslog-and-snmp-trap {
          base mac-limit-notification-type;
          description
            "Generate both syslog and SNMP trap";
        }
      }  // module cisco-bridge-common
    

© 2023 YumaWorks, Inc. All rights reserved.