EasyManua.ls Logo

Ruijie RG-S2600G-I Series - Page 934

Ruijie RG-S2600G-I Series
1192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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:

Table of Contents

Related product manuals