huawei-unicast-forward

Unicast forward.

  • Version: 2020-06-11

    huawei-unicast-forward@2020-06-11


    
      module huawei-unicast-forward {
    
        yang-version 1;
    
        namespace
          "urn:huawei:yang:huawei-unicast-forward";
    
        prefix unicast-forward;
    
        import huawei-extension {
          prefix ext;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import huawei-ifm {
          prefix ifm;
        }
        import huawei-devm {
          prefix devm;
        }
        import huawei-license {
          prefix lcs;
        }
        import huawei-network-instance {
          prefix ni;
        }
        import huawei-devm-vnf {
          prefix devm-vnf;
        }
        import huawei-said-frame {
          prefix sf;
        }
    
        organization
          "Huawei Technologies Co., Ltd.";
    
        contact
          "Huawei Industrial Base
    Bantian, Longgang
    Shenzhen 518129
    People's Republic of China
    Website: http://www.huawei.com
    Email: support@huawei.com";
    
        description "Unicast forward.";
    
        revision "2020-06-11" {
          description "Add ND-MAC linkage node.";
          reference
            "Huawei private.";
    
        }
    
        revision "2019-12-21" {
          description "Initial revision.";
          reference
            "Huawei private.";
    
        }
    
        ext:task-name "forwarding";
    
        typedef ttl-mode-type {
          type enumeration {
            enum "pipe" {
              value 0;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 1;
              description "Uniform mode.";
            }
          }
          description "GRE ttl mode type.";
        }
    
        typedef l3-lcs-service-type {
          type enumeration {
            enum "fib" {
              value 0;
              description "Fib service.";
            }
            enum "l3vpn" {
              value 1;
              description "L3vpn service.";
            }
          }
          description "L3 license service type.";
        }
    
        typedef global-gre-mode {
          type enumeration {
            enum "through" {
              value 1;
              description "Through mode.";
            }
            enum "loopback" {
              value 0;
              description "Loopback mode.";
            }
          }
          description "Type of global GRE mode.";
        }
    
        typedef lcs-act-status-type {
          type enumeration {
            enum "unallocated" {
              value 0;
              description
                "The license status is unallocated.";
            }
            enum "allocated" {
              value 1;
              description
                "The license status is allocated.";
            }
            enum "activated" {
              value 2;
              description
                "The license status is activated.";
            }
          }
          description
            "License active status type.";
        }
    
        typedef mpls-6pe-ttl-mode-type {
          type enumeration {
            enum "pipe" {
              value 0;
              description "Pipe mode.";
            }
            enum "uniform" {
              value 1;
              description "Uniform mode.";
            }
          }
          description "MPLS 6pe ttl-mode type.";
        }
    
        container unicast-forward {
          description "Unicast forward.";
          container global-uc-attribute {
            description
              "Configure global atrributes.";
            leaf fib-miss {
              type boolean;
              default "false";
              description
                "Enable/disable fib miss.";
            }
    
            leaf icmp-reply-fast {
              type boolean;
              default "true";
              description
                "Enable/disable ICMP reply fast.";
            }
    
            leaf nexthop-spt {
              type boolean;
              default "true";
              description
                "Enable/disable single-nexthop BGP fast-refresh.";
            }
    
            leaf ipv4-force-frag {
              type boolean;
              default "false";
              description
                "Enable/disable IPv4 force fragment.";
            }
    
            leaf mtu-force-frag {
              type boolean;
              default "true";
              description
                "Enable/disable IPv4 MTU force fragment.";
            }
    
            leaf trunk-nd-mode {
              type boolean;
              default "false";
              description
                "Enable/disable Trunk ND global mode.";
            }
    
            leaf trunk-arp-mode {
              type boolean;
              default "false";
              description
                "Enable/disable trunk ARP global mode.";
            }
    
            leaf mpls-6pe-ttl-mode {
              type mpls-6pe-ttl-mode-type;
              default "pipe";
              description
                "Enable/disable MPLS 6pe ttl-mode.";
            }
          }  // container global-uc-attribute
    
          container high-re-modes {
            description
              "List of LPUF50A High-RE-Mode.";
            list high-re-mode {
              key "position";
              description
                "Configure LPUF50A High-RE-Mode.";
              leaf position {
                type string {
                  length "1..32";
                }
                description "Slot ID.";
              }
            }  // list high-re-mode
          }  // container high-re-modes
    
          container global-nexthop-spt {
            config false;
            description
              "Statistics of single-next hop BGP route fast update.";
            leaf state {
              type string {
                length "1..127";
              }
              config false;
              description
                "The state statistics for single-next hop BGP route fast update.";
            }
          }  // container global-nexthop-spt
    
          container na-anti-attack-statistics {
            config false;
            description
              "List of na anti-attack message statistic on a specified board.";
            list na-anti-attack-statistic {
              key "slot-id";
              config false;
              description
                "Statistics of NA anti-attack message for a specified board.";
              leaf slot-id {
                type string {
                  length "1..32";
                }
                config false;
                description
                  "Slot ID of an interface board. The value range varies according to router hardware. NULL is for board on atn.";
              }
    
              leaf na-tocpu-count {
                type uint64;
                config false;
                description
                  "Na message statistic of sending to cpu.";
              }
    
              leaf na-drop-count {
                type uint64;
                config false;
                description
                  "Na message statistic of dropping.";
              }
            }  // list na-anti-attack-statistic
          }  // container na-anti-attack-statistics
    
          container vxlan-central-reassemble {
            presence
              "Enable centralized inter-board reassembly on VXLAN tunnels.";
            description
              "Enable/disable centralized inter-board reassembly on VXLAN tunnels.";
          }  // container vxlan-central-reassemble
    
          container global-gre {
            description
              "Configure global unicast attributes.";
            leaf forward-mode {
              type global-gre-mode;
              default "through";
              description
                "Global GRE forward mode.";
            }
          }  // container global-gre
        }  // container unicast-forward
    
        rpc reset-na-anti-attack-statistic {
          ext:node-ref "/unicast-forward:unicast-forward/unicast-forward:na-anti-attack-statistics";
          description
            "Reset na anti-attack message statistic information.";
          input {
            leaf slot-id {
              type string {
                length "1..32";
              }
              mandatory true;
              description
                "Slot ID of an interface board. The value range varies according to router hardware. NULL is for board on ATN.";
            }
          }
        }  // rpc reset-na-anti-attack-statistic
      }  // module huawei-unicast-forward
    

© 2023 YumaWorks, Inc. All rights reserved.