Access Lists (ACLs)
ExtremeWare XOS 11.3 Concepts Guide
264
Action Modifiers
Additional actions can also be specified, independent of whether the packet is dropped or forwarded.
These additional actions are called action modifiers. Not all action modifiers are available on all
switches, and not all are available for both ingress and egress ACLs. The action modifiers are:
●
count <countername>
—increments the counter named in the action modifier (ingress only)
●
log
—logs the packet header
●
log-raw
—logs the packet header in hex format
●
meter <metername>
—takes action depending on the traffic rate (BlackDiamond 8800 family and
Summit X450 switches only)
●
mirror
—sends a copy of the packet to the monitor (mirror) port (ingress only)
●
mirror-cpu
—mirrors a copy of the packet to the CPU in order to log it
●
qosprofile <qosprofilename>—
forwards the packet to the specified QoS profile (ingress only)
●
redirect <ipv4 addr>
—forwards the packet to the specified IPv4 address (BlackDiamond 10K
only)
●
replace-dscp
—replace the packet’s DSCP field with the value from the associated QoS profile
(BlackDiamond 10K ingress only)
●
replace-dot1p
—replace the packet’s 802.1p field with the value from the associated QoS profile
(BlackDiamond 10K ingress only)
To count packets:
When the ACL entry match conditions are met, the specified counter is incremented.
The counter value can be displayed by the command:
show access-list counter {<countername>} {any | ports <portlist> | vlan <vlanname>}
{ingress | egress}
To log packets:
Packets are logged only when they go to the CPU, so packets in the fastpath are not
automatically logged. You must use both the
mirror-cpu
action modifier and the
log
or
log-raw
action
modifier if you want to log both slowpath and fastpath packets that match the ACL rule entry.
Additionally, KERN:INFO messages are not logged by default. You must configure the EMS target to
log these messages. See
Chapter 8
,
“Status Monitoring and Statistics”
, for information about configuring
EMS.
To meter packets:
BlackDiamond 8800 Family and Summit X450 Only—
For the BlackDiamond 8800
family and Summit X450 switches, the
meter <metername>
action modifier associates a rule entry with
an ACL meter. See the section,
“ACL Metering—BlackDiamond 8800 Family and Summit X450 Only”
on page 271
for more information.
To mirror packets:
You must enable port-mirroring on your switch. See the section,
“Switch Port
Mirroring” on page 130
. If you attempt to apply a policy that requires port-mirroring, you will receive
an error message if port-mirroring is not enabled.
To redirect packets:
BlackDiamond 10K Only—
Packets are forwarded to the IPv4 address specified,
without modifying the IP header. The IPv4 address must be in the IP ARP cache, otherwise the packet is
forwarded normally. Only fast path traffic can be redirected.
You may want to create a static ARP entry for the redirection IP address, so that there will always be a
cache entry.
To replace DSCP or 802.1p fields:
BlackDiamond 10K Ingress Only
—Specify a QoS profile for matching
packets. The field values are replaced with the value associated with that profile. In the following
Summary of Contents for ExtremeWare XOS 11.3
Page 20: ...Contents ExtremeWare XOS 11 3 Concepts Guide 20...
Page 25: ...1 Using ExtremeWare XOS...
Page 26: ......
Page 38: ...ExtremeWare XOS Overview ExtremeWare XOS 11 3 Concepts Guide 38...
Page 58: ...Accessing the Switch ExtremeWare XOS 11 3 Concepts Guide 58...
Page 146: ...Configuring Slots and Ports on a Switch ExtremeWare XOS 11 3 Concepts Guide 146...
Page 218: ...Status Monitoring and Statistics ExtremeWare XOS 11 3 Concepts Guide 218...
Page 240: ...Virtual LANs ExtremeWare XOS 11 3 Concepts Guide 240...
Page 248: ...Virtual Routers ExtremeWare XOS 11 3 Concepts Guide 248...
Page 278: ...Access Lists ACLs ExtremeWare XOS 11 3 Concepts Guide 278...
Page 288: ...Routing Policies ExtremeWare XOS 11 3 Concepts Guide 288 entry deny_rest if then deny...
Page 344: ...Security ExtremeWare XOS 11 3 Concepts Guide 344...
Page 393: ...2 Using Switching and Routing Protocols...
Page 394: ......
Page 454: ...Spanning Tree Protocol ExtremeWare XOS 11 3 Concepts Guide 454...
Page 484: ...Extreme Standby Router Protocol ExtremeWare XOS 11 3 Concepts Guide 484...
Page 514: ...IPv4 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 514...
Page 530: ...IPv6 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 530...
Page 538: ...RIP ExtremeWare XOS 11 3 Concepts Guide 538...
Page 556: ...OSPF ExtremeWare XOS 11 3 Concepts Guide 556...
Page 566: ...OSPFv3 ExtremeWare XOS 11 3 Concepts Guide 566...
Page 589: ...3 Appendixes...
Page 590: ......
Page 640: ...CNA Agent ExtremeWare XOS 11 3 Concepts Guide 640...
Page 670: ...Glossary ExtremeWare XOS 11 3 Concepts Guide 670...
Page 698: ...Index ExtremeWare XOS 11 3 Concepts Guide 698...