This module contains a collection of YANG definitions for Cisco IOS-XR es-acl package configuration. This module contains defin...
Version: 2019-04-05
module Cisco-IOS-XR-es-acl-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-es-acl-cfg"; prefix es-acl-cfg; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-common-acl-datatypes { prefix dt1; } include Cisco-IOS-XR-es-ace-cfg { revision-date "2019-04-05"; } 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 es-acl package configuration. This module contains definitions for the following management objects: es-acl: Layer 2 ACL configuration data Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-02-26" { description "6.5.1 revision. Fixed datatypes for below leaves: - vlan1, vlan2 - inner-vlan1, inner-vlan2 - cos, inner-cos - dei, inner-dei - log-option."; } revision "2018-02-21" { description "Changed ether-type-number to type Hex-integer-16."; } revision "2018-01-03" { description "6.4.1 revision. Fixed a few typos in the description."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.1.1"; typedef Es-acl-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Es acl name"; } container es-acl { description "Layer 2 ACL configuration data"; container accesses { description "Table of access lists"; list access { key "name"; description "An ACL"; container access-list-entries { description "ACL entry table; contains list of access list entries"; list access-list-entry { key "sequence-number"; description "An ACL entry; either a description (remark) or anAccess List Entry to match against"; leaf sequence-number { type dt1:Acl-sequence-number-range; description "Sequence number of access list entry"; } leaf grant { type es-acl-grant-enum; description "Forwarding action for the packet. This is required for any non-remark ACE. Leave unspecified otherwise."; } container source-network { description "Source network settings."; leaf source-address { type es-acl-address; description "Source address to match, leave unspecified for any."; } leaf source-wild-card-bits { type es-acl-address; description "Wildcard bits to apply to source address (if specified), leave unspecified for no wildcarding."; } } // container source-network container destination-network { description "Destination network settings."; leaf destination-address { type es-acl-address; description "Destination address to match (if a protocol was specified), leave unspecified for any."; } leaf destination-wild-card-bits { type es-acl-address; description "Wildcard bits to apply to destination address (if specified), leave unspecified for no wildcarding."; } } // container destination-network leaf vlan1 { type es-acl-dt:Es-acl-vlan-range; description "This 12-bit VLAN-ID in the VLAN Tag header uniquely identifies the VLAN. It can be used for the lower bound (in range) or single value. Any value not in the permissible range will be rejected."; reference "IEEE 802.1Q"; } leaf vlan2 { type es-acl-dt:Es-acl-vlan-range; description "This 12 bit VLAN-ID in the VLAN Tag header uniquely identifies the VLAN. It is used in the upper bound (in range). Any value not in the permissible range will be rejected."; reference "IEEE 802.1Q"; } leaf cos { type es-acl-dt:Es-acl-cos-range; description "Class of Service value. Any value not in the permissible range will be rejected."; reference "IEEE 802.1p"; } leaf dei { type es-acl-dt:Es-acl-dei-range; description "Discard Eligibility Indication bit. User can specify 1 to indicate the bit is set. Leave unspecified otherwise."; reference "RFC 7180 Section 7"; } leaf inner-vlan1 { type es-acl-dt:Es-acl-vlan-range; description "This represents the QinQ vlan identifier. It can be used for the lower bound (in range) or single value. Any value not in the permissible range will be rejected."; reference "IEEE 802.1Q"; } leaf inner-vlan2 { type es-acl-dt:Es-acl-vlan-range; description "This represents the QinQ vlan identifier. It is used in the upper bound (in range). Any value not in the permissible range will be rejected."; reference "IEEE 802.1Q"; } leaf inner-cos { type es-acl-dt:Es-acl-cos-range; description "Class of Service of Inner Header. Any value not in the permissible range will be rejected."; reference "IEEE 802.1p"; } leaf inner-dei { type es-acl-dt:Es-acl-dei-range; description "Discard Eligibility Indication for Inner Header. User can specify 1 to indicate the bit is set. Leave unspecified otherwise."; reference "RFC 7180 Section 7"; } leaf remark { type string { length "0..255"; } description "Description for the access-list-entry/rule."; } leaf ether-type-number { type xr:Hex-integer-16; description "Ethernet type Number in Hex. Any value not in the permissible range will be rejected."; reference "IEEE 802 Ether types"; } leaf capture { type boolean; description "Enable capture if set to TRUE."; } leaf log-option { type es-acl-dt:Es-acl-log-range; description "Log the packet on this access-list-entry/rule. User can specify 1 to enable logging the match, leave unspecified otherwise."; } leaf sequence-str { type string { length "1..64"; } description "Sequence String for the ace."; } } // list access-list-entry } // container access-list-entries leaf name { type Es-acl-name; description "Name of the access list"; } } // list access } // container accesses } // container es-acl } // module Cisco-IOS-XR-es-acl-cfg
© 2023 YumaWorks, Inc. All rights reserved.