Copying an ACL
You can create an ACL by copying an existing ACL (source ACL). The new ACL (destination ACL) has the same properties and content as the source ACL, but uses a different number or name than the source ACL.
To successfully copy an ACL, make sure:
The destination ACL is from the same type as the source ACL.
The source ACL already exists, but the destination ACL does not.
To copy an ACL:
Step | Command |
---|---|
1. Enter system view. | system-view |
2. Copy an existing ACL to create a new ACL. | acl [ ipv6 | mac ] copy { source-acl-number | name source-acl-name } to { dest-acl-number | name dest-acl-name } |