beautypg.com

Access-list enable accounting – Brocade FastIron Ethernet Switch Security Configuration Guide User Manual

Page 368

background image

access-list enable accounting

Configures ACL accounting.

Enables ACL accounting for IPv4 numbered ACLs.

The no form disables ACL accounting for IPv4 numbered ACLs.

Syntax

access-list number enable-accounting

no access-list number enable-accounting

Command Default

This option is disabled.

Parameters

number

Defines the IPv4 ACL ID.

enable-accounting

Enables ACL accounting on the specified interface.

Modes

Global configuration.

Usage Guidelines

This is only applicable to numbered ACLs . The no form of this command disables ACL accounting on
the associated ACL interface.

Examples

The following example shows how to enable ACL accounting for a numbered ACL.

device(config)# access-list 10 permit host 10.10.10.1

device(config)# access-list 10 enable-accounting

device(config)# interface ethernet 1/1

device(config-if-1/1)# ip access-group 10 in

The following example shows how to enable ACL accounting for an extended ACL.

device(config)# ip access-list extended 101

device(config-ip-access-list-101)# enable-accounting

History

Release version

Command history

08.0.10

This command was introduced.

access-list enable accounting

368

FastIron Ethernet Switch Security Configuration Guide

53-1003088-03