Cisco-IOS-XR-ipv4-hsrp-oper

This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-hsrp package operational data. This module contains...

  • Version: 2019-04-05

    Cisco-IOS-XR-ipv4-hsrp-oper@2019-04-05


    
      module Cisco-IOS-XR-ipv4-hsrp-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-hsrp-oper";
    
        prefix ipv4-hsrp-oper;
    
        import ietf-inet-types {
          prefix inet;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-ipv4-hsrp-oper-sub1 {
          revision-date "2019-04-05";
        }
    
        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 ipv4-hsrp package operational data.
         
         This module contains definitions
         for the following management objects:
           hsrp: HSRP operational data
         
         Copyright (c) 2013-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2018-12-07" {
          description
            "Moved group numbers to a range.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        typedef Hsrp-group {
          type uint32 {
            range "0..4095";
          }
          description "Hsrp group";
        }
    
        container hsrp {
          config false;
          description "HSRP operational data";
          container ipv4 {
            description "IPv4 HSRP information";
            container groups {
              description
                "The HSRP standby group table";
              list group {
                key "interface-name group-number";
                description
                  "An HSRP standby group";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name";
                }
    
                leaf group-number {
                  type Hsrp-group;
                  description
                    "The HSRP group number";
                }
    
                container resign-sent-time {
                  description
                    "Time last resign was sent";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container resign-sent-time
    
                container resign-received-time {
                  description
                    "Time last resign was received";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container resign-received-time
    
                container coup-sent-time {
                  description
                    "Time last coup was sent";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container coup-sent-time
    
                container coup-received-time {
                  description
                    "Time last coup was received";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container coup-received-time
    
                container statistics {
                  description
                    "HSRP Group statistics";
                  leaf active-transitions {
                    type uint32;
                    description
                      "Number of transitions to Active State";
                  }
    
                  leaf standby-transitions {
                    type uint32;
                    description
                      "Number of transitions to Standby State";
                  }
    
                  leaf speak-transitions {
                    type uint32;
                    description
                      "Number of transitions to Speak State";
                  }
    
                  leaf listen-transitions {
                    type uint32;
                    description
                      "Number of transitions to Listen State";
                  }
    
                  leaf learn-transitions {
                    type uint32;
                    description
                      "Number of transitions to Learn State";
                  }
    
                  leaf init-transitions {
                    type uint32;
                    description
                      "Number of transitions to Init State";
                  }
    
                  leaf hello-packets-sent {
                    type uint32;
                    description
                      "Number of Hello Packets sent (NB: Bundles only)";
                  }
    
                  leaf resign-packets-sent {
                    type uint32;
                    description
                      "Number of Resign Packets sent";
                  }
    
                  leaf coup-packets-sent {
                    type uint32;
                    description
                      "Number of Coup Packets sent";
                  }
    
                  leaf hello-packets-received {
                    type uint32;
                    description
                      "Number of Hello Packets received";
                  }
    
                  leaf resign-packets-received {
                    type uint32;
                    description
                      "Number of Resign Packets received";
                  }
    
                  leaf coup-packets-received {
                    type uint32;
                    description
                      "Number of Coup Packets received";
                  }
    
                  leaf auth-fail-received {
                    type uint32;
                    description
                      "Number of Packets received that failed
    authentication";
                  }
    
                  leaf invalid-timer-received {
                    type uint32;
                    description
                      "Number of packets received with invalid Hello
    Time value";
                  }
    
                  leaf mismatch-virtual-ip-address-received {
                    type uint32;
                    description
                      "Number of packets received with mismatching
    virtual IP address";
                  }
                }  // container statistics
    
                leaf authentication-string {
                  type string {
                    length "0..9";
                  }
                  description
                    "Authentication string";
                }
    
                leaf virtual-mac-address {
                  type yang:mac-address;
                  description
                    "Virtual mac address";
                }
    
                leaf hsrp-group-number {
                  type uint32;
                  description
                    "HSRP Group number";
                }
    
                leaf address-family {
                  type Hsrp-b-af;
                  description "Address family";
                }
    
                leaf version {
                  type Hsrp-version;
                  description
                    "HSRP Protocol Version";
                }
    
                leaf session-name {
                  type string {
                    length "0..16";
                  }
                  description "Session Name";
                }
    
                leaf slaves {
                  type uint32;
                  description
                    "Number of slaves following state";
                }
    
                leaf is-slave {
                  type boolean;
                  description
                    "Group is a slave group";
                }
    
                leaf followed-session-name {
                  type string {
                    length "0..16";
                  }
                  description
                    "Followed Session Name";
                }
    
                leaf configured-priority {
                  type uint8;
                  description
                    "Configured priority";
                }
    
                leaf preempt-delay {
                  type uint32;
                  units "second";
                  description
                    "Preempt delay time in seconds";
                }
    
                leaf preempt-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Preempt time remaining in seconds";
                }
    
                leaf hello-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Hellotime in msecs";
                }
    
                leaf hold-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Holdtime in msecs";
                }
    
                leaf learned-hello-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Learned hellotime in msecs";
                }
    
                leaf learned-hold-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Learned holdtime in msecs";
                }
    
                leaf min-delay-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Minimum delay time in msecs";
                }
    
                leaf reload-delay-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Reload delay time in msecs";
                }
    
                leaf virtual-ip-address {
                  type inet:ipv4-address;
                  description
                    "Configured Virtual IPv4 address";
                }
    
                leaf virtual-linklocal-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Virtual linklocal IPv6 address";
                }
    
                leaf active-ip-address {
                  type inet:ipv4-address;
                  description
                    "Active router's IP address";
                }
    
                leaf active-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Active router's IPv6 address";
                }
    
                leaf active-mac-address {
                  type yang:mac-address;
                  description
                    "Active router's interface MAC address";
                }
    
                leaf standby-ip-address {
                  type inet:ipv4-address;
                  description
                    "Standby router's IP address";
                }
    
                leaf standby-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Standby router's IPv6 address";
                }
    
                leaf standby-mac-address {
                  type yang:mac-address;
                  description
                    "Standby router's interface MAC address";
                }
    
                leaf hsrp-router-state {
                  type Standby-grp-state;
                  description
                    "HSRP router state";
                }
    
                leaf interface-name-xr {
                  type string {
                    length "0..64";
                  }
                  description "Interface Name";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "IM Interface";
                }
    
                leaf router-priority {
                  type uint8;
                  description
                    "Priority of the router";
                }
    
                leaf active-priority {
                  type uint8;
                  description
                    "Priority of the Active router";
                }
    
                leaf active-timer-flag {
                  type boolean;
                  description
                    "Active timer running flag";
                }
    
                leaf active-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Active timer running time secs";
                }
    
                leaf active-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Active timer running time msecs";
                }
    
                leaf standby-timer-flag {
                  type boolean;
                  description
                    "Standby timer running flag";
                }
    
                leaf standby-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Standby timer running time secs";
                }
    
                leaf standby-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Standby timer running time msecs";
                }
    
                leaf hello-timer-flag {
                  type boolean;
                  description
                    "Hello timer running flag";
                }
    
                leaf hello-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Hello timer running time secs";
                }
    
                leaf hello-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Hello timer running time msecs";
                }
    
                leaf delay-timer-flag {
                  type boolean;
                  description
                    "Delay timer running flag";
                }
    
                leaf delay-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Delay timer running time secs";
                }
    
                leaf delay-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Delay timer running time msecs";
                }
    
                leaf current-state-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Time in current state secs";
                }
    
                leaf state-change-count {
                  type uint32;
                  description
                    "Number of state changes";
                }
    
                leaf tracked-interface-count {
                  type uint32;
                  description
                    "Number of tracked interfaces";
                }
    
                leaf tracked-interface-up-count {
                  type uint32;
                  description
                    "Number of tracked interfaces up";
                }
    
                leaf preempt-enabled {
                  type boolean;
                  description "Preempt enabled";
                }
    
                leaf use-configured-timers {
                  type boolean;
                  description
                    "Use configured timers";
                }
    
                leaf use-configured-virtual-ip {
                  type boolean;
                  description
                    "Use configured virtual IP";
                }
    
                leaf use-bia-configured {
                  type boolean;
                  description
                    "Use burnt in MAC address configured";
                }
    
                leaf configured-timers {
                  type boolean;
                  description
                    "Non-default timers are configured";
                }
    
                leaf configured-mac-address {
                  type boolean;
                  description
                    "MAC address configured";
                }
    
                leaf redirects-disabled {
                  type boolean;
                  description
                    "HSRP redirects disabled";
                }
    
                leaf bfd-enabled {
                  type boolean;
                  description
                    "HSRP BFD fast failover";
                }
    
                leaf bfd-interface {
                  type xr:Interface-name;
                  description "BFD Interface";
                }
    
                leaf bfd-peer-ip-address {
                  type inet:ipv4-address;
                  description
                    "BFD Peer IP address";
                }
    
                leaf bfd-peer-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "BFD Peer IPv6 address";
                }
    
                leaf bfd-session-state {
                  type Hsrp-bfd-session-state;
                  description
                    "BFD session state";
                }
    
                leaf bfd-interval {
                  type uint32;
                  description
                    "BFD packet send interval";
                }
    
                leaf bfd-multiplier {
                  type uint32;
                  description "BFD multiplier";
                }
    
                leaf virtual-mac-address-state {
                  type Hsrp-vmac-state;
                  description
                    "Virtual mac address state";
                }
    
                leaf-list secondary-address {
                  type inet:ipv4-address;
                  description
                    "Secondary virtual IP addresses";
                }
    
                list global-address {
                  description
                    "Global virtual IPv6 addresses";
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPV6Address";
                  }
                }  // list global-address
    
                list state-change-history {
                  description
                    "State change history";
                  container time {
                    description
                      "Time of state change";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description "Seconds";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description "Nanoseconds";
                    }
                  }  // container time
    
                  leaf old-state {
                    type Standby-grp-state;
                    description "Old State";
                  }
    
                  leaf new-state {
                    type Standby-grp-state;
                    description "New State";
                  }
    
                  leaf reason {
                    type Hsrp-state-change-reason;
                    description
                      "Reason for state change";
                  }
                }  // list state-change-history
              }  // list group
            }  // container groups
    
            container tracked-interfaces {
              description
                "The HSRP tracked interfaces table";
              list tracked-interface {
                key "interface-name group-number tracked-interface-name";
                description
                  "An HSRP tracked interface entry";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name of the interface";
                }
    
                leaf group-number {
                  type Hsrp-group;
                  description
                    "The HSRP group number";
                }
    
                leaf tracked-interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name of the interface being
                   tracked";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "IM Interface";
                }
    
                leaf hsrp-group-number {
                  type uint32;
                  description
                    "HSRP Group number";
                }
    
                leaf priority-decrement {
                  type uint32;
                  description
                    "Priority weighting";
                }
    
                leaf interface-up-flag {
                  type boolean;
                  description
                    "Interface up flag";
                }
    
                leaf tracked-interface-name-xr {
                  type string {
                    length "0..64";
                  }
                  description
                    "Tracked Interface Name";
                }
    
                leaf is-object {
                  type boolean;
                  description
                    "Tracked Object Flag";
                }
              }  // list tracked-interface
            }  // container tracked-interfaces
    
            container interfaces {
              description
                "The HSRP interface information table";
              list interface {
                key "interface-name";
                description
                  "A HSRP interface entry";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name";
                }
    
                container statistics {
                  description
                    "HSRP Interface Statistics";
                  leaf advert-packets-sent {
                    type uint32;
                    description
                      "Number of advertisement packets sent";
                  }
    
                  leaf advert-packets-received {
                    type uint32;
                    description
                      "Number of advertisement packets received";
                  }
    
                  leaf long-packets-received {
                    type uint32;
                    description
                      "Number of packets received that were too Long";
                  }
    
                  leaf short-packets-received {
                    type uint32;
                    description
                      "Number of packets received that were too short";
                  }
    
                  leaf invalid-version-received {
                    type uint32;
                    description
                      "Number of packets received with invalid version";
                  }
    
                  leaf invalid-operation-code-received {
                    type uint32;
                    description
                      "Number of packets received with invalid
    operation code";
                  }
    
                  leaf unknown-group-received {
                    type uint32;
                    description
                      "Number of packets received for an unknown group
    id";
                  }
    
                  leaf inoperational-group-received {
                    type uint32;
                    description
                      "Number of packets received for an inoperational
    group";
                  }
    
                  leaf conflict-source-ip-address-received {
                    type uint32;
                    description
                      "Number of packets received from a conflicting
    Source IP address";
                  }
                }  // container statistics
    
                leaf interface {
                  type xr:Interface-name;
                  description "IM Interface";
                }
    
                leaf use-bia-flag {
                  type boolean;
                  description
                    "Use burnt in mac address flag";
                }
              }  // list interface
            }  // container interfaces
          }  // container ipv4
    
          container mgo-sessions {
            description "HSRP MGO session table";
            list mgo-session {
              key "session-name";
              description "HSRP MGO session";
              leaf session-name {
                type xr:Cisco-ios-xr-string;
                description
                  "HSRP MGO session name";
              }
    
              leaf primary-session-name {
                type string {
                  length "0..16";
                }
                description "Session Name";
              }
    
              leaf primary-session-interface {
                type xr:Interface-name;
                description
                  "Interface of primary session";
              }
    
              leaf primary-af-name {
                type Hsrp-b-af;
                description
                  "Address family of primary session";
              }
    
              leaf primary-session-number {
                type uint32;
                description
                  "Group number of primary session";
              }
    
              leaf primary-session-state {
                type Standby-grp-state;
                description
                  "State of primary session";
              }
    
              list slave {
                description
                  "List of slaves following this primary session";
                leaf slave-group-interface {
                  type string {
                    length "0..64";
                  }
                  description
                    "Interface of slave group";
                }
    
                leaf slave-group-number {
                  type uint32;
                  description
                    "Group number of slave group";
                }
              }  // list slave
            }  // list mgo-session
          }  // container mgo-sessions
    
          container ipv6 {
            description "IPv6 HSRP information";
            container tracked-interfaces {
              description
                "The HSRP tracked interfaces table";
              list tracked-interface {
                key "interface-name group-number tracked-interface-name";
                description
                  "An HSRP tracked interface entry";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name of the interface";
                }
    
                leaf group-number {
                  type Hsrp-group;
                  description
                    "The HSRP group number";
                }
    
                leaf tracked-interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name of the interface being
                   tracked";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "IM Interface";
                }
    
                leaf hsrp-group-number {
                  type uint32;
                  description
                    "HSRP Group number";
                }
    
                leaf priority-decrement {
                  type uint32;
                  description
                    "Priority weighting";
                }
    
                leaf interface-up-flag {
                  type boolean;
                  description
                    "Interface up flag";
                }
    
                leaf tracked-interface-name-xr {
                  type string {
                    length "0..64";
                  }
                  description
                    "Tracked Interface Name";
                }
    
                leaf is-object {
                  type boolean;
                  description
                    "Tracked Object Flag";
                }
              }  // list tracked-interface
            }  // container tracked-interfaces
    
            container groups {
              description
                "The HSRP standby group table";
              list group {
                key "interface-name group-number";
                description
                  "An HSRP standby group";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name";
                }
    
                leaf group-number {
                  type Hsrp-group;
                  description
                    "The HSRP group number";
                }
    
                container resign-sent-time {
                  description
                    "Time last resign was sent";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container resign-sent-time
    
                container resign-received-time {
                  description
                    "Time last resign was received";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container resign-received-time
    
                container coup-sent-time {
                  description
                    "Time last coup was sent";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container coup-sent-time
    
                container coup-received-time {
                  description
                    "Time last coup was received";
                  leaf seconds {
                    type uint32;
                    units "second";
                    description "Seconds";
                  }
    
                  leaf nanoseconds {
                    type uint32;
                    units "nanosecond";
                    description "Nanoseconds";
                  }
                }  // container coup-received-time
    
                container statistics {
                  description
                    "HSRP Group statistics";
                  leaf active-transitions {
                    type uint32;
                    description
                      "Number of transitions to Active State";
                  }
    
                  leaf standby-transitions {
                    type uint32;
                    description
                      "Number of transitions to Standby State";
                  }
    
                  leaf speak-transitions {
                    type uint32;
                    description
                      "Number of transitions to Speak State";
                  }
    
                  leaf listen-transitions {
                    type uint32;
                    description
                      "Number of transitions to Listen State";
                  }
    
                  leaf learn-transitions {
                    type uint32;
                    description
                      "Number of transitions to Learn State";
                  }
    
                  leaf init-transitions {
                    type uint32;
                    description
                      "Number of transitions to Init State";
                  }
    
                  leaf hello-packets-sent {
                    type uint32;
                    description
                      "Number of Hello Packets sent (NB: Bundles only)";
                  }
    
                  leaf resign-packets-sent {
                    type uint32;
                    description
                      "Number of Resign Packets sent";
                  }
    
                  leaf coup-packets-sent {
                    type uint32;
                    description
                      "Number of Coup Packets sent";
                  }
    
                  leaf hello-packets-received {
                    type uint32;
                    description
                      "Number of Hello Packets received";
                  }
    
                  leaf resign-packets-received {
                    type uint32;
                    description
                      "Number of Resign Packets received";
                  }
    
                  leaf coup-packets-received {
                    type uint32;
                    description
                      "Number of Coup Packets received";
                  }
    
                  leaf auth-fail-received {
                    type uint32;
                    description
                      "Number of Packets received that failed
    authentication";
                  }
    
                  leaf invalid-timer-received {
                    type uint32;
                    description
                      "Number of packets received with invalid Hello
    Time value";
                  }
    
                  leaf mismatch-virtual-ip-address-received {
                    type uint32;
                    description
                      "Number of packets received with mismatching
    virtual IP address";
                  }
                }  // container statistics
    
                leaf authentication-string {
                  type string {
                    length "0..9";
                  }
                  description
                    "Authentication string";
                }
    
                leaf virtual-mac-address {
                  type yang:mac-address;
                  description
                    "Virtual mac address";
                }
    
                leaf hsrp-group-number {
                  type uint32;
                  description
                    "HSRP Group number";
                }
    
                leaf address-family {
                  type Hsrp-b-af;
                  description "Address family";
                }
    
                leaf version {
                  type Hsrp-version;
                  description
                    "HSRP Protocol Version";
                }
    
                leaf session-name {
                  type string {
                    length "0..16";
                  }
                  description "Session Name";
                }
    
                leaf slaves {
                  type uint32;
                  description
                    "Number of slaves following state";
                }
    
                leaf is-slave {
                  type boolean;
                  description
                    "Group is a slave group";
                }
    
                leaf followed-session-name {
                  type string {
                    length "0..16";
                  }
                  description
                    "Followed Session Name";
                }
    
                leaf configured-priority {
                  type uint8;
                  description
                    "Configured priority";
                }
    
                leaf preempt-delay {
                  type uint32;
                  units "second";
                  description
                    "Preempt delay time in seconds";
                }
    
                leaf preempt-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Preempt time remaining in seconds";
                }
    
                leaf hello-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Hellotime in msecs";
                }
    
                leaf hold-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Holdtime in msecs";
                }
    
                leaf learned-hello-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Learned hellotime in msecs";
                }
    
                leaf learned-hold-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Learned holdtime in msecs";
                }
    
                leaf min-delay-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Minimum delay time in msecs";
                }
    
                leaf reload-delay-time {
                  type uint32;
                  units "millisecond";
                  description
                    "Reload delay time in msecs";
                }
    
                leaf virtual-ip-address {
                  type inet:ipv4-address;
                  description
                    "Configured Virtual IPv4 address";
                }
    
                leaf virtual-linklocal-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Virtual linklocal IPv6 address";
                }
    
                leaf active-ip-address {
                  type inet:ipv4-address;
                  description
                    "Active router's IP address";
                }
    
                leaf active-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Active router's IPv6 address";
                }
    
                leaf active-mac-address {
                  type yang:mac-address;
                  description
                    "Active router's interface MAC address";
                }
    
                leaf standby-ip-address {
                  type inet:ipv4-address;
                  description
                    "Standby router's IP address";
                }
    
                leaf standby-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "Standby router's IPv6 address";
                }
    
                leaf standby-mac-address {
                  type yang:mac-address;
                  description
                    "Standby router's interface MAC address";
                }
    
                leaf hsrp-router-state {
                  type Standby-grp-state;
                  description
                    "HSRP router state";
                }
    
                leaf interface-name-xr {
                  type string {
                    length "0..64";
                  }
                  description "Interface Name";
                }
    
                leaf interface {
                  type xr:Interface-name;
                  description "IM Interface";
                }
    
                leaf router-priority {
                  type uint8;
                  description
                    "Priority of the router";
                }
    
                leaf active-priority {
                  type uint8;
                  description
                    "Priority of the Active router";
                }
    
                leaf active-timer-flag {
                  type boolean;
                  description
                    "Active timer running flag";
                }
    
                leaf active-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Active timer running time secs";
                }
    
                leaf active-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Active timer running time msecs";
                }
    
                leaf standby-timer-flag {
                  type boolean;
                  description
                    "Standby timer running flag";
                }
    
                leaf standby-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Standby timer running time secs";
                }
    
                leaf standby-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Standby timer running time msecs";
                }
    
                leaf hello-timer-flag {
                  type boolean;
                  description
                    "Hello timer running flag";
                }
    
                leaf hello-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Hello timer running time secs";
                }
    
                leaf hello-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Hello timer running time msecs";
                }
    
                leaf delay-timer-flag {
                  type boolean;
                  description
                    "Delay timer running flag";
                }
    
                leaf delay-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Delay timer running time secs";
                }
    
                leaf delay-timer-msecs {
                  type uint32;
                  units "millisecond";
                  description
                    "Delay timer running time msecs";
                }
    
                leaf current-state-timer-secs {
                  type uint32;
                  units "second";
                  description
                    "Time in current state secs";
                }
    
                leaf state-change-count {
                  type uint32;
                  description
                    "Number of state changes";
                }
    
                leaf tracked-interface-count {
                  type uint32;
                  description
                    "Number of tracked interfaces";
                }
    
                leaf tracked-interface-up-count {
                  type uint32;
                  description
                    "Number of tracked interfaces up";
                }
    
                leaf preempt-enabled {
                  type boolean;
                  description "Preempt enabled";
                }
    
                leaf use-configured-timers {
                  type boolean;
                  description
                    "Use configured timers";
                }
    
                leaf use-configured-virtual-ip {
                  type boolean;
                  description
                    "Use configured virtual IP";
                }
    
                leaf use-bia-configured {
                  type boolean;
                  description
                    "Use burnt in MAC address configured";
                }
    
                leaf configured-timers {
                  type boolean;
                  description
                    "Non-default timers are configured";
                }
    
                leaf configured-mac-address {
                  type boolean;
                  description
                    "MAC address configured";
                }
    
                leaf redirects-disabled {
                  type boolean;
                  description
                    "HSRP redirects disabled";
                }
    
                leaf bfd-enabled {
                  type boolean;
                  description
                    "HSRP BFD fast failover";
                }
    
                leaf bfd-interface {
                  type xr:Interface-name;
                  description "BFD Interface";
                }
    
                leaf bfd-peer-ip-address {
                  type inet:ipv4-address;
                  description
                    "BFD Peer IP address";
                }
    
                leaf bfd-peer-ipv6-address {
                  type inet:ipv6-address;
                  description
                    "BFD Peer IPv6 address";
                }
    
                leaf bfd-session-state {
                  type Hsrp-bfd-session-state;
                  description
                    "BFD session state";
                }
    
                leaf bfd-interval {
                  type uint32;
                  description
                    "BFD packet send interval";
                }
    
                leaf bfd-multiplier {
                  type uint32;
                  description "BFD multiplier";
                }
    
                leaf virtual-mac-address-state {
                  type Hsrp-vmac-state;
                  description
                    "Virtual mac address state";
                }
    
                leaf-list secondary-address {
                  type inet:ipv4-address;
                  description
                    "Secondary virtual IP addresses";
                }
    
                list global-address {
                  description
                    "Global virtual IPv6 addresses";
                  leaf ipv6-address {
                    type inet:ipv6-address;
                    description "IPV6Address";
                  }
                }  // list global-address
    
                list state-change-history {
                  description
                    "State change history";
                  container time {
                    description
                      "Time of state change";
                    leaf seconds {
                      type uint32;
                      units "second";
                      description "Seconds";
                    }
    
                    leaf nanoseconds {
                      type uint32;
                      units "nanosecond";
                      description "Nanoseconds";
                    }
                  }  // container time
    
                  leaf old-state {
                    type Standby-grp-state;
                    description "Old State";
                  }
    
                  leaf new-state {
                    type Standby-grp-state;
                    description "New State";
                  }
    
                  leaf reason {
                    type Hsrp-state-change-reason;
                    description
                      "Reason for state change";
                  }
                }  // list state-change-history
              }  // list group
            }  // container groups
    
            container interfaces {
              description
                "The HSRP interface information table";
              list interface {
                key "interface-name";
                description
                  "A HSRP interface entry";
                leaf interface-name {
                  type xr:Interface-name;
                  description
                    "The interface name";
                }
    
                container statistics {
                  description
                    "HSRP Interface Statistics";
                  leaf advert-packets-sent {
                    type uint32;
                    description
                      "Number of advertisement packets sent";
                  }
    
                  leaf advert-packets-received {
                    type uint32;
                    description
                      "Number of advertisement packets received";
                  }
    
                  leaf long-packets-received {
                    type uint32;
                    description
                      "Number of packets received that were too Long";
                  }
    
                  leaf short-packets-received {
                    type uint32;
                    description
                      "Number of packets received that were too short";
                  }
    
                  leaf invalid-version-received {
                    type uint32;
                    description
                      "Number of packets received with invalid version";
                  }
    
                  leaf invalid-operation-code-received {
                    type uint32;
                    description
                      "Number of packets received with invalid
    operation code";
                  }
    
                  leaf unknown-group-received {
                    type uint32;
                    description
                      "Number of packets received for an unknown group
    id";
                  }
    
                  leaf inoperational-group-received {
                    type uint32;
                    description
                      "Number of packets received for an inoperational
    group";
                  }
    
                  leaf conflict-source-ip-address-received {
                    type uint32;
                    description
                      "Number of packets received from a conflicting
    Source IP address";
                  }
                }  // container statistics
    
                leaf interface {
                  type xr:Interface-name;
                  description "IM Interface";
                }
    
                leaf use-bia-flag {
                  type boolean;
                  description
                    "Use burnt in mac address flag";
                }
              }  // list interface
            }  // container interfaces
          }  // container ipv6
    
          container bfd-sessions {
            description
              "The table of HSRP BFD Sessions";
            list bfd-session {
              key "interface-name ip-address";
              description "An HSRP BFD Session";
              leaf interface-name {
                type xr:Interface-name;
                description "The interface name";
              }
    
              leaf ip-address {
                type inet:ip-address-no-zone;
                description
                  "Destination IP Address of BFD Session";
              }
    
              leaf bfd-interface-name {
                type string {
                  length "0..64";
                }
                description "BFD Interface Name";
              }
    
              leaf session-address-family {
                type Hsrp-b-af;
                description
                  "Session Address family";
              }
    
              leaf destination-address {
                type inet:ipv4-address;
                description
                  "BFD destination address";
              }
    
              leaf destination-ipv6-address {
                type inet:ipv6-address;
                description
                  "BFD IPv6 destination address";
              }
    
              leaf bfd-session-state {
                type Hsrp-bfd-session-state;
                description "BFD session state";
              }
    
              leaf bfd-interval {
                type uint32;
                description
                  "BFD packet send interval";
              }
    
              leaf bfd-multiplier {
                type uint32;
                description "BFD multiplier";
              }
    
              list group {
                description
                  "HSRP Groups tracking the BFD session";
                leaf interface-name {
                  type string {
                    length "0..64";
                  }
                  description "Interface Name";
                }
    
                leaf hsrp-group-number {
                  type uint32;
                  description
                    "HSRP Group number";
                }
              }  // list group
            }  // list bfd-session
          }  // container bfd-sessions
    
          container summary {
            description
              "HSRP summary statistics";
            leaf ipv4-sessions-active {
              type uint32;
              description
                "Number of IPv4 sessions in ACTIVE state";
            }
    
            leaf ipv4-sessions-standby {
              type uint32;
              description
                "Number of IPv4 sessions in STANDBY state";
            }
    
            leaf ipv4-sessions-speak {
              type uint32;
              description
                "Number of IPv4 sessions in SPEAK state";
            }
    
            leaf ipv4-sessions-listen {
              type uint32;
              description
                "Number of IPv4 sessions in LISTEN state";
            }
    
            leaf ipv4-sessions-learn {
              type uint32;
              description
                "Number of IPv4 sessions in LEARN state";
            }
    
            leaf ipv4-sessions-init {
              type uint32;
              description
                "Number of IPv4 sessions in INIT state";
            }
    
            leaf ipv4-slaves-active {
              type uint32;
              description
                "Number of IPv4 slaves in ACTIVE state";
            }
    
            leaf ipv4-slaves-standby {
              type uint32;
              description
                "Number of IPv4 slaves in STANDBY state";
            }
    
            leaf ipv4-slaves-speak {
              type uint32;
              description
                "Number of IPv4 slaves in SPEAK state";
            }
    
            leaf ipv4-slaves-listen {
              type uint32;
              description
                "Number of IPv4 slaves in LISTEN state";
            }
    
            leaf ipv4-slaves-learn {
              type uint32;
              description
                "Number of IPv4 slaves in LEARN state";
            }
    
            leaf ipv4-slaves-init {
              type uint32;
              description
                "Number of IPv4 slaves in INIT state";
            }
    
            leaf ipv4-virtual-ip-addresses-active-up {
              type uint32;
              description
                "Number of UP IPv4 Virtual IP Addresses on groups
    in ACTIVE state";
            }
    
            leaf ipv4-virtual-ip-addresses-active-down {
              type uint32;
              description
                "Number of DOWN IPv4 Virtual IP Addresses on
    groups in ACTIVE state";
            }
    
            leaf ipv4-virtual-ip-addresses-standby-up {
              type uint32;
              description
                "Number of UP IPv4 Virtual IP Addresses on groups
    in STANDBY state";
            }
    
            leaf ipv4-virtual-ip-addresses-standby-down {
              type uint32;
              description
                "Number of DOWN IPv4 Virtual IP Addresses on
    groups in STANDBY state";
            }
    
            leaf ipv4-virtual-ip-addresses-speak-up {
              type uint32;
              description
                "Number of UP IPv4 Virtual IP Addresses on groups
    in SPEAK state";
            }
    
            leaf ipv4-virtual-ip-addresses-speak-down {
              type uint32;
              description
                "Number of DOWN IPv4 Virtual IP Addresses on
    groups in SPEAK state";
            }
    
            leaf ipv4-virtual-ip-addresses-listen-up {
              type uint32;
              description
                "Number of UP IPv4 Virtual IP Addresses on groups
    in LISTEN state";
            }
    
            leaf ipv4-virtual-ip-addresses-listen-down {
              type uint32;
              description
                "Number of DOWN IPv4 Virtual IP Addresses on
    groups in LISTEN state";
            }
    
            leaf ipv4-virtual-ip-addresses-learn-up {
              type uint32;
              description
                "Number of UP IPv4 Virtual IP Addresses on groups
    in LEARN state";
            }
    
            leaf ipv4-virtual-ip-addresses-learn-down {
              type uint32;
              description
                "Number of DOWN IPv4 Virtual IP Addresses on
    groups in LEARN state";
            }
    
            leaf ipv4-virtual-ip-addresses-init-up {
              type uint32;
              description
                "Number of UP IPv4 Virtual IP Addresses on groups
    in INIT state";
            }
    
            leaf ipv4-virtual-ip-addresses-init-down {
              type uint32;
              description
                "Number of DOWN IPv4 Virtual IP Addresses on
    groups in INIT state";
            }
    
            leaf ipv6-sessions-active {
              type uint32;
              description
                "Number of IPv6 sessions in ACTIVE state";
            }
    
            leaf ipv6-sessions-standby {
              type uint32;
              description
                "Number of IPv6 sessions in STANDBY state";
            }
    
            leaf ipv6-sessions-speak {
              type uint32;
              description
                "Number of IPv6 sessions in SPEAK state";
            }
    
            leaf ipv6-sessions-listen {
              type uint32;
              description
                "Number of IPv6 sessions in LISTEN state";
            }
    
            leaf ipv6-sessions-learn {
              type uint32;
              description
                "Number of IPv6 sessions in LEARN state";
            }
    
            leaf ipv6-sessions-init {
              type uint32;
              description
                "Number of IPv6 sessions in INIT state";
            }
    
            leaf ipv6-slaves-active {
              type uint32;
              description
                "Number of IPv6 slaves in ACTIVE state";
            }
    
            leaf ipv6-slaves-standby {
              type uint32;
              description
                "Number of IPv6 slaves in STANDBY state";
            }
    
            leaf ipv6-slaves-speak {
              type uint32;
              description
                "Number of IPv6 slaves in SPEAK state";
            }
    
            leaf ipv6-slaves-listen {
              type uint32;
              description
                "Number of IPv6 slaves in LISTEN state";
            }
    
            leaf ipv6-slaves-learn {
              type uint32;
              description
                "Number of IPv6 slaves in LEARN state";
            }
    
            leaf ipv6-slaves-init {
              type uint32;
              description
                "Number of IPv6 slaves in INIT state";
            }
    
            leaf ipv6-virtual-ip-addresses-active-up {
              type uint32;
              description
                "Number of UP IPv6 Virtual IP Addresses on groups
    in ACTIVE state";
            }
    
            leaf ipv6-virtual-ip-addresses-active-down {
              type uint32;
              description
                "Number of DOWN IPv6 Virtual IP Addresses on
    groups in ACTIVE state";
            }
    
            leaf ipv6-virtual-ip-addresses-standby-up {
              type uint32;
              description
                "Number of UP IPv6 Virtual IP Addresses on groups
    in STANDBY state";
            }
    
            leaf ipv6-virtual-ip-addresses-standby-down {
              type uint32;
              description
                "Number of DOWN IPv6 Virtual IP Addresses on
    groups in STANDBY state";
            }
    
            leaf ipv6-virtual-ip-addresses-speak-up {
              type uint32;
              description
                "Number of UP IPv6 Virtual IP Addresses on groups
    in SPEAK state";
            }
    
            leaf ipv6-virtual-ip-addresses-speak-down {
              type uint32;
              description
                "Number of DOWN IPv6 Virtual IP Addresses on
    groups in SPEAK state";
            }
    
            leaf ipv6-virtual-ip-addresses-listen-up {
              type uint32;
              description
                "Number of UP IPv6 Virtual IP Addresses on groups
    in LISTEN state";
            }
    
            leaf ipv6-virtual-ip-addresses-listen-down {
              type uint32;
              description
                "Number of DOWN IPv6 Virtual IP Addresses on
    groups in LISTEN state";
            }
    
            leaf ipv6-virtual-ip-addresses-learn-up {
              type uint32;
              description
                "Number of UP IPv6 Virtual IP Addresses on groups
    in LEARN state";
            }
    
            leaf ipv6-virtual-ip-addresses-learn-down {
              type uint32;
              description
                "Number of DOWN IPv6 Virtual IP Addresses on
    groups in LEARN state";
            }
    
            leaf ipv6-virtual-ip-addresses-init-up {
              type uint32;
              description
                "Number of UP IPv6 Virtual IP Addresses on groups
    in INIT state";
            }
    
            leaf ipv6-virtual-ip-addresses-init-down {
              type uint32;
              description
                "Number of DOWN IPv6 Virtual IP Addresses on
    groups in INIT state";
            }
    
            leaf interfaces-ipv4-state-up {
              type uint32;
              description
                "Number of HSRP interfaces with IPv4 caps in UP
    state";
            }
    
            leaf interfaces-ipv4-state-down {
              type uint32;
              description
                "Number of HSRP interfaces with IPv4 caps in DOWN
    state";
            }
    
            leaf tracked-interfaces-ipv4-state-up {
              type uint32;
              description
                "Number of tracked interfaces with IPv4 caps in
    UP state";
            }
    
            leaf tracked-interfaces-ipv4-state-down {
              type uint32;
              description
                "Number of tracked interfaces with IPv4 caps in
    DOWN state";
            }
    
            leaf tracked-objects-up {
              type uint32;
              description
                "Number of tracked objects in UP state";
            }
    
            leaf tracked-objects-down {
              type uint32;
              description
                "Number of tracked objects in DOWN state";
            }
    
            leaf interfaces-ipv6-state-up {
              type uint32;
              description
                "Number of HSRP interfaces with IPv6 caps in UP
    state";
            }
    
            leaf interfaces-ipv6-state-down {
              type uint32;
              description
                "Number of HSRP interfaces with IPv6 caps in DOWN
    state";
            }
    
            leaf tracked-interfaces-ipv6-state-up {
              type uint32;
              description
                "Number of tracked interfaces with IPv6 caps in
    UP state";
            }
    
            leaf tracked-interfaces-ipv6-state-down {
              type uint32;
              description
                "Number of tracked interfaces with IPv6 caps in
    DOWN state";
            }
    
            leaf bfd-sessions-up {
              type uint32;
              description
                "Number of HSRP BFD sessions in UP state";
            }
    
            leaf bfd-sessions-down {
              type uint32;
              description
                "Number of HSRP BFD sessions in DOWN state";
            }
    
            leaf bfd-session-inactive {
              type uint32;
              description
                "Number of HSRP BFD sessions in INACTIVE state";
            }
          }  // container summary
        }  // container hsrp
      }  // module Cisco-IOS-XR-ipv4-hsrp-oper
    

© 2024 YumaWorks, Inc. All rights reserved.