This module contains a collection of generally useful derived YANG data types. Copyright (c) 2013-2019 by Cisco Systems, Inc. A...
Version: 2019-04-05
module Cisco-IOS-XR-ipv4-acl-datatypes { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-acl-datatypes"; prefix ipv4-acl-datatypes; 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 generally useful derived YANG data types. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-02-01" { description "Using YANG bit types for tcp flags."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "2.0.0"; typedef Ipv4-acl-prefix-match-range { type uint32 { range "0..32"; } description "Ipv4 acl prefix match range"; } typedef Ipv4-acl-protocol-number { type union { type enumeration { enum "ip" { value 0; description "Any IP protocol"; } enum "icmp" { value 1; description "Internet Control Message Protocol"; } enum "igmp" { value 2; description "Internet Gateway Message Protocol"; } enum "ip-in-ip" { value 4; description "IP in IP tunneling"; } enum "tcp" { value 6; description "Transport Control Protocol"; } enum "igrp" { value 9; description "Cisco's IGRP Routing Protocol"; } enum "udp" { value 17; description "User Datagram Protocol"; } enum "gre" { value 47; description "Cisco's GRE tunneling"; } enum "esp" { value 50; description "Encapsulation Security Protocol"; } enum "ahp" { value 51; description "Authentication Header Protocol"; } enum "eigrp" { value 88; description "Cisco's EIGRP Routing Protocol"; } enum "ospf" { value 89; description "OSPF Routing Protocol"; } enum "nos" { value 94; description "KA9Q NOS Compatible IP over IP tunneling"; } enum "pim" { value 103; description "Protocol Independent Multicast"; } enum "pcp" { value 108; description "Payload Compression Protocol"; } enum "sctp" { value 132; description "Stream Control Transmission Protocol"; } } type uint32 { range "0..255"; } } description "Ipv4 acl protocol number"; } typedef Ipv4-acl-frag-offset-range { type uint32 { range "0..8191"; } description "Ipv4 acl frag offset range"; } typedef Ipv4-acl-prefix-length-range { type uint32 { range "0..32"; } description "Ipv4 acl prefix length range"; } typedef Ipv4-acl-tcp-match-operator-enum { type enumeration { enum "match-all" { value 1; description "Match only packet with all the given TCP bits"; } enum "match-any" { value 3; description "Match only packet with any of the given TCP bits"; } } description "Ipv4 acl tcp match operator enum"; } typedef Ipv4-acl-grant-enum { type enumeration { enum "deny" { value 0; description "Deny"; } enum "permit" { value 1; description "Permit"; } } description "Ipv4 acl grant enum"; } typedef Ipv4-acl-operator-enum { type enumeration { enum "equal" { value 1; description "Match only packets on a given port number"; } enum "greater-than" { value 2; description "Match only packet with a greater port number"; } enum "less-than" { value 3; description "Match only packet with a lower port number"; } enum "not-equal" { value 4; description "Match only packets not on a given port number"; } enum "range" { value 5; description "Match only packets in the range of port numbers"; } } description "Ipv4 acl operator enum"; } typedef Ipv4-acl-precedence-number { type union { type enumeration { enum "critical" { value 5; description "Match packets with critical precedence"; } enum "flash" { value 3; description "Match packets with flash precedence"; } enum "flash-override" { value 4; description "Match packets with flash override precedence"; } enum "immediate" { value 2; description "Match packets with immediate precedence"; } enum "internet" { value 6; description "Match packets with internetwork control precedence"; } enum "network" { value 7; description "Match packets with network control precedence"; } enum "priority" { value 1; description "Match packets with priority precedence"; } enum "routine" { value 0; description "Match packets with routine precedence"; } } type uint32 { range "0..7"; } } description "Ipv4 acl precedence number"; } typedef Ipv4-acl-plen-range { type uint32 { range "0..65535"; } description "Ipv4 acl plen range"; } typedef Ipv4-acl-ttl-range { type uint32 { range "0..255"; } description "Ipv4 acl ttl range"; } typedef Ipv4-acl-port-number { type union { type enumeration { enum "echo" { value 7; description "Match on the 'echo' port number"; } enum "discard" { value 9; description "Match on the 'discard' port number"; } enum "daytime" { value 13; description "Match on the 'daytime' port number (TCP/SCTP only)"; } enum "char-gen" { value 19; description "Match on the 'chargen' port number (TCP/SCTP only)"; } enum "ftp-data" { value 20; description "Match on the FTP data connections port number (TCP/SCTP only)"; } enum "ftp" { value 21; description "Match on the 'ftp' port number (TCP/SCTP only)"; } enum "telnet" { value 23; description "Match on the 'telnet' port number (TCP/SCTP only)"; } enum "smtp" { value 25; description "Match on the 'smtp' port number (TCP/SCTP only)"; } enum "time" { value 37; description "Match on the 'time' port number"; } enum "name-server" { value 42; description "Match on the IEN116 name service port number (UDP only)"; } enum "who-is" { value 43; description "Match on the 'nicname' port number (TCP/SCTP only)"; } enum "tacacs" { value 49; description "Match on the 'tacacs' port number"; } enum "dns" { value 53; description "Match on the 'dns' port number"; } enum "boot-ps" { value 67; description "Match on the Bootstrap Protocol server port number (UDP only)"; } enum "boot-pc" { value 68; description "Match on the Bootstrap Protocol client port number (UDP only)"; } enum "tftp" { value 69; description "Match on the 'tftp' port number (UDP only)"; } enum "gopher" { value 70; description "Match on the 'gopher' port number (TCP/SCTP only)"; } enum "finger" { value 79; description "Match on the 'finger' port number (TCP/SCTP only)"; } enum "www" { value 80; description "Match on the 'http' port number (TCP/SCTP only)"; } enum "host-name" { value 101; description "Match on the NIC hostname server port number (TCP/SCTP only)"; } enum "pop2" { value 109; description "Match on the 'pop2' port number (TCP/SCTP only)"; } enum "pop3" { value 110; description "Match on the 'pop3' port number (TCP/SCTP only)"; } enum "sun-rpc" { value 111; description "Match on the Sun RPC port number"; } enum "ident" { value 113; description "Match on the 'ident' port number (TCP/SCTP only)"; } enum "nntp" { value 119; description "Match on the 'nntp' port number (TCP/SCTP only)"; } enum "ntp" { value 123; description "Match on the 'ntp' port number (UDP only)"; } enum "net-bios-ns" { value 137; description "Match on the NetBIOS name service port number (UDP only)"; } enum "net-bios-dgs" { value 138; description "Match on the NetBIOS datagram service port number (UDP only)"; } enum "net-bios-ss" { value 139; description "Match on the NetBIOS session service port number (UDP only)"; } enum "snmp" { value 161; description "Match on the 'snmp' port number (UDP only)"; } enum "snmp-trap" { value 162; description "Match on the SNMP traps port number (UDP only)"; } enum "xdmcp" { value 177; description "Match on the 'xdmcp' port number (UDP only)"; } enum "bgp" { value 179; description "Match on the 'bgp' port number (TCP/SCTP only)"; } enum "irc" { value 194; description "Match on the 'irc' port number (TCP/SCTP only)"; } enum "dnsix" { value 195; description "Match on the DNSIX security protocol auditing port number (UDP only)"; } enum "mobile-ip" { value 434; description "Match on the mobile IP registration port number (UDP only)"; } enum "pim-auto-rp" { value 496; description "Match on the PIM Auto-RP port number"; } enum "isakmp" { value 500; description "Match on the 'isakmp' port number (UDP only)"; } enum "exec-or-biff" { value 512; description "Match on the port used by TCP/SCTP for 'exec' and by UDP for 'biff'"; } enum "login-or-who" { value 513; description "Match on the port used by TCP/SCTP for 'login' and by UDP for 'rwho'"; } enum "cmd-or-syslog" { value 514; description "Match on the port used by TCP/SCTP for 'rcmd' and by UDP for 'syslog'"; } enum "lpd" { value 515; description "Match on the 'lpd' port number (TCP/SCTP only)"; } enum "talk" { value 517; description "Match on the 'talk' port number"; } enum "rip" { value 520; description "Match on the 'rip' port number (UDP only)"; } enum "uucp" { value 540; description "Match on the 'uucp' port number (TCP/SCTP only)"; } enum "klogin" { value 543; description "Match on the Kerberos login port number (TCP/SCTP only)"; } enum "kshell" { value 544; description "Match on the Kerberos shell port number (TCP/SCTP only)"; } enum "ldp" { value 646; description "Match on the LDP port"; } enum "https" { value 443; description "Match on the HTTPS port"; } enum "bfd" { value 3784; description "Match on the BFD port"; } enum "radius" { value 1812; description "Match on the RADIUS AUTHENTICATION port"; } enum "radius-acct" { value 1813; description "Match on the RADIUS ACCOUNTING port"; } } type uint32 { range "0..65535"; } } description "Ipv4 acl port number"; } typedef Ipv4-acl-log-rate-range { type uint32 { range "1..1000"; } description "Ipv4 acl log rate range"; } typedef Ipv4-acl-igmp-number { type union { type enumeration { enum "host-query" { value 17; description "Host query"; } enum "host-report" { value 18; description "Host report"; } enum "dvmrp" { value 19; description "Distance Vector Multicast Routing Protocol"; } enum "pim" { value 20; description "Portocol Independent Multicast"; } enum "trace" { value 21; description "Multicast Trace"; } enum "v2-report" { value 22; description "Version 2 report"; } enum "v2-leave" { value 23; description "Version 2 leave"; } enum "mtrace-response" { value 30; description "MTrace response"; } enum "mtrace" { value 31; description "MTrace"; } enum "v3-report" { value 34; description "Version 3 report"; } } type uint32 { range "0..255"; } } description "Ipv4 acl igmp number"; } typedef Ipv4-acl-dscp-number { type union { type enumeration { enum "default" { value 0; description "Default DSCP"; } enum "af11" { value 10; description "Match packets with AF11 DSCP"; } enum "af12" { value 12; description "Match packets with AF12 DSCP"; } enum "af13" { value 14; description "Match packets with AF13 DSCP"; } enum "af21" { value 18; description "Match packets with AF21 DSCP"; } enum "af22" { value 20; description "Match packets with AF22 DSCP"; } enum "af23" { value 22; description "Match packets with AF23 DSCP"; } enum "af31" { value 26; description "Match packets with AF31 DSCP"; } enum "af32" { value 28; description "Match packets with AF32 DSCP"; } enum "af33" { value 30; description "Match packets with AF33 DSCP"; } enum "af41" { value 34; description "Match packets with AF41 DSCP"; } enum "af42" { value 36; description "Match packets with AF42 DSCP"; } enum "af43" { value 38; description "Match packets with AF43 DSCP"; } enum "cs1" { value 8; description "Match packets with CS1 (precedence 1) DSCP"; } enum "cs2" { value 16; description "Match packets with CS2 (precedence 2) DSCP"; } enum "cs3" { value 24; description "Match packets with CS3 (precedence 3) DSCP"; } enum "cs4" { value 32; description "Match packets with CS4 (precedence 4) DSCP"; } enum "cs5" { value 40; description "Match packets with CS5 (precedence 5) DSCP"; } enum "cs6" { value 48; description "Match packets with CS6 (precedence 6) DSCP"; } enum "cs7" { value 56; description "Match packets with CS7 (precedence 7) DSCP"; } enum "ef" { value 46; description "Match packets with EF DSCP"; } } type uint32 { range "0..63"; } } description "Ipv4 acl dscp number"; } typedef Ipv4-acl-status-enum { type enumeration { enum "disabled" { value 0; description "Disabled"; } enum "enabled" { value 1; description "Enabled"; } } description "Ipv4 acl status enum"; } typedef Ipv4-acl-icmp-code-range { type uint32 { range "0..255"; } description "Ipv4 acl icmp code range"; } typedef Ipv4-acl-qos-group-number { type uint32 { range "0..512"; } description "Ipv4 acl qos group number"; } typedef Ipv4-acl-sequence-number-range-acl { type uint32 { range "1..2147483643"; } description "Ipv4 acl sequence number range acl"; } typedef Ipv4-acl-log-threshold-range { type uint32 { range "1..2147483647"; } description "Ipv4 acl log threshold range"; } typedef Ipv4-acl-icmp-type-code-enum { type union { type enumeration { enum "mobile-redirect" { value 2162687; description "Mobile host redirect"; } enum "conversion-error" { value 2097151; description "Datagram conversion"; } enum "traceroute" { value 2031615; description "Traceroute"; } enum "mask-reply" { value 1245183; description "Mask replies"; } enum "mask-request" { value 1179647; description "Mask requests"; } enum "information-reply" { value 1114111; description "Information replies"; } enum "information-request" { value 1048575; description "Information request"; } enum "timestamp-reply" { value 983039; description "Timestamp replies"; } enum "timestamp-request" { value 917503; description "Timestamp requests"; } enum "parameter-problem" { value 851967; description "All parameter problems"; } enum "time-exceeded" { value 786431; description "All time exceeds"; } enum "router-solicitation" { value 720895; description "Router discovery solicitations"; } enum "router-advertisement" { value 655359; description "Router discovery advertisements"; } enum "alternate-address" { value 458751; description "Alternate address"; } enum "echo" { value 589823; description "Echo (ping)"; } enum "redirect" { value 393215; description "All redirects"; } enum "source-quench" { value 327679; description "Source quenches"; } enum "unreachable" { value 262143; description "All unreachables"; } enum "echo-reply" { value 65535; description "Echo reply"; } enum "network-unreachable" { value 196608; description "Network unreachable"; } enum "host-unreachable" { value 196609; description "Host unreachable"; } enum "protocol-unreachable" { value 196610; description "Protocol unreachable"; } enum "port-unreachable" { value 196611; description "Port unreachable"; } enum "packet-too-big" { value 196612; description "Fragmentation needed and DF set"; } enum "source-route-failed" { value 196613; description "Source route failed"; } enum "network-unknown" { value 196614; description "Network unknown"; } enum "host-unknown" { value 196615; description "Host unknown"; } enum "host-isolated" { value 196616; description "Host isolated"; } enum "dod-net-prohibited" { value 196617; description "Network prohibited"; } enum "dod-host-prohibited" { value 196618; description "Host prohibited"; } enum "net-tos-unreachable" { value 196620; description "Network unreachable for TOS"; } enum "host-tos-unreachable" { value 196619; description "Host unreachable for TOS"; } enum "administratively-prohibited" { value 196621; description "Administratively prohibited"; } enum "host-precedence-unreachable" { value 196622; description "Host unreachable for precedence"; } enum "precedence-unreachable" { value 196623; description "Precedence cutoff"; } enum "network-redirect" { value 327680; description "Network redirect"; } enum "host-redirect" { value 327681; description "Host redirect"; } enum "net-tos-redirect" { value 327682; description "Network redirect for TOS"; } enum "host-tos-redirect" { value 327683; description "Host redirect for TOS"; } enum "ttl-exceeded" { value 720896; description "TTL exceeded"; } enum "reassembly-timeout" { value 720897; description "Reassembly timeout"; } enum "general-parameter-problem" { value 786432; description "Parameter problem"; } enum "option-missing" { value 786433; description "Parameter required but not present"; } enum "no-room-for-option" { value 786434; description "Parameter required but no room"; } } type uint32 { range "0..2147483646"; } } description "Ipv4 acl icmp type code enum"; } typedef Ipv4-acl-sequence-number-range { type uint32 { range "1..2147483646"; } description "Ipv4 acl sequence number range"; } typedef Ipv4-acl-frag-flags { type union { type enumeration { enum "dont-fragment" { value 1; description "Match don't fragment flag"; } enum "is-fragment" { value 2; description "Match is fragment flag"; } enum "first-fragment" { value 4; description "Match first fragment flag"; } enum "last-fragment" { value 8; description "Match last fragment flag"; } enum "dont-fragment-is-fragment" { value 3; description "Match don't fragment and is fragment flag"; } enum "dont-fragment-first-fragment" { value 5; description "Match don't fragment and first fragment flag"; } enum "dont-fragment-last-fragment" { value 9; description "Match don't fragment and last fragment flag"; } } type uint32 { range "1..9"; } } description "Ipv4 acl frag flags"; } typedef Ipv4-acl-tcp-bits-number { type bits { bit fin { position 0; description "Match on the FIN bit (0x01)"; } bit syn { position 1; description "Match on the SYN bit (0x02)"; } bit rst { position 2; description "Match on the RST bit (0x04)"; } bit psh { position 3; description "Match on the PSH bit (0x08)"; } bit ack { position 4; description "Match on the ACK bit (0x10)"; } bit urg { position 5; description "Match on the URG bit (0x20)"; } } description "Ipv4 acl tcp bits number"; } typedef Ipv4-acl-icmp-type-range { type uint32 { range "0..255"; } description "Ipv4 acl icmp type range"; } typedef Ipv4-acl-logging-enum { type enumeration { enum "log" { value 1; description "Log matches against this entry"; } enum "log-input" { value 2; description "Log matches against this entry, including input interface"; } } description "Ipv4 acl logging enum"; } } // module Cisco-IOS-XR-ipv4-acl-datatypes
© 2024 YumaWorks, Inc. All rights reserved.