Cisco-IOS-XR-ethernet-lldp-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR ethernet-lldp package configuration. This module contain...

  • Version: 2020-09-01

    Cisco-IOS-XR-ethernet-lldp-cfg@2020-09-01


    
      module Cisco-IOS-XR-ethernet-lldp-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-lldp-cfg";
    
        prefix ethernet-lldp-cfg;
    
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
    
        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 ethernet-lldp package configuration.
         
         This module contains definitions
         for the following management objects:
           lldp: Enable LLDP, or configure global LLDP subcommands
         
         This YANG module augments the
           Cisco-IOS-XR-ifmgr-cfg
         module with configuration data.
         
         Copyright (c) 2013-2020 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2020-09-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        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.1";
        semver:module-version "1.0.1";
    
        augment /a1:interface-configurations/a1:interface-configuration {
          description
            "This augment extends the configuration data of
           'Cisco-IOS-XR-ifmgr-cfg'";
          container lldp {
            presence
              "Indicates a lldp node is configured.";
            description "Disable LLDP TX or RX";
            container transmit {
              description "Disable LLDP TX";
              leaf disable {
                type boolean;
                default "false";
                description "disable LLDP TX";
              }
            }  // container transmit
    
            container receive {
              description "Disable LLDP RX";
              leaf disable {
                type boolean;
                default "false";
                description "disable LLDP RX";
              }
            }  // container receive
    
            leaf lldp-intf-enter {
              type boolean;
              mandatory true;
              description
                "enter LLDP interface submode";
            }
    
            leaf enable {
              type boolean;
              default "false";
              description
                "Enable both LLDP TX and RX";
            }
          }  // container lldp
        }
    
        container lldp {
          description
            "Enable LLDP, or configure global LLDP subcommands";
          container tlv-select {
            presence
              "Indicates a tlv-select node is configured.";
            description
              "Selection of LLDP TLVs to disable";
            container system-name {
              description "System Name TLV";
              leaf disable {
                type boolean;
                default "false";
                description
                  "disable System Name TLV";
              }
            }  // container system-name
    
            container port-description {
              description "Port Description TLV";
              leaf disable {
                type boolean;
                default "false";
                description
                  "disable Port Description TLV";
              }
            }  // container port-description
    
            container system-description {
              description
                "System Description TLV";
              leaf disable {
                type boolean;
                default "false";
                description
                  "disable System Description TLV";
              }
            }  // container system-description
    
            container system-capabilities {
              description
                "System Capabilities TLV";
              leaf disable {
                type boolean;
                default "false";
                description
                  "disable System Capabilities TLV";
              }
            }  // container system-capabilities
    
            container management-address {
              description
                "Management Address TLV";
              leaf disable {
                type boolean;
                default "false";
                description
                  "disable Management Address TLV";
              }
            }  // container management-address
    
            leaf tlv-select-enter {
              type boolean;
              mandatory true;
              description
                "enter lldp tlv-select submode";
            }
          }  // container tlv-select
    
          leaf holdtime {
            type uint32 {
              range "0..65535";
            }
            description
              "Length  of time  (in sec) that receiver must
             keep this packet";
          }
    
          leaf enable-priority-addr {
            type boolean;
            default "false";
            description
              "Enable or disable Priority to advertise
             Mgmt-interface Addr First";
          }
    
          leaf extended-show-width {
            type boolean;
            default "false";
            description
              "Enable or disable LLDP Show LLDP Neighbor
             Extended Width";
          }
    
          leaf enable-subintf {
            type boolean;
            default "false";
            description
              "Enable or disable LLDP on Sub-interfaces as well
             globally";
          }
    
          leaf enable-mgmtintf {
            type boolean;
            default "false";
            description
              "Enable or disable LLDP on Mgmt interfaces as
             well globally";
          }
    
          leaf timer {
            type uint32 {
              range "5..65534";
            }
            default "30";
            description
              "Specify the rate at which LLDP packets are sent
             (in sec)";
          }
    
          leaf reinit {
            type uint32 {
              range "2..5";
            }
            default "2";
            description
              "Delay (in sec) for LLDP initialization on any
             interface";
          }
    
          leaf enable {
            type boolean;
            default "false";
            description
              "Enable or disable LLDP globally";
          }
        }  // container lldp
      }  // module Cisco-IOS-XR-ethernet-lldp-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.