l2 access-list copy to

Use this command to copy a pre-existing L2 ACL to a new L2 ACL.

Syntax

l2 access-list name copy to name

Parameters

name Specifies a layer 2 access list name.

Defaults

None.

Mode

Configuration command, Global configuration.

Usage

When copying a L2 ACL, the L2 ACL to copy must already exist. When copying a L2 ACL, the access list the original is being copied to must not already exist.

L2 ACL names can be up to 64 characters in length.

Example

This example creates layer 2 access list list2 and copys the layer 2 access list list1 to it:

System(rw-config)->l2 access-list list1 copy to list2
System(rw-config)->