Users Guide
can congure ACL logging only on ACLs that are applied to ingress interfaces; you cannot enable logging for ACLs
that are associated with egress interfaces.
You can activate ow-based monitoring for a monitoring session by entering the flow-based enable
command in the Monitor Session mode. When you enable this capability, trac with particular ows that are
traversing through the ingress and egress interfaces are examined and, appropriate ACLs can be applied in both
the ingress and egress direction. Flow-based monitoring conserves bandwidth by monitoring only specied trac
instead all trac on the interface. This feature is particularly useful when looking for malicious trac. It is available
for Layer 2 and Layer 3 ingress and egress trac. You may specify trac using standard or extended access-lists.
This mechanism copies all incoming or outgoing packets on one port and forwards (mirrors) them to another port.
The source port is the monitored port (MD) and the destination port is the monitoring port (MG).
Related Commands
• deny — congure a lter to drop packets.
• permit — congure a lter to forward packets.
seq (for IPv6 ACLs)
Assign a sequence number to a deny or permit the lter in an IPv6 access list while creating the lter.
Syntax
seq sequence-number {deny | permit} {ipv6-protocol-number | icmp | ip | tcp |
udp} {source address mask | any | host ipv6-address} {destination address | any
| host ipv6-address} [operator port [portnumber ]] [count [byte]] [log
[interval minutes] [threshold-in-msgs [count]] [monitor]
To delete a lter, use the no seq sequence-number command.
Parameters
sequence-number Enter a number from 0 to 4294967290.
deny Enter the keyword deny to congure a lter to drop packets meeting this condition.
permit Enter the keyword permit to congure a lter to forward packets meeting this criteria.
ipv6-protocol-
number
Enter a number to lter based on the protocol identied in the IPv6 protocol header.
icmp Enter the keyword icmp to congure an ICMP access list lter.
ip Enter the keyword ip to congure a generic IP access list. The keyword ip species that
the access list permits all IP protocols.
tcp Enter the keyword tcp to congure a TCP access list lter.
udp Enter the keyword udp to congure a UDP access list lter.
source Enter an IP address in dotted decimal format of the network from which the packet was
received.
mask (OPTIONAL) Enter a network mask in /prex format (/x) .
any Enter the keyword any to specify that all routes are subject to the lter.
host ipv6-address Enter the keyword host and then enter the IPv6 address to specify a host IP address or
hostname.
operator (OPTIONAL) Enter one of the following logical operands:
• eq = equal to
298 Access Control Lists (ACL)