acl hardware-mode

Use acl hardware-mode to specify the ACL hardware mode.

Syntax

acl hardware-mode { advanced | basic }

Default

The ACL hardware mode is advanced.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

advanced: Specifies the advanced ACL hardware mode. In this mode, the card supports IPv4 basic, IPv4 advanced, Ethernet frame header, IPv6 basic, IPv6 advanced, and user-defined ACLs.

basic: Specifies the basic ACL hardware mode. In this mode, the card supports only IPv4 basic, IPv4 advanced, and Ethernet frame header ACLs.

Usage guidelines


[IMPORTANT: ]

IMPORTANT:

Use caution to change the ACL hardware mode. The change operation might cause ACL configuration to go invalid.


This command applies to only EB cards, or FD cards.

After configuring this command, to make the configuration take effect, you must save it and then restart the device.

Devices with different ACL hardware mode cannot form an IRF fabric. For more information about IRF, see Virtual Technologies Configuration Guide.

This command is supported only by the default MDC. For more information about MDC, see Virtual Technologies Configuration Guide.

Examples

# Specify the ACL hardware mode as basic.

<Sysname> system-view
[Sysname] acl hardware-mode basic

Related commands

display acl hardware-mode