API Guide

Command Mode IPV6-ACL
Usage
Information
OS10 cannot count both packets and bytes; when you use the count byte options, only bytes
increment. The no version of this command removes the filter.
Example
OS10(config)# ipv6 access-list ipv6test
OS10(conf-ipv6-acl)# deny icmp any any capture session 1
Supported
Releases
10.2.0E or later
deny ip
Configures a filter to drop all or specific packets from an IPv4 address.
Syntax
deny ip [A.B.C.D | A.B.C.D/x | any | host ip-address] [[A.B.C.D | A.B.C.D/x
| any | host ip-address] [capture |count [byte] | dscp value | fragment]
Parameters
A.B.C.D Enter the IPv4 address in dotted decimal format.
A.B.C.D/x Enter the number of bits to match to the dotted decimal address.
any (Optional) Set all routes which are subject to the filter:
capture (Optional) Capture packets the filter processes.
count (Optional) Count packets the filter processes.
byte (Optional) Count bytes the filter processes.
dscp value (Optional) Deny a packet based on the DSCP values, from 0 to 63.
fragment (Optional) Use ACLs to control packet fragments.
host ip-address (Optional) Enter the IPv4 address to use a host address only.
Default Not configured
Command Mode IPV4-ACL
Usage
Information
OS10 cannot count both packets and bytes; when you use the count byte options, only bytes
increment. The no version of this command removes the filter.
Example
OS10(config)# ip access-list testflow
OS10(conf-ipv4-acl)# deny ip any any capture session 1 count
Supported
Releases
10.2.0E or later
deny ipv6
Configures a filter to drop all or specific packets from an IPv6 address.
Syntax
deny ipv6 [A::B | A::B/x | any | host ipv6address] [A::B | A:B/x | any |
host ipv6address] [capture | count [byte] | dscp | fragment]
Parameters
A::B (Optional) Enter the source IPv6 address from which the packet was sent and the
destination address.
A::B/x (Optional) Enter the source network mask in /prefix format (/x) and the destination
mask.
any (Optional) Set all routes which are subject to the filter:
capture (Optional) Capture packets the filter processes.
count (Optional) Count packets the filter processes.
byte (Optional) Count bytes the filter processes.
dscp value (Optional) Deny a packet based on the DSCP values, from 0 to 63.
1132 Access Control Lists