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
Содержание ExtremeWare XOS 11.3
Страница 20: ...Contents ExtremeWare XOS 11 3 Concepts Guide 20...
Страница 25: ...1 Using ExtremeWare XOS...
Страница 26: ......
Страница 38: ...ExtremeWare XOS Overview ExtremeWare XOS 11 3 Concepts Guide 38...
Страница 58: ...Accessing the Switch ExtremeWare XOS 11 3 Concepts Guide 58...
Страница 146: ...Configuring Slots and Ports on a Switch ExtremeWare XOS 11 3 Concepts Guide 146...
Страница 218: ...Status Monitoring and Statistics ExtremeWare XOS 11 3 Concepts Guide 218...
Страница 240: ...Virtual LANs ExtremeWare XOS 11 3 Concepts Guide 240...
Страница 248: ...Virtual Routers ExtremeWare XOS 11 3 Concepts Guide 248...
Страница 278: ...Access Lists ACLs ExtremeWare XOS 11 3 Concepts Guide 278...
Страница 288: ...Routing Policies ExtremeWare XOS 11 3 Concepts Guide 288 entry deny_rest if then deny...
Страница 344: ...Security ExtremeWare XOS 11 3 Concepts Guide 344...
Страница 393: ...2 Using Switching and Routing Protocols...
Страница 394: ......
Страница 454: ...Spanning Tree Protocol ExtremeWare XOS 11 3 Concepts Guide 454...
Страница 484: ...Extreme Standby Router Protocol ExtremeWare XOS 11 3 Concepts Guide 484...
Страница 514: ...IPv4 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 514...
Страница 530: ...IPv6 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 530...
Страница 538: ...RIP ExtremeWare XOS 11 3 Concepts Guide 538...
Страница 556: ...OSPF ExtremeWare XOS 11 3 Concepts Guide 556...
Страница 566: ...OSPFv3 ExtremeWare XOS 11 3 Concepts Guide 566...
Страница 589: ...3 Appendixes...
Страница 590: ......
Страница 640: ...CNA Agent ExtremeWare XOS 11 3 Concepts Guide 640...
Страница 670: ...Glossary ExtremeWare XOS 11 3 Concepts Guide 670...
Страница 698: ...Index ExtremeWare XOS 11 3 Concepts Guide 698...