Cisco-IOS-XE-eigrp-oper

This module contains a collection of YANG definitions for EIGRP operational data. Copyright (c) 2019 by Cisco Systems, Inc. All ...

  • Version: 2019-05-01

    Cisco-IOS-XE-eigrp-oper@2019-05-01


    
      module Cisco-IOS-XE-eigrp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-eigrp-oper";
    
        prefix eigrp-ios-xe-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import cisco-semver {
          prefix cisco-semver;
        }
    
        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 YANG definitions
         for EIGRP operational data.
         Copyright (c) 2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-05-01" {
          description "Added semantic version";
          reference
            "1.1.0";
    
        }
    
        revision "2019-01-11" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "1.1.0";
        cisco-semver:module-version "1.0.0";
    
        typedef eigrp-ios-oper-afi {
          type enumeration {
            enum "eigrp-af-illegal" {
              value 0;
              description
                "Unsupported Address Family";
            }
            enum "eigrp-af-ipv4" {
              value 1;
              description "Address Family IPv4";
            }
            enum "eigrp-af-ipv6" {
              value 2;
              description "Address Family IPv6";
            }
            enum "eigrp-af-sf-ipv4" {
              value 3;
              description "Service Family IPv4";
            }
            enum "eigrp-af-sf-ipv6" {
              value 4;
              description "Service Family IPv6";
            }
          }
          description "Address Family";
        }
    
        typedef eigrp-ios-oper-authentication-mode {
          type enumeration {
            enum "eigrp-auth-none" {
              value 0;
              description "No Authentication";
            }
            enum "eigrp-auth-md5" {
              value 1;
              description "MD5 Authentication";
            }
            enum "eigrp-auth-hmac-sha-256" {
              value 2;
              description
                "HMAC SHA256 Authentication";
            }
          }
          description
            "EIGRP authentication mode";
        }
    
        typedef eigrp-ios-oper-origin-type {
          type enumeration {
            enum "eigrp-origin-connected" {
              value 0;
              description "Origin - Connected";
            }
            enum "eigrp-origin-rediststatic" {
              value 1;
              description
                "Origin - Redistributed Static";
            }
            enum "eigrp-origin-redistconnect" {
              value 2;
              description
                "Origin - Redistributed Connected";
            }
            enum "eigrp-origin-redistributed" {
              value 3;
              description
                "Origin - Redistributed";
            }
            enum "eigrp-origin-vpnv4" {
              value 4;
              description "Origin - VPNv4";
            }
            enum "eigrp-origin-summary" {
              value 5;
              description "Origin - Summary";
            }
            enum "eigrp-origin-dummy" {
              value 6;
              description "Origin - Dummy";
            }
            enum "eigrp-origin-igrp2" {
              value 7;
              description "Origin - EIGRP";
            }
            enum "eigrp-origin-vpnv6" {
              value 8;
              description "Origin - VPNv6";
            }
            enum "eigrp-origin-count" {
              value 9;
              description "Count of Origins";
            }
          }
          description "EIGRP origin type";
        }
    
        container eigrp-oper-data {
          config false;
          description "EIGRP operational data";
          list eigrp-instance {
            key "afi vrf-name as-num";
            description "The EIGRP Instance";
            leaf afi {
              type eigrp-ios-oper-afi;
              description "Address Family";
            }
    
            leaf vrf-name {
              type string;
              description "VRF Name";
            }
    
            leaf as-num {
              type uint16;
              description
                "Autonomous System Number";
            }
    
            leaf router-id {
              type uint32;
              description "Router-ID";
            }
    
            leaf named-mode {
              type empty;
              description
                "Named or Classic Mode";
            }
    
            leaf name {
              type string;
              description
                "EIGRP Virtual-Instance Name";
            }
    
            list eigrp-interface {
              key "name";
              description "EIGRP Interface";
              leaf name {
                type string;
                description "Interface Name";
              }
    
              leaf passive {
                type empty;
                description
                  "Passive Enabled/Disabled";
              }
    
              leaf hello-interval {
                type uint16;
                units "seconds";
                description
                  "Hello Interval in Seconds";
              }
    
              leaf hold-timer {
                type uint16;
                units "seconds";
                description
                  "Hold Timer in Seconds";
              }
    
              container auth-val {
                description "Authentication";
                leaf auth-mode {
                  type eigrp-ios-oper-authentication-mode;
                  description
                    "Authentication Mode";
                }
    
                container auth-key {
                  description
                    "Authentication Key";
                  leaf key-chain {
                    type string;
                    description "Key-Chain";
                  }
    
                  leaf sha256-password {
                    type string;
                    description
                      "HMAC-SHA-256 Password";
                  }
                }  // container auth-key
              }  // container auth-val
    
              list eigrp-nbr {
                key "afi nbr-address";
                description "EIGRP Neighbor";
                leaf afi {
                  type eigrp-ios-oper-afi;
                  description "Address Family";
                }
    
                leaf nbr-address {
                  type inet:ip-address;
                  description "Neighbor Address";
                }
    
                container nbr-sw-ver {
                  description
                    "Neighbor Software Version";
                  leaf os-majorver {
                    type uint8;
                    description
                      "EIGRP OS Major Version";
                  }
    
                  leaf os-minorver {
                    type uint8;
                    description
                      "EIGRP OS Minor Version";
                  }
    
                  leaf tlv-majorrev {
                    type uint8;
                    description
                      "EIGRP TLV Major Version";
                  }
    
                  leaf tlv-minorrev {
                    type uint8;
                    description
                      "EIGRP TLV Minor Version";
                  }
                }  // container nbr-sw-ver
    
                container nbr-stubinfo {
                  description
                    "Neighbor Stub Information";
                  leaf stubbed {
                    type empty;
                    description
                      "Stub Enabled/Disabled";
                  }
    
                  leaf receive-only {
                    type empty;
                    description
                      "Receive-Only mode Enabled/Disabled";
                  }
    
                  leaf allow-connected {
                    type empty;
                    description
                      "Allow Connected Routes";
                  }
    
                  leaf allow-static {
                    type empty;
                    description
                      "Allow Static Routes";
                  }
    
                  leaf allow-summary {
                    type empty;
                    description
                      "Allow Summary Routes";
                  }
    
                  leaf static-nbr {
                    type empty;
                    description
                      "Static Neighbor";
                  }
    
                  leaf allow-redist {
                    type empty;
                    description
                      "Allow Redistributed Routes";
                  }
    
                  leaf allow-leaking {
                    type empty;
                    description
                      "Allow Leaking of Routes";
                  }
                }  // container nbr-stubinfo
    
                leaf retransmit-count {
                  type uint32;
                  description
                    "Retransmission Count";
                }
    
                leaf retry-count {
                  type uint16;
                  description "Retry Count";
                }
    
                leaf last-seq-number {
                  type uint32;
                  description
                    "Last Sequence Number";
                }
    
                leaf srtt {
                  type uint32;
                  description
                    "Smooth Round Trip Time";
                }
    
                leaf rto {
                  type uint32;
                  description
                    "Retransmission Time Out";
                }
              }  // list eigrp-nbr
            }  // list eigrp-interface
    
            list eigrp-topo {
              key "topo-id";
              description "EIGRP Topology";
              leaf topo-id {
                type uint32;
                description "Topology ID";
              }
    
              list eigrp-network {
                key "afi ip-prefix";
                description "EIGRP Network";
                leaf afi {
                  type eigrp-ios-oper-afi;
                  description "Address Family";
                }
    
                leaf ip-prefix {
                  type inet:ip-prefix;
                  description "IP Prefix";
                }
    
                leaf rd-metric {
                  type uint64;
                  description
                    "Reported Distance Metric";
                }
    
                container rd-vecmetric {
                  description
                    "Reported Distance Vector Metric";
                  leaf bandwidth {
                    type uint64;
                    description "Bandwidth";
                  }
    
                  leaf delay {
                    type uint64;
                    description "Delay";
                  }
    
                  leaf tag {
                    type uint32;
                    description "Route Tag";
                  }
    
                  leaf routerid {
                    type uint32;
                    description "Router-ID";
                  }
    
                  leaf mtu {
                    type uint16;
                    description "IP MTU";
                  }
    
                  leaf hopcount {
                    type uint8;
                    description "Hop Count";
                  }
    
                  leaf reliability {
                    type uint8;
                    description "Reliability";
                  }
    
                  leaf load {
                    type uint8;
                    description "Link Load";
                  }
                }  // container rd-vecmetric
    
                leaf fd-metric {
                  type uint64;
                  description
                    "Feasible Distance Metric";
                }
    
                leaf successor-count {
                  type uint16;
                  description "Successor Count";
                }
    
                leaf active {
                  type empty;
                  description
                    "Active State of the Network";
                }
    
                list eigrp-route {
                  key "afi infosource";
                  description "EIGRP Route";
                  leaf afi {
                    type eigrp-ios-oper-afi;
                    description "Address Family";
                  }
    
                  leaf infosource {
                    type inet:ip-address;
                    description "Info Source";
                  }
    
                  leaf nexthop {
                    type inet:ip-address;
                    description "Next Hop";
                  }
    
                  leaf originating-interface {
                    type string;
                    description
                      "Originating Interface";
                  }
    
                  leaf metric {
                    type uint64;
                    description "Route Metric";
                  }
    
                  container vecmetric {
                    description
                      "Route Vector Metric";
                    leaf bandwidth {
                      type uint64;
                      description "Bandwidth";
                    }
    
                    leaf delay {
                      type uint64;
                      description "Delay";
                    }
    
                    leaf tag {
                      type uint32;
                      description "Route Tag";
                    }
    
                    leaf routerid {
                      type uint32;
                      description "Router-ID";
                    }
    
                    leaf mtu {
                      type uint16;
                      description "IP MTU";
                    }
    
                    leaf hopcount {
                      type uint8;
                      description "Hop Count";
                    }
    
                    leaf reliability {
                      type uint8;
                      description "Reliability";
                    }
    
                    leaf load {
                      type uint8;
                      description "Link Load";
                    }
                  }  // container vecmetric
    
                  leaf succ-metric {
                    type uint64;
                    description
                      "Successor Metric";
                  }
    
                  container succ-vecmetric {
                    description
                      "Successor Vector Metric";
                    leaf bandwidth {
                      type uint64;
                      description "Bandwidth";
                    }
    
                    leaf delay {
                      type uint64;
                      description "Delay";
                    }
    
                    leaf tag {
                      type uint32;
                      description "Route Tag";
                    }
    
                    leaf routerid {
                      type uint32;
                      description "Router-ID";
                    }
    
                    leaf mtu {
                      type uint16;
                      description "IP MTU";
                    }
    
                    leaf hopcount {
                      type uint8;
                      description "Hop Count";
                    }
    
                    leaf reliability {
                      type uint8;
                      description "Reliability";
                    }
    
                    leaf load {
                      type uint8;
                      description "Link Load";
                    }
                  }  // container succ-vecmetric
    
                  leaf origin {
                    type eigrp-ios-oper-origin-type;
                    description "Route Origin";
                  }
    
                  leaf omp-tag {
                    type uint32;
                    description "OMP tag";
                  }
    
                  leaf in-rib {
                    type empty;
                    description "Route in RIB";
                  }
    
                  leaf external {
                    type empty;
                    description "External Route";
                  }
    
                  container ext-data {
                    description "External Route";
                    leaf routerid {
                      type uint32;
                      description "Router-ID";
                    }
    
                    leaf asystem {
                      type uint32;
                      description
                        "Autonomous System";
                    }
    
                    leaf tag {
                      type uint32;
                      description "Route Tag";
                    }
    
                    leaf ext-metric {
                      type uint32;
                      description
                        "External Metric";
                    }
    
                    leaf protocol {
                      type uint8;
                      description
                        "External Protocol";
                    }
    
                    leaf flag {
                      type uint8;
                      description "Flags";
                    }
                  }  // container ext-data
                }  // list eigrp-route
              }  // list eigrp-network
            }  // list eigrp-topo
          }  // list eigrp-instance
        }  // container eigrp-oper-data
      }  // module Cisco-IOS-XE-eigrp-oper
    

© 2023 YumaWorks, Inc. All rights reserved.