CLI Reference Guide
ACL Configuration Commands
Usage Guide
Use the
show access-lists
command to display the ACL configurations
.
Configuration
Examples
Create an extended MAC ACL
:
Ruijie(config)# mac access-list extended mac-acl
Ruijie(config-mac-nacl)# show access-lists mac access-list extended mac-acl
Create an extended ACL:
Ruijie(config)# mac access-list extended 704
Ruijie(config-mac-nacl)# show access-lists mac access-list extended 704
Related
Commands
Command
Description
show access-lists
Show the ACLs
Platform
Description
The mac ACL is not supported by routers.
mac access-list counter
Use this command to enable the packet matching counter for all ACEs under the extended MAC ACL.
Use the
no
form of this command to disable the function.
mac access-list counter
{
id
|
name
}
no mac access-list counter
{
id
|
name
}
Parameter
Description
Parameter
Description
id
It indicates the number of the MAC ACL, which ranges from 700 to
799.
name
It indicates the name of the MAC ACL.
Defaults
No MAC ACL is configured.
Command
mode
Global configuration mode
Usage Guide
Use the
show access-lists
command to view the configuration of this command.
Configuration
Examples
Example 1 enables the ACE packet matching counter of the extended MAC ACL:
Ruijie(config)# mac access-list extended mac-acl
Ruijie(config-mac-nacl)# show access-lists
mac access-list extended mac-acl
10 permit host 0023.56ac.8965 any (170 matches)
20 deny any any etype-any cos 6 (239 matches)
Example 2 disables the ACE packet matching counter of the extended MAC ACL:
Summary of Contents for RG-S2600G-I Series
Page 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Page 5: ...5...
Page 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Page 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Page 642: ...CLI Reference TACACS Configuration Commands host...
Page 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Page 776: ...CLI Reference ND Snooping Configuration Commands...
Page 901: ...CLI Reference NFPP Configuration Commands...
Page 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Page 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Page 1005: ...CLI Reference DLDP Configuration Commands...
Page 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Page 1192: ...CLI Reference Guide...