ISIS management.
Version: 2021-04-15
module huawei-isis { yang-version 1; namespace "urn:huawei:yang:huawei-isis"; prefix isis; import huawei-ifm { prefix ifm; } import huawei-network-instance { prefix ni; } import huawei-l3vpn { prefix l3vpn; } import huawei-routing-policy { prefix rtp; } import huawei-routing { prefix rt; } import huawei-acl { prefix acl; } import huawei-xpl { prefix xpl; } import huawei-ip { prefix ip; } import huawei-pub-type { prefix pub-type; } import ietf-yang-types { prefix yang; } import huawei-extension { prefix ext; } import ietf-inet-types { prefix inet; } include huawei-isis-type; 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 "ISIS management."; revision "2021-04-15" { description "Add container micro-isolation-car under container global."; reference "Huawei private."; } revision "2020-08-10" { description "Add leaf cpu-overload-ctrl-enable under container global."; reference "Huawei private."; } revision "2020-08-03" { description "Modify container SPF."; reference "Huawei private."; } revision "2020-07-01" { description "Add leaf learning-avoid-loop."; reference "Huawei private."; } revision "2020-06-30" { description "Add keychain-name pattern lower-only."; reference "Huawei private."; } revision "2020-06-03" { description "Add leaf ignore-level2-leak-level1 under container bgp-ls."; reference "Huawei private."; } revision "2020-04-03" { description "Add leaf intf-limit-enable under container global."; reference "Huawei private."; } revision "2020-03-04" { description "Modify the description."; reference "Huawei private."; } revision "2020-03-03" { description "Modify the description."; reference "Huawei private."; } revision "2020-02-25" { description "Add node hold-max-cost-level1 and hold-max-cost-level2 under container tiebreaker."; reference "Huawei private."; } revision "2020-02-16" { description "Add IPv6 function incr-Cost."; reference "Huawei private."; } revision "2020-02-04" { description "Deprecated sr-enable and delay."; reference "Huawei private."; } revision "2020-01-03" { description "Add container tiebreaker."; reference "Huawei private."; } revision "2019-12-23" { description "Add container summary prefixs."; reference "Huawei private."; } revision "2019-12-16" { description "Add container global stat etc."; reference "Huawei private."; } revision "2019-11-22" { description "Add container isis import rts etc."; reference "Huawei private."; } revision "2019-11-15" { description "Add container link group ports etc."; reference "Huawei private."; } revision "2019-11-01" { description "Add container default route etc."; reference "Huawei private."; } revision "2019-09-21" { description "Add container lsp lifetime etc."; reference "Huawei private."; } revision "2019-04-04" { description "Initial revision."; reference "Huawei private."; } ext:task-name "isis"; container isis { description "Intermediate System to Intermediate System (ISIS) routes."; container global { description "Configure ISIS global config."; leaf lsp-seq-over-flag { type boolean; default "true"; description "Enable/disable to recover ISIS system ID automatically when the sequence number of the local lsp overflowed."; } leaf sys-id-conflict-flag { type boolean; default "true"; description "Enable/disable to recover ISIS system ID automatically when the system ID conflicted."; } leaf purge-lsp-protect-enable { type boolean; default "true"; description "Enable/disable automatic ISIS purge LSP protection."; } leaf purge-source-trace-enable { type boolean; default "true"; description "Enable/disable purge LSP source tracing."; } leaf purge-source-trace-port { type uint32 { range "1025..65535"; } default "50121"; description "Configure the port of purge LSP source tracing allocated by huawei-pp4.The related CLI is 'display ip port info | inc UDP'."; } leaf suppress-flap-intf-disable { type boolean; default "false"; description "Enable/disable the ISIS interface flapping suppression function."; } leaf intf-limit-enable { type boolean; default "true"; description "Enable/disable the limit of the number of ISIS interfaces."; } leaf cpu-overload-ctrl-enable { type boolean; default "true"; description "Enable/disable ISIS cpu-overload control."; } leaf memory-overload-ctrl-enable { type boolean; default "true"; description "Enable/disable ISIS memory-overload control."; } leaf memory-overload-exception-discard-lsp { when "(../memory-overload-ctrl-enable='true')"; type boolean; default "false"; description "Enable/disable ISIS memory-overload exception-threshold discard new-lsp."; } leaf route-loop-detect-enable { type boolean; default "true"; description "Enable/disable ISIS route loop-detect control."; } container session-car { must "cir<=pir"; must "cbs<=pbs"; description "Configure global ISIS session CAR."; leaf switch-flag { type switch-type; default "enable"; description "Session CAR switch flag."; } leaf cir { type uint32 { range "0..1000000"; } units "kbit/s"; default "8"; description "Session CAR CIR value."; } leaf cbs { type uint32 { range "0..1000000"; } units "Byte"; default "100000"; description "Session CAR CBS value."; } leaf pir { type uint32 { range "0..1000000"; } units "kbit/s"; default "20000"; description "Session CAR PIR value."; } leaf pbs { type uint32 { range "0..10000000"; } units "Byte"; default "9000000"; description "Session CAR PBS value."; } } // container session-car container micro-isolation-car { must "cir<=pir"; must "cbs<=pbs"; description "Configure global ISIS Micro Isolation CAR."; leaf switch-flag { type switch-type; default "enable"; description " Micro Isolation CAR switch flag."; } leaf cir { type uint32 { range "0..1000000"; } units "kbit/s"; default "8"; description " Micro Isolation CAR CIR value."; } leaf cbs { type uint32 { range "0..1000000"; } units "Byte"; default "100000"; description " Micro Isolation CAR CBS value."; } leaf pir { type uint32 { range "0..1000000"; } units "kbit/s"; default "20000"; description " Micro Isolation CAR PIR value."; } leaf pbs { type uint32 { range "0..10000000"; } units "Byte"; default "9000000"; description " Micro Isolation CAR PBS value."; } } // container micro-isolation-car } // container global container global-stat { config false; description "Statistics of ISIS global state."; leaf node-number { type uint32 { range "0..4294967295"; } description "Support to get ISIS area public nodes."; } leaf peer-number { type uint32 { range "0..4294967295"; } description "Support to get ISIS area public peers."; } } // container global-stat } // container isis rpc reset-isis-all { ext:node-ref "/ni:network-instance/ni:instances/ni:instance/isis:isis/isis:sites/isis:site"; description "Reset ISIS Process."; input { leaf process-id { type uint32 { range "1..4294967295"; } description "Specify the ISIS process which needs to be reset."; } } } // rpc reset-isis-all rpc reset-isis-peer { ext:node-ref "/ni:network-instance/ni:instances/ni:instance/isis:isis/isis:sites/isis:site/isis:peers/isis:peer"; description "Reset an ISIS neighbor."; input { leaf system-id { type string { length "1..15"; pattern '((([0-9]|[a-f]|[A-F]){4}\.){2}([0-9]|[a-f]|[A-F]){4})'; } mandatory true; description "Set the system ID of the neighbor. The duration for the system to keep the overload bit is set according to the status of the neighbor specified by the system ID. The length of the value is 6 bytes, in the format of XXXX.XXXX.XXXX, in which X is a hexadecimal case-insensitive character."; } leaf process-id { type uint32 { range "1..4294967295"; } description "Specify the ISIS process which needs to be reset."; } } } // rpc reset-isis-peer rpc reset-suppress-flapping-peer { ext:node-ref "/ni:network-instance/ni:instances/ni:instance/isis:isis/isis:sites/isis:site/isis:circuits/isis:circuit/isis:suppress-flapping/isis:peer"; description "Reset neighbor flapping suppression."; input { leaf process-id { type uint32 { range "1..4294967295"; } mandatory true; description "Specify the ISIS process which needs to be reset."; } leaf interface { type leafref { path "/ifm:ifm/ifm:interfaces/ifm:interface/ifm:name"; } description "Set the interface name."; } leaf notify-peer { type boolean; default "false"; description "Set whether the neighbor is notified."; } } } // rpc reset-suppress-flapping-peer rpc clear-loop-detect-alarm-state { description "Clear ISIS route loop-detect alarm state."; } // rpc clear-loop-detect-alarm-state } // module huawei-isis
© 2023 YumaWorks, Inc. All rights reserved.