< Home

assign resource-template acl-mode { nac | normal }

Function

The assign resource-template acl-mode command sets the ACL resource allocation mode.

The undo assign resource-template acl-mode command restores the default ACL resource allocation mode.

By default, the ACL resource allocation mode of is Normal.

Only the S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI support this command.

Format

assign resource-template acl-mode { nac | normal } [ slot slot-id ]

undo assign resource-template acl-mode [ slot slot-id ]

Parameters

Parameter

Description

Value

nac

Specifies the NAC ACL resource allocation mode.

-

normal

Specifies the Normal ACL resource allocation mode.

-

slot slot-id

  • Specifies the slot ID if stacking is not configured.
  • Specifies the stack ID if stacking is configured.

If slot-id is not specified, ACL resource allocation mode in all the stack switches is displayed.

The value is determined based on the device configuration.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The default ACL resource allocation mode is Normal. In Normal mode, the ACL does not support matching of destination IPv6 addresses. If matching destination IPv6 address is required, switch the ACL resource allocation mode to NAC.

Precautions

  • The ACL specifications in NAC and Normal ACL resource allocation modes are the same.
  • In NAC mode, matching MAC addresses of IPv6 packets is not supported. As a result, the configuration of the corresponding function matching the source and destination MAC addresses of IPv6 packets in Normal mode may be lost or not take effect.
  • After configuring the ACL resource allocation mode, save the configuration, and restart the device for the configuration to take effect.

Example

# Change the ACL resource allocation mode to NAC.

<HUAWEI> system-view
[HUAWEI] assign resource-template acl-mode nac
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >