No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
TCAM ACL Customization Commands

TCAM ACL Customization Commands

NOTE:
Only the CE6870EI supports TCAM ACL Customization.

action

Function

The action command configures an action in a TCAM ACL customization group.

The undo action command deletes an action from a TCAM ACL customization group.

By default, no action is configured in a TCAM ACL customization group.

Format

action { car | deny | forwarding-modify | mac-address-learning-disable | mirror | redirect { eth-trunk | flow | interface | nexthop | observe-port } * | remark { 8021p | dscp | exp | local-precedence | vlan | tos } * | share-car | snoop | statistics | trap } *

undo action

Parameters

Parameter

Description

Value

car

Specifies the CAR.

-

deny

Specifies the action of discarding packets.

-

forwarding-modify

Specifies the packet forwarding mode.

-

mac-address-learning-disable

Specifies the action of disabling MAC address learning.

-

mirror

Specifies the mirroring action.

-

redirect

Specifies the redirection action.

-

eth-trunk

Redirects packets to an Eth-Trunk.

-

flow

Redirects packets to a queue.

-

interface

Redirects packets to an interface.

-

nexthop

Redirects packets to a next hop address.

-

observe-port

Redirects packets to an observing interface.

-

remark

Specifies the re-marking action.

-

8021p

Re-marks 802.1p priorities in VLAN packets.

-

dscp

Re-marks DSCP priorities in IP packets.

-

exp

Re-marks EXP priorities in MPLS packets.

-

local-precedence

Re-marks local IP precedences in packets.

-

vlan

Re-marks VLAN IDs.

-

tos

Re-marks ToS values.

-

share-car

Specifies the aggregated CAR action.

-

snoop

Specifies the action of replicating packets to the CPU.

-

statistics

Specifies the traffic statistics collection action.

-

trap

Specifies the packet obtaining action.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run this command to define an action in a TCAM ACL customization group.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# Configure the action of discarding packets and traffic statistics collection in a TCAM ACL customization group.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] action deny statistics

match ethernet

Function

The match ethernet command configures a matching rule based on Ethernet information in a TCAM ACL customization group.

The undo match ethernet command deletes a matching rule based on Ethernet information from a TCAM ACL customization group.

By default, no matching rule based on Ethernet information is defined in a TCAM ACL customization group.

Format

match ethernet { 8021p | destination-mac | ethertype | inner-8021p | inner-vlan | source-mac | vlan } *

undo match ethernet

Parameters

Parameter

Description

Value

8021p

Matches 802.1p priorities in VLAN packets.

-

destination-mac

Matches destination MAC addresses.

-

ethertype

Matches Ethernet types.

-

inner-8021p

Matches inner 802.1p priorities in QinQ packets.

-

inner-vlan

Matches inner VLAN IDs in QinQ packets.

-

source-mac

Matches source MAC addresses.

-

vlan

Matches VLAN IDs in VLAN packets.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on Ethernet information.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on the VLAN ID and destination MAC address.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match ethernet vlan destination-mac

match forwarding

Function

The match forwarding command configures a matching rule based on the forwarding status in a TCAM ACL customization group.

The undo match forwarding command deletes a matching rule based on the forwarding status from a TCAM ACL customization group.

By default, no matching rule based on the forwarding status is defined in a TCAM ACL customization group.

Format

match forwarding { destination-interface | source-interface | l2sub-interface | vrf | vsi } *

undo match forwarding

Parameters

Parameter

Description

Value

destination-interface

Matches outbound interfaces.

-

source-interface

Matches inbound interfaces.

-

l2sub-interface

Matches layer 2 sub-interface.

-

vrf

Matches the VRF.

-

vsi

Matches VSIs.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on the forwarding status.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on the outbound interface.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match forwarding destination-interface

match icmp icmp-type

Function

The match icmp icmp-type command configures a matching rule based on ICMP packets in a TCAM ACL customization group.

The undo match icmp command deletes a matching rule based on ICMP packets from a TCAM ACL customization group.

By default, no matching rule based on ICMP packets is defined in a TCAM ACL customization group.

Format

match icmp icmp-type

undo match icmp

Parameters

None

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on ICMP packets.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on ICMP packets.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match icmp icmp-type

match igmp igmp-type

Function

The match igmp igmp-type command configures a matching rule based on IGMP packets in a TCAM ACL customization group.

The undo match igmp command deletes a matching rule based on IGMP packets from a TCAM ACL customization group.

By default, no matching rule based on IGMP packets is defined in a TCAM ACL customization group.

Format

match igmp igmp-type

undo match igmp

Parameters

None

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on IGMP packets.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on IGMP packets.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match igmp igmp-type

match ip

Function

The match ip command configures a matching rule based on IPv4 packet information in a TCAM ACL customization group.

The undo match ip command deletes a matching rule based on IPv4 packet information from a TCAM ACL customization group.

By default, no matching rule based on IPv4 packet information is defined in a TCAM ACL customization group.

Format

match ip { destination-ip | source-ip | fragment | protocol | tos | ttl } *

undo match ip

Parameters

Parameter

Description

Value

destination-ip

Matches destination IPv4 addresses.

-

source-ip

Matches source IPv4 addresses.

-

fragment

Matches fragments.

-

protocol

Matches IP protocol types.

-

tos

Matches ToS values.

-

ttl

Matches TTL values.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on IPv4 packet information.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on source and destination IPv4 addresses.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match ip destination-ip source-ip

match ipv6

Function

The match ipv6 command configures a matching rule based on IPv6 packet information in a TCAM ACL customization group.

The undo match ipv6 command deletes a matching rule based on IPv6 packet information from a TCAM ACL customization group.

By default, no matching rule based on IPv6 packet information is defined in a TCAM ACL customization group.

Format

match ipv6 { destination-ip | destination-ip-high | source-ip | source-ip-high | protocol | tos | ttl } *

undo match ipv6

Parameters

Parameter

Description

Value

destination-ip

Matches destination IPv6 addresses.

-

destination-ip-high

Matches the 64 most significant bits of the destination IPv6 address.

-

source-ip

Matches source IPv6 addresses.

-

source-ip-high

Matches the 64 most significant bits of the source IPv6 address.

-

protocol

Matches IP protocol types.

-

tos

Matches ToS values.

-

ttl

Matches TTL values.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on IPv6 packet information.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on source and destination IPv6 addresses.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match ipv6 destination-ip source-ip

match mpls

Function

The match mpls command configures a matching rule based on MPLS packet information in a TCAM ACL customization group.

The undo match mpls command deletes a matching rule based on MPLS packet information from a TCAM ACL customization group.

By default, no matching rule based on MPLS packet information is defined in a TCAM ACL customization group.

Format

match mpls { bos | forward-label-action | exp } *

undo match mpls

Parameters

Parameter

Description

Value

bos

Matches labels at the bottom of the stack.

-

forward-label-action

Matches the label forwarding action.

-

exp

Matches EXP priorities.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on MPLS packet information.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on EXP priorities.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match mpls exp

match tcp

Function

The match tcp command configures a matching rule based on TCP packet information in a TCAM ACL customization group.

The undo match tcp command deletes a matching rule based on TCP packet information from a TCAM ACL customization group.

By default, no matching rule based on TCP packet information is defined in a TCAM ACL customization group.

Format

match tcp { tcp-flag | destination-port | source-port } *

undo match tcp

Parameters

Parameter

Description

Value

tcp-flag

Matches TCP flags.

-

destination-port

Matches destination interfaces.

-

source-port

Matches source interfaces.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on TCP packet information.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on TCP packet information.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match tcp source-port

match udf

Function

The match udf command configures a matching rule based on user-defined packets in a TCAM ACL customization group.

The undo match udf command deletes a matching rule based on user-defined packets from a TCAM ACL customization group.

By default, no matching rule based on user-defined packets is defined in a TCAM ACL customization group.

Format

match { udf { ipv4-head | inner-ipv4-head | l2-head | l4-head } [ negative ] { head-length offset-length } }&<1-8>

undo match udf

Parameters

Parameter

Description

Value

ipv4-head

Matches the offset starting from the outer IP header of user-defined packets.

-

inner-ipv4-head

Matches the offset starting from the inner IP header of user-defined packets.

-

l2-head

Matches the offset starting from the Layer 2 header of user-defined packets.

-

l4-head

Matches the offset starting from the Layer 4 header of user-defined packets.

-

negative

Matches the reverse offset.

-

head-length

Specifies the offset.

The value is an integer that ranges from 0 to 66.

offset-length

Specifies the matched packet length.

The value is an integer that ranges from 1 to 4.

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on user-defined packets.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on user-defined packets.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match udf ipv4-head 50 4

match udp

Function

The match udp command configures a matching rule based on UDP packet information in a TCAM ACL customization group.

The undo match udp command deletes a matching rule based on UDP packet information from a TCAM ACL customization group.

By default, no matching rule based on UDP packet information is defined in a TCAM ACL customization group.

Format

match udp { destination-port | source-port } *

undo match udp

Parameters

Parameter

Description

Value

destination-port

Matches rules based on the destination port number of UDP packets.

-

source-port

Matches rules based on the source port number of UDP packets.

-

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a TCAM ACL customization group, you can run this command to configure a matching rule based on UDP packet information.

Prerequisites

  1. TCAM ACL customization has been enabled using the system tcam acl command.

  2. A TCAM ACL customization profile has been created using the system tcam acl template command.

  3. A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Example

# In a TCAM ACL customization group, configure a matching rule based on destination port numbers of UDP packets.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:y
[*HUAWEI] system tcam acl template c1
[*HUAWEI-tcam-acl-c1] group g1
[*HUAWEI-tcam-acl-c1-group-g1] match udp destination-port

group (TCAM ACL customization profile view)

Function

The group command creates a TCAM ACL customization group and displays its view, or directly displays the view of an existing TCAM ACL customization group.

The undo group command deletes a TCAM ACL customization group.

By default, no TCAM ACL customization group is created.

Format

group group-name [ precedence precedence-value ]

undo group group-name

Parameters

Parameter

Description

Value

group-name

Specifies the name of a TCAM ACL customization group.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a-z or A-Z.

precedence precedence-value

Specifies the priority of a TCAM ACL customization group.

The value is an integer that ranges from 0 to 255. A smaller value indicates a higher priority of a TCAM ACL customization group.

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a TCAM ACL customization profile is configured, run the group group-name command to create a TCAM ACL customization group and enter its view. The group group-name [ precedence precedence-value ] command specifies the priority of the TCAM ACL customization group.

Precautions

  • A maximum of 16 TCAM ACL customization groups can be configured in a TCAM ACL customization profile.

  • If the priorities of TCAM ACL customization groups are not set, the priorities start from 0 and increase according to the sequence in which the groups were created.

  • If the priorities of TCAM ACL customization groups are set, the priorities start from the configured value and increase according to the sequence in which the groups were created. The unused priority can only be configured manually.

  • Different TCAM ACL customization groups must use different priorities.

Example

# Create a TCAM ACL customization group group1.

<HUAWEI> system-view
[~HUAWEI] system tcam acl template template1
[*HUAWEI-tcam-acl-template1] group group1
[*HUAWEI-tcam-acl-template1-group-group1]

service

Function

The service command binds a TCAM ACL customization group to a service.

The undo service command unbinds a TCAM ACL customization group from a service.

By default, no TCAM ACL customization group is bound to a service.

Format

service service-name group group-name

undo service service-name

Parameters

Parameter

Description

Value

service-name

Specifies a service name.

This parameter has enumerated values. Select one from the displayed values.

group group-name

Specifies the name of a TCAM ACL customization group.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a-z or A-Z.

The value must be the name of an existing TCAM ACL customization group.

Views

TCAM ACL customization profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a TCAM ACL customization group is configured, run the service service-name group group-name command to bind the TCAM ACL customization group to a service.

Prerequisites

A TCAM ACL customization group has been configured using the group (TCAM ACL customization profile view) command.

Precautions

  • A maximum of 16 TCAM ACL customization groups can be configured in a TCAM ACL customization profile.

  • A service can be bound to only one TCAM ACL customization group.

Example

# Bind theTCAM ACL customization group group1 to the storm control service.

<HUAWEI> system-view
[~HUAWEI] system tcam acl template GROUP
[*HUAWEI-tcam-acl-GROUP] group group1
[*HUAWEI-tcam-acl-GROUP-group-group1] quit
[*HUAWEI-tcam-acl-GROUP] service storm-control group group1

system tcam acl

Function

The system tcam acl command enables TCAM ACL customization.

The undo system tcam acl command disables TCAM ACL customization.

By default, TCAM ACL customization is disabled.

Format

system tcam acl

undo system tcam acl

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To use TCAM ACL customization, run the system tcam acl command to enable TCAM ACL customization.

Example

# Enable TCAM ACL customization.

<HUAWEI> system-view
[~HUAWEI] system tcam acl
Warning: Enabling the TCAM ACL will cause ACL resources to be replanned. Incorrectly using these commands will cause some services to 
be unavailable. Therefore, use these commands with the guidance of Huawei engineers. Continue? [Y/N]:

system tcam acl template

Function

The system tcam acl template command creates a TCAM ACL customization profile and displays its view, or directly displays the view of an existing TCAM ACL customization profile.

The undo system tcam acl template command deletes a TCAM ACL customization profile.

By default, no TCAM ACL customization profile is created.

Format

system tcam acl template template-name

undo system tcam acl template template-name

Parameters

Parameter

Description

Value

template-name

Specifies the name of a TCAM ACL customization profile.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a-z or A-Z.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before using TCAM ACL customization, run the system tcam acl template command to create a TCAM ACL customization profile.

Prerequisites

TCAM ACL customization has been enabled using the system tcam acl command.

Precautions

The device supports a maximum of 16 TCAM ACL customization profiles.

Example

# Create a TCAM ACL customization profile named GROUP.

<HUAWEI> system-view
[~HUAWEI] system tcam acl template GROUP
[*HUAWEI-tcam-acl-GROUP]

system tcam acl template { slot | all }

Function

The system tcam acl template { slot | all } command applies a TCAM ACL customization profile to a specified LPU or all LPUs.

The undo system tcam acl template { slot | all } command deletes a TCAM ACL customization profile from a specified LPU or all LPUs.

By default, no TCAM ACL customization profile is applied to an LPU.

Format

system tcam acl template template-name { slot slot-id | all }

undo system tcam acl template template-name { slot slot-id | all }

Parameters

Parameter

Description

Value

template-name

Specifies the name of a TCAM ACL customization profile.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value must start with a-z or A-Z.

The value must be the name of an existing TCAM ACL customization profile.

slot slot-id

Specifies the device whereTCAM ACL customization profile is applied. slot-id specifies the stack ID of the device.

The value is an integer. You can enter a question mark ? and select a value from the displayed value range.

all

Indicates all slots.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To implement TCAM ACL customization, you must run the system tcam acl template template-name { slot slot-id | all } command to apply a TCAM ACL customization profile to an LPU.

Precautions

If the TCAM ACL customization profile has been enabled, the configuration in the profile cannot be modified.

Example

# Apply a TCAM ACL customization profile to a specified LPU or all LPUs.

<HUAWEI> system-view
[~HUAWEI] system tcam acl template GROUP
[*HUAWEI-tcam-acl-GROUP] quit
[*HUAWEI] system tcam acl template GROUP all
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 43588

Downloads: 330

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next