This module contains a collection of YANG definitions for Cisco IOS-XR udp package configuration. This YANG module augments the...
Version: 2021-01-11
module Cisco-IOS-XR-um-udp-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-udp-cfg"; prefix um-udp-cfg; 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 module contains a collection of YANG definitions for Cisco IOS-XR udp package configuration. This YANG module augments the modules with configuration data. Copyright (c) 2020-2021 by Cisco Systems, Inc. All rights reserved."; revision "2021-01-11" { description "Initial release"; } semver:module-version "1.0.0"; container service { description "Modify use of network based services"; container ipv4 { description "Ipv4 small servers"; container udp-small-servers { description "Enable small UDP servers (e.g., ECHO)"; leaf max-servers { type union { type enumeration { enum "no-limit" { value 0; description "No limit to number of allowable UDP small servers"; } } type uint32 { range "1..2147483647"; } } description "Set number of allowable UDP small servers"; } leaf access-list { type xr:Cisco-ios-xr-string { length "1..64"; } must "../max-servers"; description "Access list"; } } // container udp-small-servers } // container ipv4 container ipv6 { description "Ipv6 small servers"; container udp-small-servers { description "Enable small UDP servers (e.g., ECHO)"; leaf max-servers { type union { type enumeration { enum "no-limit" { value 0; description "No limit to number of allowable UDP small servers"; } } type uint32 { range "1..2147483647"; } } description "Set number of allowable UDP small servers"; } leaf access-list { type xr:Cisco-ios-xr-string { length "1..64"; } must "../max-servers"; description "Access list"; } } // container udp-small-servers } // container ipv6 } // container service container udp { description "Global UDP configuration command"; container directory { description "Specify debug directory location"; leaf location { type string { length "1..256"; } must "../files and ../size"; description "Place debug files in this directory"; } leaf files { type uint32 { range "1..5000"; } must "../location and ../size"; description "Set maximum debug files"; } leaf size { type uint32 { range "1024..4294967295"; } must "../location and ../files"; description "Set maximum file size"; } } // container directory leaf receive-queue { type uint32 { range "40..800"; } description "UDP receive packet queue size"; } leaf num-thread { type uint32 { range "1..16"; } must "../max-threads"; description "Set number of threads (takes effect only on process restart)"; } leaf max-threads { type uint32 { range "1..16"; } must "../num-thread"; description "max threads in thread pool created by UDP (default: 8)"; } } // container udp container forward-protocol { description "Controls forwarding of physical and directed IP broadcasts"; container udp { description "Packets to a specific UDP port"; container disable { presence "Indicates a disable node is configured."; description "Disable IP Forward Protocol UDP"; } // container disable container domain { description "Domain Name Service (DNS, 53)"; container disable { presence "Indicates a disable node is configured."; description "Disable IP Forward Protocol UDP for a specific port"; } // container disable } // container domain container nameserver { description "IEN116 name service (obsolete, 42)"; container disable { presence "Indicates a disable node is configured."; description "Disable IP Forward Protocol UDP for a specific port"; } // container disable } // container nameserver container netbios-dgm { description "NetBios datagram service (138)"; container disable { presence "Indicates a disable node is configured."; description "Disable IP Forward Protocol UDP for a specific port"; } // container disable } // container netbios-dgm container netbios-ns { description "NetBios name service (137)"; container disable { presence "Indicates a disable node is configured."; description "Disable IP Forward Protocol UDP for a specific port"; } // container disable } // container netbios-ns container tacacs { description "TAC Access Control System (49)"; container disable { presence "Indicates a disable node is configured."; description "Disable IP Forward Protocol UDP for a specific port"; } // container disable } // container tacacs container tftp { description "Trivial File Transfer Protocol (69)"; container disable { presence "Indicates a disable node is configured."; description "Disable IP Forward Protocol UDP for a specific port"; } // container disable } // container tftp container ports { description "Packets to a specific UDP port"; list port { key "port-number"; description "Packets to a specific UDP port"; leaf port-number { type uint32 { range "1..65535"; } description "Port number"; } } // list port } // container ports } // container udp } // container forward-protocol } // module Cisco-IOS-XR-um-udp-cfg
© 2023 YumaWorks, Inc. All rights reserved.