102
Chapter 17 ACL Commands
access-list create
Description
The
access-list create
command is used to create standard-IP ACL and
extend-IP ACL.
Syntax
access-list create
access-list-num
Parameter
access-list-num
——
ACL ID, ranging from 100 to 299. The ID range of
Standard-IP ACL ranges is 100-199 and the Extend-IP ACL is 200-299.
Command Mode
Global Configuration Mode
Example
Create a standard-IP ACL whose ID is 123:
TL-SL2428(config)# access-list create
123
mac access-list
Description
The
mac
access-list
command is used to create MAC ACL. To set the detailed
configurations for a specified MAC ACL, please use
mac access-list
command
to access Mac Access-list Configuration Mode. To delete the MAC ACL, please
use no
mac access-list
.
Syntax
mac access-list
access-list-num
no mac access-list
access-list-num
Parameter
access-list-num
——
ACL ID, ranging from 0 to 99.
Command Mode
Global Configuration Mode
Example
Create a MAC ACL whose ID is 23: