Cisco-IOS-XR-ipv4-bgp-oper-sub1

This submodule contains a collection of YANG definitions for Cisco IOS-XR ipv4-bgp package operational data. Copyright (c) 2013...

  • Version: 2021-05-10

    Cisco-IOS-XR-ipv4-bgp-oper-sub1@2021-05-10


    
      submodule Cisco-IOS-XR-ipv4-bgp-oper-sub1 {
    
        yang-version 1;
    
        belongs-to Cisco-IOS-XR-ipv4-bgp-oper {
            prefix Cisco-IOS-XR-ipv4-bgp-oper;
        }
    
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 submodule contains a collection of YANG definitions
         for Cisco IOS-XR ipv4-bgp package operational data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-05-10" {
          description
            "Added platform capability mix srte CLI
           2021-03-15
             Added Export Allow Config for backup
           2021-03-05
             Deprecated Hidden commands
           2021-03-05
             Added SR Policy Path Prefernce in Bestpath Compare
           2020-10-04
             Added Soft NextHop Validation and Metric
           2020-09-30
             Added LATEST bestpath comparison reason
           2020-09-18
             Added SRv6 TE BSID information
           2020-07-15
             Changed VRFDBVRFTable pathformat";
        }
    
        revision "2020-06-23" {
          description
            "changed the afi from integer to string in BPM entities
           2020-03-30
           Extended flags to 16 bits and changed leaf names as per convention";
        }
    
        revision "2020-01-11" {
          description
            "Fixing invalid range for prefix length.
           2019-08-31
           Fixing revision error in module.";
        }
    
        revision "2019-04-05" {
          description
            "Fixing backward compatibility error in module";
        }
    
        revision "2019-04-05" {
          description
            "Added schema for opercoverage missing paths";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2017-09-07" {
          description
            "Fixed type translation error.";
        }
    
        revision "2017-06-26" {
          description
            "Change identifiers to be more readable.";
        }
    
        revision "2017-05-01" {
          description
            "Fixing backward compatibility error in module.";
        }
    
        revision "2015-08-27" {
          description "IOS XR 5.3.2 revision.";
        }
    
        semver:module-version "4.0.0";
        semver:module-version "3.0.0";
        semver:module-version "2.0.0";
        semver:module-version "1.0.0";
    
        typedef Bgp-label-rpf-install {
          type enumeration {
            enum "bgp-label-rpf-install-rib" {
              value 0;
              description "Install via RIB";
            }
            enum "bgp-label-rpf-install-lsd" {
              value 1;
              description "Install via LSD";
            }
          }
          description
            "BGP Label RPF Install Path";
        }
    
        typedef Bgp-rpki-perror {
          type enumeration {
            enum "none" {
              value 0;
              description "No protocol error";
            }
            enum "message-version" {
              value 1;
              description
                "Message version error";
            }
            enum "message-type" {
              value 2;
              description "Message type error";
            }
            enum "message-length" {
              value 3;
              description "Message length error";
            }
            enum "nonce-mismatch" {
              value 4;
              description
                "Server nonce mismatch";
            }
            enum "bad-prefix" {
              value 5;
              description "Bad ROA";
            }
            enum "fsm" {
              value 6;
              description "FSM error";
            }
            enum "no-response" {
              value 7;
              description
                "No response from server";
            }
            enum "error-report" {
              value 8;
              description
                "Server sent error-report";
            }
          }
          description "Bgp rpki perror";
        }
    
        typedef Bgp-rpki-pstate {
          type enumeration {
            enum "not-started" {
              value 0;
              description
                "Server protocol has not started";
            }
            enum "reset" {
              value 1;
              description
                "Server protocol reset";
            }
            enum "refresh" {
              value 2;
              description
                "Server protocol resumed";
            }
            enum "reset-query-sent" {
              value 3;
              description
                "Reset query sent to server";
            }
            enum "serial-query-sent" {
              value 4;
              description
                "Serial query sent to server";
            }
            enum "data-start" {
              value 5;
              description
                "Server started sending data";
            }
            enum "data-end" {
              value 6;
              description
                "Server ended sending data";
            }
          }
          description "Bgp rpki pstate";
        }
    
        typedef Bgp-rpki-creason {
          type enumeration {
            enum "no-close-reason" {
              value 0;
              description "No close reason";
            }
            enum "read-error" {
              value 1;
              description "Socket Read error";
            }
            enum "write-error" {
              value 2;
              description "Socket Write error";
            }
            enum "proto-error" {
              value 3;
              description "Protocol error";
            }
            enum "config-shutdown" {
              value 4;
              description
                "Shutdown by configuration";
            }
            enum "config-removed" {
              value 5;
              description
                "Configuration removed";
            }
            enum "config-changed" {
              value 6;
              description
                "Configuration changed";
            }
            enum "nsr-disabled" {
              value 7;
              description "NSR disabled";
            }
            enum "user-clear" {
              value 8;
              description "Explicity user clear";
            }
            enum "ssh-died" {
              value 9;
              description "SSH process died";
            }
            enum "tcp-died" {
              value 10;
              description "TCP process died";
            }
          }
          description "Bgp rpki creason";
        }
    
        typedef Bgp-rpki-state {
          type enumeration {
            enum "idle" {
              value 0;
              description "Server is idle";
            }
            enum "attempt-connect" {
              value 1;
              description
                "Connect attempt made to server";
            }
            enum "connected" {
              value 2;
              description "Server is connected";
            }
          }
          description "Bgp rpki state";
        }
    
        typedef Bgp-ism-conn-state {
          type enumeration {
            enum "none" {
              value 0;
              description "None - ST 0";
            }
            enum "connect-done" {
              value 1;
              description
                "ISSUMgr connection done - ST 1";
            }
          }
          description "Bgp ism conn state";
        }
    
        typedef Bgp-ds-conn-state {
          type enumeration {
            enum "none" {
              value 0;
              description
                "DS connection not initiated - ST 0";
            }
            enum "connect-init" {
              value 1;
              description
                "DS connection initiated - ST 1";
            }
            enum "connect-fail" {
              value 2;
              description
                "DS connection failed - ST 2";
            }
            enum "connect-estb" {
              value 3;
              description
                "DS connection established - ST 3";
            }
            enum "disconnect-init" {
              value 4;
              description
                "DS disconnect initiated - ST 4";
            }
            enum "disconnect-fail" {
              value 5;
              description
                "DS disconnect failed - ST 5";
            }
            enum "disconnect-done" {
              value 6;
              description
                "DS disconnect done - ST 6";
            }
          }
          description "Bgp ds conn state";
        }
    
        typedef Bgp-scoped-sync-state {
          type enumeration {
            enum "bgp-scope-sync-state-none" {
              value 0;
              description "State none";
            }
            enum
              "bgp-scope-sync-state-not-nsr-ready" {
              value 1;
              description
                "Oper Down when NSR not ready";
            }
            enum
              "bgp-scope-sync-state-timer-start" {
              value 2;
              description
                "Timer started for active batch";
            }
            enum "bgp-scope-sync-state-add-list" {
              value 3;
              description
                "Start adding neighbors to pending batch";
            }
            enum
              "bgp-scope-sync-state-batch-acitve" {
              value 4;
              description "Active batch";
            }
          }
          description "Bgp scoped sync state";
        }
    
        typedef Bgp-bmp-upd-mode {
          type enumeration {
            enum "bgp-bmp-upd-n-either" {
              value 0;
              description
                "Neither of the modes are enabled";
            }
            enum "bgp-bmp-upd-route-mon" {
              value 1;
              description
                "Route Monotoring mode enabled";
            }
            enum "bgp-bmp-upd-route-mirr" {
              value 2;
              description
                "Route Mirroring mode is enabled";
            }
          }
          description "Bgp bmp upd mode";
        }
    
        typedef Bgp-bmp-state {
          type enumeration {
            enum "none" {
              value 0;
              description "BMP NOT Connected";
            }
            enum "connecting" {
              value 1;
              description "BMP Under Connection";
            }
            enum "established" {
              value 2;
              description
                "BMP Connection Established";
            }
            enum "closing" {
              value 3;
              description
                "BMP Connection Closing";
            }
          }
          description "BMP Connection State";
        }
    
        typedef Bgp-bag-upd-filter-action {
          type enumeration {
            enum "none" {
              value 0;
              description "No Action";
            }
            enum "withdraw" {
              value 1;
              description "Withdraw NLRI";
            }
            enum "attribute-discard" {
              value 2;
              description "Discard Attribute";
            }
          }
          description
            "Bgp bag upd filter action";
        }
    
        typedef Bgp-bag-upd-err-action {
          type enumeration {
            enum "bgp-bag-upd-err-action-none" {
              value 0;
              description "No Action";
            }
            enum
              "bgp-bag-upd-err-action-discard-msg" {
              value 1;
              description "Discard Message";
            }
            enum "bgp-bag-upd-err-action-reset" {
              value 2;
              description "Session Reset";
            }
            enum
              "bgp-bag-upd-err-action-wdr-or-reset" {
              value 3;
              description
                "Withdraw NLRI or Reset";
            }
            enum "bgp-bag-upd-err-action-wdr" {
              value 4;
              description "Withdraw NLRI";
            }
            enum
              "bgp-bag-upd-err-action-discard-attr" {
              value 5;
              description "Discard Attribute";
            }
            enum
              "bgp-bag-upd-err-action-local-repair" {
              value 6;
              description "Local Repair";
            }
            enum "bgp-bag-upd-err-action-max" {
              value 7;
              description
                "Maximum number of actions";
            }
          }
          description "Bgp bag upd err action";
        }
    
        typedef Bgp-sync-nbr-nsr-state {
          type enumeration {
            enum "bgp-nbr-nsr-st-none" {
              value 0;
              description "None - ST 0";
            }
            enum "bgp-nbr-nsr-st-oper-down" {
              value 1;
              description
                "TCP OPER_DOWN notfn received - ST 1";
            }
            enum "bgp-nbr-nsr-st-tcp-init-sync" {
              value 2;
              description
                "TCP initial sync in progress - ST 2";
            }
            enum "bgp-nbr-nsr-st-tcp-phase-two" {
              value 3;
              description
                "TCP initial sync phase two in progress - ST 3";
            }
            enum "bgp-nbr-nsr-st-bgp-init-sync" {
              value 4;
              description
                "BGP initial sync in progress - ST 4";
            }
            enum "bgp-nbr-nsr-st-nsr-ready" {
              value 5;
              description
                "Neighbor NSR ready - ST 5";
            }
          }
          description "Bgp sync nbr nsr state";
        }
    
        typedef Bgp-track-state {
          type enumeration {
            enum "bgp-track-state-unknown" {
              value 0;
              description
                "Track state is Unknown";
            }
            enum "bgp-track-state-down" {
              value 1;
              description "Track state is Down";
            }
            enum "bgp-track-state-up" {
              value 2;
              description "Track state is Up";
            }
          }
          description "BGP Track state";
        }
    
        typedef Bgp-peer-reset-reason-index {
          type enumeration {
            enum "bgp-read-remote-closed" {
              value 1;
              description
                "Remote closed the session";
            }
            enum "bgp-read-failed" {
              value 2;
              description "Read failed";
            }
            enum "bgp-write-failed" {
              value 3;
              description "Write failed";
            }
            enum "bgp-sock-disconnected" {
              value 4;
              description "Socket disconnected";
            }
            enum "bgp-sock-select-failed" {
              value 5;
              description "Socket select failed";
            }
            enum "bgp-peer-reset-reason-none" {
              value 6;
              description "None";
            }
          }
          description
            "Bgp peer reset reason index";
        }
    
        typedef Bgp-reset-reason-index {
          type enumeration {
            enum "bgp-none" {
              value 0;
              description "None";
            }
            enum "bgp-init" {
              value 1;
              description
                "BGP neighbor initialized";
            }
            enum "bgp-no-memory" {
              value 2;
              description "No memory";
            }
            enum "not-received" {
              value 3;
              description
                "BGP Notification received";
            }
            enum "not-sent" {
              value 4;
              description
                "BGP Notification sent";
            }
            enum "conn-collision" {
              value 5;
              description
                "Error during connection collision";
            }
            enum "peer-closed" {
              value 6;
              description
                "Peer closing down the session";
            }
            enum "max-prefix-exceeded" {
              value 7;
              description
                "Peer exceeding maximum prefix limit";
            }
            enum "interface-flap" {
              value 8;
              description "Interface flap";
            }
            enum "neighbor-deleted" {
              value 9;
              description "Neighbor deleted";
            }
            enum "admin-shutdown" {
              value 10;
              description "Admin. shutdown";
            }
            enum "af-activated" {
              value 11;
              description
                "Address family activated";
            }
            enum "af-deactivated" {
              value 12;
              description
                "Address family removed";
            }
            enum "protocol-error" {
              value 13;
              description "Protocol Error";
            }
            enum "listen-closed" {
              value 14;
              description
                "Listen socket was closed";
            }
            enum "rib-failed" {
              value 15;
              description
                "Routing Table process not responding";
            }
            enum "user-clear" {
              value 16;
              description "User clear requested";
            }
            enum "user-clear-gr" {
              value 17;
              description
                "User clear with graceful restart requested";
            }
            enum "router-id-changed" {
              value 18;
              description "Router ID changed";
            }
            enum "remote-as-changed" {
              value 19;
              description
                "Remote AS configuration changed";
            }
            enum "orf-changed" {
              value 20;
              description
                "Outbound route filter configuration changed";
            }
            enum "rr-client-changed" {
              value 21;
              description
                "RR client configuration changed";
            }
            enum "legacy-pe-rt-changed" {
              value 22;
              description
                "Legacy-pe-RT configuration changed";
            }
            enum "softre-config-changed" {
              value 23;
              description
                "Soft reconfiguration configuration changed";
            }
            enum "local-as-changed" {
              value 24;
              description
                "Local AS configuration changed";
            }
            enum "low-memory" {
              value 25;
              description
                "Shutdown during SEVERE low memory condition";
            }
            enum "bfd-down" {
              value 26;
              description
                "BFD (Bidirectional forwarding detection)
               session down";
            }
            enum "allow-as-in-changed" {
              value 27;
              description
                "Allowas-in configuration has changed";
            }
            enum "recv-dmz-cfg" {
              value 28;
              description
                "Recv DMZ Config changed";
            }
            enum "cap-4byteas-changed" {
              value 29;
              description
                "Capablity 4-byte-as configuration has changed";
            }
            enum "tcp-oper-down" {
              value 30;
              description
                "Received tcp oper down";
            }
            enum "scoped-sync-retry" {
              value 31;
              description
                "Scoped sync is repeated due to strict
               prefix check failure";
            }
            enum "cluster-id-changed" {
              value 32;
              description
                "Neighbor moved to a new cluster";
            }
            enum "rr-disable-changed" {
              value 33;
              description
                "Client-to-client reflection disabled/enabled
               for cluster to which neighbor belongs";
            }
            enum "aigp-changed" {
              value 34;
              description
                "AIGP configuration has changed
               for cluster to which neighbor belongs";
            }
            enum "signalling-changed" {
              value 35;
              description
                "L2VPN Signalling Changed";
            }
            enum "open-check-s-failed" {
              value 36;
              description
                "Session open checks failed";
            }
            enum "ao-changed" {
              value 37;
              description "Accept-own changed";
            }
            enum "llgr-staletime-changed" {
              value 38;
              description
                "Long-lived graceful-restart stale-time
               configuration changed";
            }
            enum "llgr-capable-changed" {
              value 39;
              description
                "Long-lived graceful-restart capable
               configuration changed";
            }
            enum "nbr-local-addr-changed" {
              value 40;
              description
                "Neighbor local address configuration changed";
            }
            enum "internal-vpn-client-changed" {
              value 41;
              description
                "Internal-vpn-client configuration changed";
            }
            enum "cap-suppress-all-changed" {
              value 42;
              description
                "All capabilities suppression changed";
            }
            enum "next-hop-changed" {
              value 43;
              description
                "Next hop configuration changed";
            }
            enum "cap-suppress-enhe-changed" {
              value 44;
              description
                "Extended-nexthop-encoding capability
               suppression changed";
            }
          }
          description "Bgp reset reason index";
        }
    
        typedef Bgp-bfd-enable-mode {
          type enumeration {
            enum "bgp-bfd-enable-mode-disable" {
              value 0;
              description
                "BFD fast detect disabled ";
            }
            enum "bgp-bfd-enable-mode-def" {
              value 1;
              description
                "BFD fast detect default mode ";
            }
            enum "bgp-bfd-enable-mode-strict" {
              value 2;
              description
                "BFD fast detect hold down aka strict mode";
            }
          }
          description "BFD enable mode";
        }
    
        typedef Bgp-bfd-state {
          type enumeration {
            enum "bgp-bfd-state-not-configured" {
              value 0;
              description "BFD not configured";
            }
            enum "bgp-bfd-state-admin-down" {
              value 1;
              description
                "BFD session disabled (neighbor shutdown)";
            }
            enum "bgp-bfd-state-not-supported" {
              value 2;
              description
                "BFD session disabled (interface type not
               supported)";
            }
            enum "bgp-bfd-state-not-created" {
              value 3;
              description
                "BFD session configured, not yet created";
            }
            enum "bgp-bfd-state-created" {
              value 4;
              description
                "BFD session created, state notification not
               received";
            }
            enum "bgp-bfd-state-up" {
              value 5;
              description "BFD session up";
            }
            enum "bgp-bfd-state-down" {
              value 6;
              description "BFD session down";
            }
            enum
              "bgp-bfd-state-nbr-not-configured" {
              value 7;
              description
                "BFD session down (peer not configured)";
            }
            enum "bgp-bfd-state-none" {
              value 8;
              description
                "BFD session (yet ro rcv Notification)";
            }
          }
          description "BFD session state";
        }
    
        typedef Bgp-open-check-err {
          type enumeration {
            enum "none" {
              value 0;
              description "No error";
            }
            enum "neighbor-down" {
              value 1;
              description "Neighbor down";
            }
            enum "no-update-group-set" {
              value 2;
              description "No update-group set";
            }
            enum "no-af-config" {
              value 3;
              description "No AF configured";
            }
            enum "update-group-pending" {
              value 4;
              description "Update-group pending";
            }
            enum "low-memory" {
              value 5;
              description "Low memory";
            }
            enum "neighbor-shutdown" {
              value 6;
              description "Neighbor shutdown";
            }
            enum "ebgp-neighbor-remote" {
              value 7;
              description
                "eBGP neighbor is remote";
            }
            enum "update-source-interface-null" {
              value 8;
              description
                "Update source invalid";
            }
            enum "no-ipv6-address" {
              value 9;
              description
                "No global IPv6 address found";
            }
            enum "first-hop-interface-null" {
              value 10;
              description
                "First-hop interface invalid";
            }
            enum "no-ipv6ll-address" {
              value 11;
              description
                "No LL IPv6 address found";
            }
            enum "no-update-source-config" {
              value 12;
              description
                "No update-source configured";
            }
            enum "no-router-id" {
              value 13;
              description "No router-identifier";
            }
            enum
              "update-source-interface-get-failed" {
              value 14;
              description
                "Update-source interface get failed";
            }
            enum
              "update-source-interface-state-get-failed" {
              value 15;
              description
                "Update-source interface state get failed";
            }
            enum "update-source-interface-down" {
              value 16;
              description
                "Update-source interface down";
            }
            enum
              "update-source-interface-ll-get-failed" {
              value 17;
              description
                "Update-source interface LL get failed";
            }
            enum
              "update-source-interface-address-get-failed" {
              value 18;
              description
                "Update-source interface address get failed";
            }
            enum "source-address-af-invalid" {
              value 19;
              description
                "Source-address AF invalid";
            }
            enum "no-update-source-ll-peering" {
              value 20;
              description
                "No update-source for LL peering";
            }
            enum "local-address-get-failed" {
              value 21;
              description
                "Local-address get failed";
            }
            enum "no-best-local-address" {
              value 22;
              description
                "No best local-address";
            }
            enum
              "neighbor-address-equals-local-address" {
              value 23;
              description
                "Neighbor address is local address";
            }
            enum "neighbor-closing" {
              value 24;
              description
                "Neighbor in closing state";
            }
            enum "neighbor-pending-reset" {
              value 25;
              description
                "Neighbor in pending reset state";
            }
            enum "out-interface-set-failed" {
              value 26;
              description
                "Out-interface set failed";
            }
            enum "local-address-mismatch" {
              value 27;
              description
                "Local-address mismatch";
            }
            enum "neighbor-active-only" {
              value 28;
              description
                "Neighbor in active only mode";
            }
            enum "socket-init-failed" {
              value 29;
              description "Socket init failed";
            }
            enum "socket-operation-failed" {
              value 30;
              description
                "Socket operation failed";
            }
            enum "local-neighbor" {
              value 31;
              description "Neighbor is local";
            }
            enum "multi-hop-neighbor" {
              value 32;
              description
                "No router to multi-hop neighbor";
            }
          }
          description
            "BGP open check error types";
        }
    
        typedef Bgp-conn-state {
          type enumeration {
            enum "bgp-st-dont-care" {
              value 0;
              description "DontCare";
            }
            enum "bgp-st-idle" {
              value 1;
              description "Idle";
            }
            enum "bgp-st-connect" {
              value 2;
              description "Connect";
            }
            enum "bgp-st-active" {
              value 3;
              description "Active";
            }
            enum "bgp-st-open-sent" {
              value 4;
              description "OpenSent";
            }
            enum "bgp-st-open-confirm" {
              value 5;
              description "OpenConfirm";
            }
            enum "bgp-st-estab" {
              value 6;
              description "Established";
            }
            enum "bgp-st-closing" {
              value 7;
              description "Closing";
            }
            enum "bgp-st-closing-sync" {
              value 8;
              description "ClosingSync";
            }
          }
          description "Bgp conn state";
        }
    
        typedef Bgp-nh-validate {
          type enumeration {
            enum "bgp-nh-validate-sync" {
              value 0;
              description "bgp nh validate sync";
            }
            enum "bgp-nh-validate-async" {
              value 1;
              description
                "bgp nh validate async";
            }
            enum "bgp-nh-validate-none" {
              value 2;
              description "bgp nh validate none";
            }
          }
          description "Bgp nh validate";
        }
    
        typedef Bgp-nh-update {
          type enumeration {
            enum "bgp-nh-update-none" {
              value 0;
              description "No nh update yet";
            }
            enum "bgp-nh-update-crit-not-f" {
              value 1;
              description
                "Last nh update is crit notf";
            }
            enum "bgp-nh-update-crit-sync" {
              value 2;
              description
                "Last nh update is crit sync update";
            }
            enum "bgp-nh-update-crit-rib-conv" {
              value 3;
              description
                "Last nh update is crit update caused by rib
               converge";
            }
            enum "bgp-nh-update-crit-table-down" {
              value 4;
              description
                "Last nh update is crit update caused by table
               down";
            }
            enum "bgp-nh-update-non-crit-not-f" {
              value 5;
              description
                "Last nh update is non-crit notf";
            }
            enum "bgp-nh-update-non-crit-sync" {
              value 6;
              description
                "Last nh update is non-crit sync update";
            }
            enum
              "bgp-nh-update-non-crit-rib-conv" {
              value 7;
              description
                "Last nh update is non-crit update caused by rib
               converge";
            }
            enum
              "bgp-nh-update-non-crit-table-down" {
              value 8;
              description
                "Last nh update is non-crit update caused by
               table down";
            }
          }
          description "Bgp nh update";
        }
    
        typedef Bgp-nh-event {
          type enumeration {
            enum "bgp-nh-event-crit-not-f" {
              value 0;
              description
                "Last event received is a crit notf";
            }
            enum "bgp-nh-event-non-crit-not-f" {
              value 1;
              description
                "Last event received is a non-crit notf";
            }
            enum "bgp-nh-event-registration" {
              value 2;
              description
                "Last event sent is a registration";
            }
          }
          description "Bgp nh event";
        }
    
        typedef Bgp-rtr-state {
          type enumeration {
            enum "bgp-router-read-only" {
              value 0;
              description "Read only mode";
            }
            enum "bgp-router-do-best-path" {
              value 1;
              description
                "Bestpath calculation mode";
            }
            enum "bgp-router-do-tunnel-update" {
              value 2;
              description "Tunnel update mode";
            }
            enum "bgp-router-do-import" {
              value 3;
              description "Import mode";
            }
            enum "bgp-router-do-label-alloc" {
              value 4;
              description
                "Label Allocation mode";
            }
            enum "bgp-router-do-ribupd" {
              value 5;
              description "RIB update mode";
            }
            enum "bgp-router-read-write" {
              value 6;
              description
                "Normal (read/write) mode";
            }
            enum "bgp-router-mode-count" {
              value 7;
              description
                "Number of router modes";
            }
          }
          description "Bgp rtr state";
        }
    
        typedef Bgp-rnh-addr-len {
          type enumeration {
            enum "none" {
              value 0;
              description "NO address length";
            }
            enum "v4" {
              value 4;
              description "IP v4 address length";
            }
            enum "mac" {
              value 6;
              description "MAC address length";
            }
            enum "v6" {
              value 16;
              description "IP v6 address length";
            }
          }
          description "BGP RNH Address Length";
        }
    
        typedef Sr-sid {
          type enumeration {
            enum "label" {
              value 1;
              description "MPLS Label sid";
            }
            enum "ipv4" {
              value 2;
              description "IPv4 address";
            }
            enum "ipv6" {
              value 3;
              description "IPv6 address";
            }
          }
          description "Segment id type";
        }
    
        typedef Bgp-srpolicy-req-state {
          type enumeration {
            enum "request-pending" {
              value 0;
              description
                "SR policy install in dataplane not requested
               yet";
            }
            enum "requested" {
              value 1;
              description
                "Requested SR policy install  dataplane";
            }
            enum "notified-up" {
              value 2;
              description "SR policy is UP";
            }
            enum "notified-down" {
              value 4;
              description
                "SR policy is notified down by XTC";
            }
            enum "marked-stale" {
              value 8;
              description
                "SR policy is marked stale due to XTC agent down";
            }
            enum "marked-disable" {
              value 16;
              description
                "SR policy is marked disabled from the config in
               XTC";
            }
          }
          description
            "BGP SR Policy Internal State";
        }
    
        typedef Bgp-binding-sid {
          type enumeration {
            enum "none" {
              value 0;
              description "None";
            }
            enum "label" {
              value 1;
              description
                "Binding SID type MPLS label";
            }
            enum "v6" {
              value 2;
              description
                "Binding SID type ipv6";
            }
          }
          description "BGP Binding SID type";
        }
    
        typedef Bgp-bp-stage {
          type enumeration {
            enum "bgp-bp-comp-not-compared" {
              value 0;
              description
                "Best path comparison not performed";
            }
            enum "bgp-bp-comp-imulti-path" {
              value 1;
              description
                "Path is an iBGP multipath";
            }
            enum "bgp-bp-comp-emulti-path" {
              value 2;
              description
                "Path is an eBGP multipath";
            }
            enum "bgp-bp-comp-eimulti-path" {
              value 3;
              description
                "Path is an eiBGP multipath";
            }
            enum "bgp-bp-invalid-path" {
              value 4;
              description "Invalid path";
            }
            enum "bgp-bp-comp-pre-cost-comm" {
              value 5;
              description "TODO";
            }
            enum "bgp-bp-comp-weight" {
              value 6;
              description
                "Path has a lower weight";
            }
            enum "bgp-bp-comp-af-specific" {
              value 7;
              description
                "Less Favourable Address Family specific
               attributes";
            }
            enum "bgp-bp-comp-locpref" {
              value 8;
              description
                "Path has a lower local preference";
            }
            enum "bgp-bp-comp-rpki" {
              value 9;
              description
                "Path has worse origin validation state";
            }
            enum "bgp-bp-comp-aigp" {
              value 10;
              description "TODO";
            }
            enum "bgp-bp-comp-local" {
              value 11;
              description "Path is not local";
            }
            enum "bgp-bp-comp-local-rib" {
              value 12;
              description "TODO";
            }
            enum "bgp-bp-comp-as-path-len" {
              value 13;
              description
                "Path has a longer AS path";
            }
            enum "bgp-bp-comp-origin" {
              value 14;
              description
                "Path has a less favorable origin";
            }
            enum "bgp-bp-comp-med" {
              value 15;
              description "Path has a lower MED";
            }
            enum "bgp-bp-comp-ebgp" {
              value 16;
              description
                "Path lost to an eBGP path";
            }
            enum "bgp-bp-comp-ao" {
              value 17;
              description
                "Path has Accept-Own community";
            }
            enum "bgp-bp-comp-xtc-nh-ad" {
              value 18;
              description
                "Path has a higher SR-TE nexthop admin distance";
            }
            enum "bgp-bp-comp-igp-metric" {
              value 19;
              description
                "Path has a higher IGP metric";
            }
            enum "bgp-bp-comp-igp-cost-comm" {
              value 20;
              description "TODO";
            }
            enum "bgp-bp-comp-rtr-id" {
              value 21;
              description
                "Path has a higher router ID";
            }
            enum "bgp-bp-comp-clstr-len" {
              value 22;
              description
                "Path has a longer cluster length";
            }
            enum "bgp-bp-comp-nbr-addr" {
              value 23;
              description
                "Path has a higher neighbor address";
            }
            enum "bgp-bp-comp-suppressed" {
              value 24;
              description
                "Path is newer than best path";
            }
            enum "bgp-bp-comp-mismatch" {
              value 25;
              description
                "Best path comparison failed, perhaps due to
               recent configuration changes";
            }
            enum "bgp-bp-comp-persistence" {
              value 26;
              description "Path is persistent";
            }
            enum "bgp-bp-comp-gshut" {
              value 27;
              description
                "Path received from a neighbor in graceful
               maintenance";
            }
            enum "bgp-bp-comp-la-test" {
              value 28;
              description "Path is older";
            }
            enum "bgp-bp-comp-srte-tunnel-down" {
              value 29;
              description
                "Non SR-policy path is ignored due to config
               knob";
            }
          }
          description "Bgp bp stage";
        }
    
        typedef Bgp-v4-v6-len {
          type enumeration {
            enum "gwnone" {
              value 0;
              description "NO address length";
            }
            enum "gwipv4" {
              value 4;
              description "IP v4 address length";
            }
            enum "gwipv6" {
              value 16;
              description "IP v6 address length";
            }
          }
          description "BGP GW Address Length";
        }
    
        typedef Bgp-tunnel {
          type enumeration {
            enum "tunnel-none" {
              value 0;
              description
                "Tunnel not applicable";
            }
            enum "attrset" {
              value 1;
              description
                "Attribute set TE tunnel";
            }
            enum "sr-policy" {
              value 2;
              description "SR Policy";
            }
            enum "odn-policy" {
              value 4;
              description "ODN  color";
            }
          }
          description "BGP tunnel type";
        }
    
        typedef Bgp-route1 {
          type enumeration {
            enum "bgp-route-type-used" {
              value 0;
              description
                "Used path from neighbor";
            }
            enum "bgp-route-type-rcvd-only" {
              value 1;
              description
                "Received only path from neighbor";
            }
            enum
              "bgp-route-type-safi-label-ed-ucast-used" {
              value 2;
              description
                "Used path from neighbor received via
               labeled-unicast SAFI";
            }
            enum
              "bgp-route-type-safi-label-ed-ucast-rcvd-only" {
              value 3;
              description
                "Received only path from neighbor received via
               labeled-unicast SAFI";
            }
            enum "bgp-route-type-rib" {
              value 4;
              description
                "Redistributed from the RIB";
            }
            enum "bgp-route-type-aggregate" {
              value 5;
              description
                "Locally generated aggregate";
            }
            enum "bgp-route-type-max" {
              value 6;
              description
                "Number of route types";
            }
          }
          description "Bgp route1";
        }
    
        typedef Mac-address {
          type yang:mac-address;
          description "MAC Address type";
        }
    
        typedef Bgp-rpki-af {
          type enumeration {
            enum "ipv4" {
              value 2;
              description "IPv4";
            }
            enum "ipv6" {
              value 26;
              description "IPv6";
            }
          }
          description "Bgp rpki af";
        }
    
        typedef Bgp-slow-peer-updgrp-split {
          type enumeration {
            enum "bgp-dynamic-split-enable" {
              value 0;
              description
                "bgp dynamic split enable";
            }
            enum "bgp-dynamic-split-disable" {
              value 1;
              description
                "bgp dynamic split disable";
            }
            enum "bgp-dynamic-split-permanent" {
              value 2;
              description
                "bgp dynamic split permanent";
            }
            enum "bgp-dynamic-split-max" {
              value 3;
              description
                "bgp dynamic split max";
            }
          }
          description
            "Bgp slow peer updgrp split";
        }
    
        typedef Bgp-tcp-mode {
          type enumeration {
            enum "bgp-tcp-mode-type-either" {
              value 0;
              description
                "Use either active or passive mode";
            }
            enum "bgp-tcp-mode-type-active-only" {
              value 1;
              description "Use active mode only";
            }
            enum
              "bgp-tcp-mode-type-passive-only" {
              value 2;
              description
                "Use passive mode only";
            }
          }
          description "Bgp tcp mode";
        }
    
        typedef Bgp-ebgp-send-dmz-enable-mode {
          type enumeration {
            enum "bgp-ebgp-send-dmz-disable" {
              value 0;
              description
                "EBGP send extended community dmz link bandwidth
               disabled ";
            }
            enum "bgp-ebgp-send-dmz-dflt" {
              value 1;
              description
                "EBGP send extended community dmz link bandwidth
               default mode ";
            }
            enum "bgp-ebgp-send-dmz-cumulative" {
              value 2;
              description
                "EBGP send extended community dmz link bandwidth
               cumulative mode";
            }
          }
          description
            "EBGP send extended community dmz link bandwidth
           enable mode";
        }
    
        typedef Bgp-entities {
          type enumeration {
            enum "af-group" {
              value 0;
              description "AF groups";
            }
            enum "session-group" {
              value 1;
              description "Session Groups";
            }
            enum "neighbor-group" {
              value 2;
              description "Neighbor Groups";
            }
            enum "neighbor" {
              value 3;
              description "Neighbors";
            }
          }
          description "Entity type";
        }
    
        typedef Ipv6-flowspec-address {
          type xr:Bgp-ipv6-flowspec-address;
          description
            "IPv6 Flowspec Address type";
        }
    
        typedef Ipv4-flowspec-address {
          type xr:Bgp-ipv4-flowspec-address;
          description
            "IPv4 Flowspec Address type";
        }
    
        typedef Ls-ls-address {
          type xr:Bgp-ls-addr;
          description
            "LINKSTATE LINKSTATE Address type";
        }
    
        typedef Ipv4mvpn-address {
          type xr:Bgp-ipv4-mvpn-addr;
          description "IPV4 MVPN Address type";
        }
    
        typedef Ipv6mvpn-address {
          type xr:Bgp-ipv6-mvpn-addr;
          description "IPV6 MVPN Address type";
        }
    
        typedef Rt-constraint-address {
          type xr:Bgp-rt-constrt-addr;
          description
            "IPV4 RTConstraint Address type";
        }
    
        typedef Ipv6-address {
          type inet:ipv6-address;
          description "IPV6 Address type";
        }
    
        typedef Ipv4-mdt-address {
          type xr:Bgp-ipv4-mdt-addr;
          description "IPV4MDT Address type";
        }
    
        typedef Ipv4-tunnel-address {
          type xr:Bgp-ipv4-tunnel-addr;
          description "IPV4Tunnel Address type";
        }
    
        typedef Bgp-afi {
          type enumeration {
            enum "ipv4" {
              value 0;
              description "IP v4 unicast";
            }
            enum "ipv4-multicast" {
              value 1;
              description "IP v4 multicast";
            }
            enum "ipv4-labeled" {
              value 2;
              description "IP v4 label";
            }
            enum "ipv4-tunnel" {
              value 3;
              description "IP v4 Tunnel";
            }
            enum "vpnv4" {
              value 4;
              description
                "IP v4 virtual private network";
            }
            enum "ipv6" {
              value 5;
              description "IP v6 unicast";
            }
            enum "ipv6-multicast" {
              value 6;
              description "IP v6 multicast";
            }
            enum "ipv6-labeled" {
              value 7;
              description "IP v6 label";
            }
            enum "vpnv6" {
              value 8;
              description
                "IP v6 virtual private network";
            }
            enum "ipv4-mdt" {
              value 9;
              description
                "IP v4 Multicast  Distribution Tree";
            }
            enum "l2vpn-vpls" {
              value 10;
              description "L2VPN VPLS";
            }
            enum "rt-constraint" {
              value 11;
              description "IP RT-Constraint";
            }
            enum "ipv4-mvpn" {
              value 12;
              description "IP v4 mvpn";
            }
            enum "ipv6-mvpn" {
              value 13;
              description "IP v6 mvpn";
            }
            enum "l2vpn-evpn" {
              value 14;
              description "L2VPN EVPN";
            }
            enum "ls-ls" {
              value 15;
              description
                "Link-state Link-state";
            }
            enum "vpnv4-multicast" {
              value 16;
              description
                "IP v4 virtual private network for multicast";
            }
            enum "vpnv6-multicast" {
              value 17;
              description
                "IP v6 virtual private network for multicast";
            }
            enum "ipv4-flowspec" {
              value 18;
              description "IP v4 flowspec";
            }
            enum "ipv6-flowspec" {
              value 19;
              description "IP v6 flowspec";
            }
            enum "vpnv4-flowspec" {
              value 20;
              description "IP v4 vpn flowspec";
            }
            enum "vpnv6-flowspec" {
              value 21;
              description "IP v6 vpn flowspec";
            }
            enum "l2vpn-mspw" {
              value 22;
              description
                "L2VPN Multi-segment pseudowire";
            }
            enum "ipv4-sr-policy" {
              value 23;
              description "IP v4 SR Policy";
            }
            enum "ipv6-sr-policy" {
              value 24;
              description "IP v6 SR Policy";
            }
            enum "no-address-family" {
              value 25;
              description
                "Address-family not applicable";
            }
            enum "all-address-families" {
              value 26;
              description "All address-families";
            }
          }
          description "BGP Address family";
        }
      }  // submodule Cisco-IOS-XR-ipv4-bgp-oper-sub1
    

© 2024 YumaWorks, Inc. All rights reserved.