This module contains a collection of YANG definitions for Cisco IOS-XR ip-static-ipv6 package operational data. This module con...
Version: 2020-11-20
module Cisco-IOS-XR-ip-static-ipv6-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ip-static-ipv6-oper"; prefix ip-static-ipv6-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-ip-static-ipv6-oper-sub1 { revision-date "2020-11-20"; } 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 ip-static-ipv6 package operational data. This module contains definitions for the following management objects: ipv6-local: Local Routing Information ipv6-static: Static Routing Information ipv6-connected: connected Routing Information Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-11-20" { description "Added leaf node for Prefer RIB over LDP"; } revision "2019-12-12" { description "Added leaf node for FlexAlgo for srv6"; } revision "2019-06-01" { description "Added oper ipv6 support for fridb, colocation, sr-policy 2019-05-13 Added ipv4 support for bfd sessions, object track database and segment routing"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2019-01-03" { description "Added oper ipv6 support"; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.2.0"; semver:module-version "1.1.0"; semver:module-version "1.1.0"; semver:module-version "1.0.0"; typedef Ipv6friafi { type enumeration { enum "ipv4" { value 1; description "ipv4 addressfamily"; } enum "ipv6" { value 2; description "ipv6 addressfamily"; } } description "Ipv6friafi"; } typedef Afiipv6 { type enumeration { enum "ipv4" { value 1; description "ipv4 addressfamily"; } enum "ipv6" { value 2; description "ipv6 addressfamily"; } } description "Afiipv6"; } typedef Safiipv6 { type enumeration { enum "unicast" { value 1; description "unicat type"; } enum "multicast" { value 2; description "multicast type"; } } description "Safiipv6"; } typedef Ipv6frisafi { type enumeration { enum "unicast" { value 1; description "unicast type"; } enum "multicast" { value 2; description "multicast type"; } } description "Ipv6frisafi"; } container ipv6-local { config false; description "Local Routing Information"; container ipv6fridbvrfs { description "ipv6 forward database"; list ipv6fridbvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "Forward DB vrf name"; } list ipv6fridb-table { key "table-name"; description "table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the forward DB table"; } list ipv6fridbafi { key "afitype"; description "address family type"; leaf afitype { type Ipv6friafi; description "IPv6 AFI"; } list ipv6fridbsafi { key "safitype"; description "unicast|multicast"; leaf safitype { type Ipv6frisafi; description "IPv6 SAFI"; } list ipv6fridb-interface { key "interface-name"; description "forward DB Interface to display"; leaf interface-name { type xr:Interface-name; description "forward DB Interface name"; } leaf if-name { type string; description "Interface name"; } leaf if-handle { type uint32; description "Interface handle"; } leaf-list tblid-db { type uint32; description "Table ID database"; } } // list ipv6fridb-interface } // list ipv6fridbsafi } // list ipv6fridbafi } // list ipv6fridb-table } // list ipv6fridbvrf } // container ipv6fridbvrfs container nhvrfs { description "next-hop's vrf list"; list nhvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of thei vrf"; } list nh-table { key "table-name"; description "next-hop table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the atble"; } list nhafi { key "afi"; description "next-hop address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list nhsafi { key "safi"; description "next-hop safi(unicat|multicast) type"; container nh-addresses { description "next-hop Database"; list nh-address { key "next-hop-addr"; description "next hop address to display"; leaf next-hop-addr { type xr:Cisco-ios-xr-string; description "next hop address"; } container evt-hist { description "Event history of next-hop"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "next-hop table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf state { type Nexthop-state; description "Next-hop address state"; } leaf conn-state { type Nexthop-state; description "Next-hop address connected state"; } leaf ifh { type uint32; description "Interface handleto which RIB resolves this"; } leaf conn-ifh { type uint32; description "Interface handle to which this is connected"; } leaf conn-ref-count { type uint32; description "Number of paths for which conn_state is resolved"; } leaf bfd-interval { type uint32; description "BFD hello interval"; } leaf bfd-multiplier { type uint32; description "BFD multiplier"; } leaf bfd-state { type Bfd-state; description "State of bfd session"; } leaf last-rib-time { type uint64; description "Last RIB notification time"; } leaf last-rib-state { type Nexthop-state; description "Last RIB notification state"; } leaf last-bfd-time { type uint64; description "Last BFD notification time"; } leaf last-bfd-state { type Bfd-state; description "Last BFD notification state"; } list paths { description "Paths referenced by this nhdb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths list bfds { description "Paths bfd state"; leaf enable { type boolean; description "TRUE if bfd is enabled"; } } // list bfds } // list nh-address } // container nh-addresses leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list nhsafi } // list nhafi } // list nh-table } // list nhvrf } // container nhvrfs container table-events-ids { description "list of Tables"; list table-events-id { key "table-id"; description "Table ID to display events info"; leaf table-id { type xr:Hex-integer; description "Table ID"; } leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // list table-events-id } // container table-events-ids container bfdvrfs { description "BFD's vrf list"; list bfdvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of the vrf"; } list bfd-table { key "table-name"; description "BFD table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the table"; } list bfdafi { key "afi"; description "BFD address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list bfdsafi { key "safi"; description "BFD safi(unicat|multicast) type"; container bfd-addresses { description "list of BFD sessions"; list bfd-address { key "bfd-next-hop-addr"; description "BFD next-hop address to display"; leaf bfd-next-hop-addr { type xr:Cisco-ios-xr-string; description "BFD next hop address"; } container bfd-stat { description "Stat of bfd session"; leaf session-up-cnt { type uint32; description "# of state change to up"; } leaf session-down-cnt { type uint32; description "# of state change to down"; } } // container bfd-stat leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "next-hop bfd table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf ifh { type uint32; description "Interface handle"; } leaf bfd-interval { type uint32; description "BFD hello interval"; } leaf bfd-multiplier { type uint32; description "BFD multiplier"; } leaf bfd-multihop { type boolean; description "BFD multihop"; } leaf bfd-state { type Bfd-state; description "State of bfd session"; } leaf bfd-source { type Ipv6-static-addr-bd; description "Multihop session source IP"; } } // list bfd-address } // container bfd-addresses leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list bfdsafi } // list bfdafi } // list bfd-table } // list bfdvrf } // container bfdvrfs container topo-vrfs { description "vrf list for Topology"; list topo-vrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of thei vrf"; } list topo-table { key "table-name"; description "Topology table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the atble"; } list topo-afi { key "afi"; description "Topology address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list topo-safi { key "safi"; description "Topology SAFI type"; container destinations { description "route info"; list destination { description "Destinatioin address and prefix length"; leaf prefix { type xr:Cisco-ios-xr-string; description "IP Prefix"; } leaf prefix-length { type xr:Hex-integer; description "IPv6 Prefix length"; } container evt-hist { description "Event history of topology"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "Table id of static route"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf best-distance { type uint32; description "Administrative distance of best path"; } leaf last-tdb-time { type uint64; description "Last event occured on the tdb"; } list paths { description "Path(s) of the route"; leaf vrf-name { type string; description "VRF Name"; } leaf interface { type string; description "Next-hop interface"; } leaf if-resolved { type boolean; description "Interface resolved indicator"; } leaf object { type string; description "Tracking object"; } leaf object-resolved { type boolean; description "Object resolved indicator"; } leaf exp-path { type string; description "Explicit path"; } leaf next-hop { type Ipv6-static-addr-bd; description "Next-hop address"; } leaf nh-resolved { type boolean; description "Next-hop resolved indicator"; } leaf path-tag { type uint32; description "Protocol tag"; } leaf path-flags { type uint32; description "Topology path flags"; } leaf distance { type uint32; description "Administrative distance"; } leaf ref-count { type uint32; description "Reference count"; } leaf metric { type uint32; description "UCMP Metric"; } leaf status { type uint32; description "Path Status"; } leaf rib-time { type uint64; description "RIB add or delete time"; } leaf version { type uint32; description "Path version"; } leaf index { type string; description "OC index"; } leaf local-label { type uint32; description "Route local Label"; } leaf last-notif-time { type uint64; description "Last IM notification time"; } leaf last-rib-time { type uint64; description "Last RIB notification time for nh"; } leaf last-rib-result { type uint64; description "Last RIB batch result"; } leaf last-bfd-state { type Bfd-state; description "State of bfd session"; } leaf last-bfd-time { type uint64; description "Last BFD notification time"; } leaf path-state { type Explicit-path-state; description "explicit path status"; } leaf last-te-time { type uint64; description "Last TE notification time"; } leaf algorithm { type uint32; description "FlexAlgo value, Valid only for ipv6_static"; } leaf prefer-rib-over-ldp { type boolean; description "Give precedence to RIB over LDP"; } } // list paths } // list destination } // container destinations leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list topo-safi } // list topo-afi } // list topo-table } // list topo-vrf } // container topo-vrfs container ipv6vrfs { description "ipv6 interface database"; list ipv6vrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of the"; } list ipv6-table { key "table-name"; description "table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the"; } list ipv6afi { key "afi"; description "address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list ipv6safi { key "safi"; description "unicast|multicast"; leaf safi { type Safiipv6; description "IPv6 SAFI"; } list ipv6-interface { key "interface-name"; description "Interface to display"; leaf interface-name { type xr:Interface-name; description "Interface name"; } container evt-hist { description "Event history of interface"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "interface database table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf state { type Interface-state; description "Interface state"; } leaf ifh { type uint32; description "Interface handle"; } leaf last-notif-time { type uint64; description "Last IM/RSI notification time"; } leaf last-if-state { type Interface-state; description "Last IM notification state"; } leaf ref-count { type uint32; description "Reference count"; } leaf gl-ifh { type uint32; description "Global Interface handle"; } leaf im-state { type uint32; description "Interface manager state"; } leaf rsi-register { type boolean; description "Registration status with RSI"; } leaf-list tblid-db { type uint32; description "IDB Table ID"; } leaf-list fr-tblid-db { type uint32; description "FR Table ID"; } list paths { description "Paths referenced by this idb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths list addr-info { description "IP address info"; leaf addr { type Ipv6-static-addr-bd; description "IP address"; } leaf prefix-len { type uint32; description "Prefix length"; } leaf route-tag { type uint32; description "Static route tag"; } leaf flags { type uint32; description "Flags"; } leaf inactive { type boolean; description "Active/Inactive"; } leaf prefix-sid { type boolean; description "Prefix SID"; } } // list addr-info } // list ipv6-interface } // list ipv6safi } // list ipv6afi } // list ipv6-table } // list ipv6vrf } // container ipv6vrfs container table-ids { description "list of Tables"; list table-id { key "table-id"; description "Table ID to display"; leaf table-id { type xr:Hex-integer; description "Table ID"; } leaf vrf-name { type string; description "VRF Name"; } leaf table-name { type string; description "VRF Name"; } leaf table-id-xr { type uint32; description "table id in table database"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } } // list table-id } // container table-ids } // container ipv6-local container ipv6-static { config false; description "Static Routing Information"; container ipv6-track-object-names { description "list of track objects"; list ipv6-track-object-name { key "ot-name"; description "Track object to display"; leaf ot-name { type xr:Cisco-ios-xr-string; description "The name of the tacking object"; } leaf state { type Object-state; description "Object state"; } leaf last-ot-time { type uint64; description "Last OT notification time"; } leaf last-ot-state { type Object-state; description "Last OT notification state"; } list paths { description "Paths referenced by this otdb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths } // list ipv6-track-object-name } // container ipv6-track-object-names container ipv6-exp-paths { description "list of explicit paths"; list ipv6-exp-path { key "explicit-path"; description "Explicit path to display"; leaf explicit-path { type xr:Cisco-ios-xr-string; description "The name of the explicit path"; } leaf state { type Explicit-path-state; description "Explicit path state"; } leaf tunnel-ifh { type uint32; description "Tunnel interface handle"; } leaf binding-label { type uint32; description "Explicit path Binding label"; } leaf last-te-time { type uint64; description "Last TE notification time"; } leaf last-te-state { type Explicit-path-state; description "Last TE notification state"; } list paths { description "Paths referenced by this tedb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths } // list ipv6-exp-path } // container ipv6-exp-paths container ipv6-colocationvrf-names { description "list of colocation vrfs"; list ipv6-colocationvrf-name { key "vrf"; description "vrf name of table id to display colocation list"; leaf vrf { type xr:Cisco-ios-xr-string; description "vrf name"; } list ipv6-colocation-table { key "table-name"; description "table name to display colocation list"; leaf table-name { type xr:Cisco-ios-xr-string; description "table name"; } list ipv6-colocation-afi { key "afi"; description "Colocation address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list ipv6-colocation-safi { key "safi"; description "Colocation safi(unicat|multicast) type"; container ipv6-colo-table-ids { description "tables to display colocation list"; list ipv6-colo-table-id { key "table-id"; description "table to display colocation list"; leaf table-id { type xr:Hex-integer; description "Table ID"; } list colocation { description "Colocation List of table"; leaf vrf-name { type string; description "VRF Name"; } leaf table-name { type string; description "Table Name"; } leaf table-id { type uint32; description "colocation table id"; } leaf ref-count { type uint32; description "Refrence Count"; } } // list colocation } // list ipv6-colo-table-id } // container ipv6-colo-table-ids leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list ipv6-colocation-safi } // list ipv6-colocation-afi } // list ipv6-colocation-table } // list ipv6-colocationvrf-name } // container ipv6-colocationvrf-names container ipv6-sr-policy-vrfs { description "ipv6 sr-policy interface database"; list ipv6-sr-policy-vrf { key "vrf-name"; description "sr policy vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of the vrf"; } list ipv6-sr-policy-table { key "table-name"; description "sr policy table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the table"; } list ipv6-sr-policy-afi { key "afi"; description "address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list ipv6-sr-policy-safi { key "safi"; description "unicast|multicast"; leaf safi { type Safiipv6; description "IPv6 SAFI"; } list ipv6-sr-policy-interface { key "srpolicy"; description "sr policy to display"; leaf srpolicy { type xr:Cisco-ios-xr-string; description "sr policy name"; } container evt-hist { description "Event history of interface"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "interface database table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf state { type Interface-state; description "Interface state"; } leaf ifh { type uint32; description "Interface handle"; } leaf last-notif-time { type uint64; description "Last IM/RSI notification time"; } leaf last-if-state { type Interface-state; description "Last IM notification state"; } leaf ref-count { type uint32; description "Reference count"; } leaf gl-ifh { type uint32; description "Global Interface handle"; } leaf im-state { type uint32; description "Interface manager state"; } leaf rsi-register { type boolean; description "Registration status with RSI"; } leaf-list tblid-db { type uint32; description "IDB Table ID"; } leaf-list fr-tblid-db { type uint32; description "FR Table ID"; } list paths { description "Paths referenced by this idb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths list addr-info { description "IP address info"; leaf addr { type Ipv6-static-addr-bd; description "IP address"; } leaf prefix-len { type uint32; description "Prefix length"; } leaf route-tag { type uint32; description "Static route tag"; } leaf flags { type uint32; description "Flags"; } leaf inactive { type boolean; description "Active/Inactive"; } leaf prefix-sid { type boolean; description "Prefix SID"; } } // list addr-info } // list ipv6-sr-policy-interface } // list ipv6-sr-policy-safi } // list ipv6-sr-policy-afi } // list ipv6-sr-policy-table } // list ipv6-sr-policy-vrf } // container ipv6-sr-policy-vrfs container nhvrfs { description "next-hop's vrf list"; list nhvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of thei vrf"; } list nh-table { key "table-name"; description "next-hop table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the atble"; } list nhafi { key "afi"; description "next-hop address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list nhsafi { key "safi"; description "next-hop safi(unicat|multicast) type"; container nh-addresses { description "next-hop Database"; list nh-address { key "next-hop-addr"; description "next hop address to display"; leaf next-hop-addr { type xr:Cisco-ios-xr-string; description "next hop address"; } container evt-hist { description "Event history of next-hop"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "next-hop table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf state { type Nexthop-state; description "Next-hop address state"; } leaf conn-state { type Nexthop-state; description "Next-hop address connected state"; } leaf ifh { type uint32; description "Interface handleto which RIB resolves this"; } leaf conn-ifh { type uint32; description "Interface handle to which this is connected"; } leaf conn-ref-count { type uint32; description "Number of paths for which conn_state is resolved"; } leaf bfd-interval { type uint32; description "BFD hello interval"; } leaf bfd-multiplier { type uint32; description "BFD multiplier"; } leaf bfd-state { type Bfd-state; description "State of bfd session"; } leaf last-rib-time { type uint64; description "Last RIB notification time"; } leaf last-rib-state { type Nexthop-state; description "Last RIB notification state"; } leaf last-bfd-time { type uint64; description "Last BFD notification time"; } leaf last-bfd-state { type Bfd-state; description "Last BFD notification state"; } list paths { description "Paths referenced by this nhdb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths list bfds { description "Paths bfd state"; leaf enable { type boolean; description "TRUE if bfd is enabled"; } } // list bfds } // list nh-address } // container nh-addresses leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list nhsafi } // list nhafi } // list nh-table } // list nhvrf } // container nhvrfs container table-events-ids { description "list of Tables"; list table-events-id { key "table-id"; description "Table ID to display events info"; leaf table-id { type xr:Hex-integer; description "Table ID"; } leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // list table-events-id } // container table-events-ids container bfdvrfs { description "BFD's vrf list"; list bfdvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of the vrf"; } list bfd-table { key "table-name"; description "BFD table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the table"; } list bfdafi { key "afi"; description "BFD address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list bfdsafi { key "safi"; description "BFD safi(unicat|multicast) type"; container bfd-addresses { description "list of BFD sessions"; list bfd-address { key "bfd-next-hop-addr"; description "BFD next-hop address to display"; leaf bfd-next-hop-addr { type xr:Cisco-ios-xr-string; description "BFD next hop address"; } container bfd-stat { description "Stat of bfd session"; leaf session-up-cnt { type uint32; description "# of state change to up"; } leaf session-down-cnt { type uint32; description "# of state change to down"; } } // container bfd-stat leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "next-hop bfd table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf ifh { type uint32; description "Interface handle"; } leaf bfd-interval { type uint32; description "BFD hello interval"; } leaf bfd-multiplier { type uint32; description "BFD multiplier"; } leaf bfd-multihop { type boolean; description "BFD multihop"; } leaf bfd-state { type Bfd-state; description "State of bfd session"; } leaf bfd-source { type Ipv6-static-addr-bd; description "Multihop session source IP"; } } // list bfd-address } // container bfd-addresses leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list bfdsafi } // list bfdafi } // list bfd-table } // list bfdvrf } // container bfdvrfs container topo-vrfs { description "vrf list for Topology"; list topo-vrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of thei vrf"; } list topo-table { key "table-name"; description "Topology table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the atble"; } list topo-afi { key "afi"; description "Topology address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list topo-safi { key "safi"; description "Topology SAFI type"; container destinations { description "route info"; list destination { description "Destinatioin address and prefix length"; leaf prefix { type xr:Cisco-ios-xr-string; description "IP Prefix"; } leaf prefix-length { type xr:Hex-integer; description "IPv6 Prefix length"; } container evt-hist { description "Event history of topology"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "Table id of static route"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf best-distance { type uint32; description "Administrative distance of best path"; } leaf last-tdb-time { type uint64; description "Last event occured on the tdb"; } list paths { description "Path(s) of the route"; leaf vrf-name { type string; description "VRF Name"; } leaf interface { type string; description "Next-hop interface"; } leaf if-resolved { type boolean; description "Interface resolved indicator"; } leaf object { type string; description "Tracking object"; } leaf object-resolved { type boolean; description "Object resolved indicator"; } leaf exp-path { type string; description "Explicit path"; } leaf next-hop { type Ipv6-static-addr-bd; description "Next-hop address"; } leaf nh-resolved { type boolean; description "Next-hop resolved indicator"; } leaf path-tag { type uint32; description "Protocol tag"; } leaf path-flags { type uint32; description "Topology path flags"; } leaf distance { type uint32; description "Administrative distance"; } leaf ref-count { type uint32; description "Reference count"; } leaf metric { type uint32; description "UCMP Metric"; } leaf status { type uint32; description "Path Status"; } leaf rib-time { type uint64; description "RIB add or delete time"; } leaf version { type uint32; description "Path version"; } leaf index { type string; description "OC index"; } leaf local-label { type uint32; description "Route local Label"; } leaf last-notif-time { type uint64; description "Last IM notification time"; } leaf last-rib-time { type uint64; description "Last RIB notification time for nh"; } leaf last-rib-result { type uint64; description "Last RIB batch result"; } leaf last-bfd-state { type Bfd-state; description "State of bfd session"; } leaf last-bfd-time { type uint64; description "Last BFD notification time"; } leaf path-state { type Explicit-path-state; description "explicit path status"; } leaf last-te-time { type uint64; description "Last TE notification time"; } leaf algorithm { type uint32; description "FlexAlgo value, Valid only for ipv6_static"; } leaf prefer-rib-over-ldp { type boolean; description "Give precedence to RIB over LDP"; } } // list paths } // list destination } // container destinations leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list topo-safi } // list topo-afi } // list topo-table } // list topo-vrf } // container topo-vrfs container ipv6vrfs { description "ipv6 interface database"; list ipv6vrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of the"; } list ipv6-table { key "table-name"; description "table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the"; } list ipv6afi { key "afi"; description "address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list ipv6safi { key "safi"; description "unicast|multicast"; leaf safi { type Safiipv6; description "IPv6 SAFI"; } list ipv6-interface { key "interface-name"; description "Interface to display"; leaf interface-name { type xr:Interface-name; description "Interface name"; } container evt-hist { description "Event history of interface"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "interface database table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf state { type Interface-state; description "Interface state"; } leaf ifh { type uint32; description "Interface handle"; } leaf last-notif-time { type uint64; description "Last IM/RSI notification time"; } leaf last-if-state { type Interface-state; description "Last IM notification state"; } leaf ref-count { type uint32; description "Reference count"; } leaf gl-ifh { type uint32; description "Global Interface handle"; } leaf im-state { type uint32; description "Interface manager state"; } leaf rsi-register { type boolean; description "Registration status with RSI"; } leaf-list tblid-db { type uint32; description "IDB Table ID"; } leaf-list fr-tblid-db { type uint32; description "FR Table ID"; } list paths { description "Paths referenced by this idb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths list addr-info { description "IP address info"; leaf addr { type Ipv6-static-addr-bd; description "IP address"; } leaf prefix-len { type uint32; description "Prefix length"; } leaf route-tag { type uint32; description "Static route tag"; } leaf flags { type uint32; description "Flags"; } leaf inactive { type boolean; description "Active/Inactive"; } leaf prefix-sid { type boolean; description "Prefix SID"; } } // list addr-info } // list ipv6-interface } // list ipv6safi } // list ipv6afi } // list ipv6-table } // list ipv6vrf } // container ipv6vrfs container table-ids { description "list of Tables"; list table-id { key "table-id"; description "Table ID to display"; leaf table-id { type xr:Hex-integer; description "Table ID"; } leaf vrf-name { type string; description "VRF Name"; } leaf table-name { type string; description "VRF Name"; } leaf table-id-xr { type uint32; description "table id in table database"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } } // list table-id } // container table-ids } // container ipv6-static container ipv6-connected { config false; description "connected Routing Information"; container ipv6fridbvrfs { description "ipv6 forward database"; list ipv6fridbvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "Forward DB vrf name"; } list ipv6fridb-table { key "table-name"; description "table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the forward DB table"; } list ipv6fridbafi { key "afitype"; description "address family type"; leaf afitype { type Ipv6friafi; description "IPv6 AFI"; } list ipv6fridbsafi { key "safitype"; description "unicast|multicast"; leaf safitype { type Ipv6frisafi; description "IPv6 SAFI"; } list ipv6fridb-interface { key "interface-name"; description "forward DB Interface to display"; leaf interface-name { type xr:Interface-name; description "forward DB Interface name"; } leaf if-name { type string; description "Interface name"; } leaf if-handle { type uint32; description "Interface handle"; } leaf-list tblid-db { type uint32; description "Table ID database"; } } // list ipv6fridb-interface } // list ipv6fridbsafi } // list ipv6fridbafi } // list ipv6fridb-table } // list ipv6fridbvrf } // container ipv6fridbvrfs container nhvrfs { description "next-hop's vrf list"; list nhvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of thei vrf"; } list nh-table { key "table-name"; description "next-hop table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the atble"; } list nhafi { key "afi"; description "next-hop address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list nhsafi { key "safi"; description "next-hop safi(unicat|multicast) type"; container nh-addresses { description "next-hop Database"; list nh-address { key "next-hop-addr"; description "next hop address to display"; leaf next-hop-addr { type xr:Cisco-ios-xr-string; description "next hop address"; } container evt-hist { description "Event history of next-hop"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "next-hop table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf state { type Nexthop-state; description "Next-hop address state"; } leaf conn-state { type Nexthop-state; description "Next-hop address connected state"; } leaf ifh { type uint32; description "Interface handleto which RIB resolves this"; } leaf conn-ifh { type uint32; description "Interface handle to which this is connected"; } leaf conn-ref-count { type uint32; description "Number of paths for which conn_state is resolved"; } leaf bfd-interval { type uint32; description "BFD hello interval"; } leaf bfd-multiplier { type uint32; description "BFD multiplier"; } leaf bfd-state { type Bfd-state; description "State of bfd session"; } leaf last-rib-time { type uint64; description "Last RIB notification time"; } leaf last-rib-state { type Nexthop-state; description "Last RIB notification state"; } leaf last-bfd-time { type uint64; description "Last BFD notification time"; } leaf last-bfd-state { type Bfd-state; description "Last BFD notification state"; } list paths { description "Paths referenced by this nhdb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths list bfds { description "Paths bfd state"; leaf enable { type boolean; description "TRUE if bfd is enabled"; } } // list bfds } // list nh-address } // container nh-addresses leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list nhsafi } // list nhafi } // list nh-table } // list nhvrf } // container nhvrfs container table-events-ids { description "list of Tables"; list table-events-id { key "table-id"; description "Table ID to display events info"; leaf table-id { type xr:Hex-integer; description "Table ID"; } leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // list table-events-id } // container table-events-ids container bfdvrfs { description "BFD's vrf list"; list bfdvrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of the vrf"; } list bfd-table { key "table-name"; description "BFD table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the table"; } list bfdafi { key "afi"; description "BFD address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list bfdsafi { key "safi"; description "BFD safi(unicat|multicast) type"; container bfd-addresses { description "list of BFD sessions"; list bfd-address { key "bfd-next-hop-addr"; description "BFD next-hop address to display"; leaf bfd-next-hop-addr { type xr:Cisco-ios-xr-string; description "BFD next hop address"; } container bfd-stat { description "Stat of bfd session"; leaf session-up-cnt { type uint32; description "# of state change to up"; } leaf session-down-cnt { type uint32; description "# of state change to down"; } } // container bfd-stat leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "next-hop bfd table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf ifh { type uint32; description "Interface handle"; } leaf bfd-interval { type uint32; description "BFD hello interval"; } leaf bfd-multiplier { type uint32; description "BFD multiplier"; } leaf bfd-multihop { type boolean; description "BFD multihop"; } leaf bfd-state { type Bfd-state; description "State of bfd session"; } leaf bfd-source { type Ipv6-static-addr-bd; description "Multihop session source IP"; } } // list bfd-address } // container bfd-addresses leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list bfdsafi } // list bfdafi } // list bfd-table } // list bfdvrf } // container bfdvrfs container topo-vrfs { description "vrf list for Topology"; list topo-vrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of thei vrf"; } list topo-table { key "table-name"; description "Topology table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the atble"; } list topo-afi { key "afi"; description "Topology address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list topo-safi { key "safi"; description "Topology SAFI type"; container destinations { description "route info"; list destination { description "Destinatioin address and prefix length"; leaf prefix { type xr:Cisco-ios-xr-string; description "IP Prefix"; } leaf prefix-length { type xr:Hex-integer; description "IPv6 Prefix length"; } container evt-hist { description "Event history of topology"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "Table id of static route"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf best-distance { type uint32; description "Administrative distance of best path"; } leaf last-tdb-time { type uint64; description "Last event occured on the tdb"; } list paths { description "Path(s) of the route"; leaf vrf-name { type string; description "VRF Name"; } leaf interface { type string; description "Next-hop interface"; } leaf if-resolved { type boolean; description "Interface resolved indicator"; } leaf object { type string; description "Tracking object"; } leaf object-resolved { type boolean; description "Object resolved indicator"; } leaf exp-path { type string; description "Explicit path"; } leaf next-hop { type Ipv6-static-addr-bd; description "Next-hop address"; } leaf nh-resolved { type boolean; description "Next-hop resolved indicator"; } leaf path-tag { type uint32; description "Protocol tag"; } leaf path-flags { type uint32; description "Topology path flags"; } leaf distance { type uint32; description "Administrative distance"; } leaf ref-count { type uint32; description "Reference count"; } leaf metric { type uint32; description "UCMP Metric"; } leaf status { type uint32; description "Path Status"; } leaf rib-time { type uint64; description "RIB add or delete time"; } leaf version { type uint32; description "Path version"; } leaf index { type string; description "OC index"; } leaf local-label { type uint32; description "Route local Label"; } leaf last-notif-time { type uint64; description "Last IM notification time"; } leaf last-rib-time { type uint64; description "Last RIB notification time for nh"; } leaf last-rib-result { type uint64; description "Last RIB batch result"; } leaf last-bfd-state { type Bfd-state; description "State of bfd session"; } leaf last-bfd-time { type uint64; description "Last BFD notification time"; } leaf path-state { type Explicit-path-state; description "explicit path status"; } leaf last-te-time { type uint64; description "Last TE notification time"; } leaf algorithm { type uint32; description "FlexAlgo value, Valid only for ipv6_static"; } leaf prefer-rib-over-ldp { type boolean; description "Give precedence to RIB over LDP"; } } // list paths } // list destination } // container destinations leaf safi { type Safiipv6; description "IPv6 SAFI"; } } // list topo-safi } // list topo-afi } // list topo-table } // list topo-vrf } // container topo-vrfs container ipv6vrfs { description "ipv6 interface database"; list ipv6vrf { key "vrf-name"; description "vrf name"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "The name of the"; } list ipv6-table { key "table-name"; description "table name"; leaf table-name { type xr:Cisco-ios-xr-string; description "The name of the"; } list ipv6afi { key "afi"; description "address family type"; leaf afi { type Afiipv6; description "IPv6 AFI"; } list ipv6safi { key "safi"; description "unicast|multicast"; leaf safi { type Safiipv6; description "IPv6 SAFI"; } list ipv6-interface { key "interface-name"; description "Interface to display"; leaf interface-name { type xr:Interface-name; description "Interface name"; } container evt-hist { description "Event history of interface"; leaf evt-class-name { type string; description "Class name string"; } list evt-entry { description "Array of event entries"; leaf evt-timestamp { type string; description "The timestamp of the event"; } leaf evt-name { type string; description "Event name"; } leaf evt-type { type uint8; description "Event type"; } leaf evt-many { type boolean; description "Multiple instance flag"; } leaf evt-sticky { type boolean; description "Sticky flag"; } leaf-list evt-data { type uint32; description "Optional data"; } } // list evt-entry } // container evt-hist leaf vrf-name { type string; description "VRF Name"; } leaf table-id { type uint32; description "interface database table id"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } leaf state { type Interface-state; description "Interface state"; } leaf ifh { type uint32; description "Interface handle"; } leaf last-notif-time { type uint64; description "Last IM/RSI notification time"; } leaf last-if-state { type Interface-state; description "Last IM notification state"; } leaf ref-count { type uint32; description "Reference count"; } leaf gl-ifh { type uint32; description "Global Interface handle"; } leaf im-state { type uint32; description "Interface manager state"; } leaf rsi-register { type boolean; description "Registration status with RSI"; } leaf-list tblid-db { type uint32; description "IDB Table ID"; } leaf-list fr-tblid-db { type uint32; description "FR Table ID"; } list paths { description "Paths referenced by this idb"; leaf prefix { type Ipv6-static-addr-bd; description "The path's prefix address"; } leaf prefix-len { type uint8; description "The path's prefix length"; } leaf vrf-name { type string; description "VRF Name"; } } // list paths list addr-info { description "IP address info"; leaf addr { type Ipv6-static-addr-bd; description "IP address"; } leaf prefix-len { type uint32; description "Prefix length"; } leaf route-tag { type uint32; description "Static route tag"; } leaf flags { type uint32; description "Flags"; } leaf inactive { type boolean; description "Active/Inactive"; } leaf prefix-sid { type boolean; description "Prefix SID"; } } // list addr-info } // list ipv6-interface } // list ipv6safi } // list ipv6afi } // list ipv6-table } // list ipv6vrf } // container ipv6vrfs container table-ids { description "list of Tables"; list table-id { key "table-id"; description "Table ID to display"; leaf table-id { type xr:Hex-integer; description "Table ID"; } leaf vrf-name { type string; description "VRF Name"; } leaf table-name { type string; description "VRF Name"; } leaf table-id-xr { type uint32; description "table id in table database"; } leaf afi { type uint32; description "AFI"; } leaf safi { type uint32; description "SAFI"; } } // list table-id } // container table-ids } // container ipv6-connected } // module Cisco-IOS-XR-ip-static-ipv6-oper
© 2023 YumaWorks, Inc. All rights reserved.