Command Reference ACL Commands
this acl is to filter the host 192.168.4.12
Ruijie(config-ext-nacl)#
Related
Commands
Command Description
show access-lists
Show the ACLs.
ip access-list
Define the IP ACL.
Platform
Description
N/A
mac access-group
Use this command to apply the specified MAC ACL on the specified interface. Use the no form of the
command to remove the application.
mac access-group {id | name}{in | out}
no mac access-group {id | name} {in | out}
Parameter
Description
Parameter Description
id
ID of the MAC ACL (700 to 799)
name
Name of the MAC ACL
in
Filter the incoming packets of the interface
out
Filter the outgoing packets of the interface
Defaults
No ACL is applied on the interface.
Command
mode
Interface configuration mode.
Usage Guide You can use the show running-config command to show the configuration result.
Configuration
Examples
The following example shows how to apply the access-list accept_00d0f8xxxxxx only to Gigabit
interface 1:
Ruijie(config)#interface GigaEthernet 1/1
Ruijie(config-if)#mac access-group
accept__00d0f8xxxxxx_only in
Related
Commands
Command Description
show access-group
Show the ACL configuration.
Platform
The mac ACL is not supported by routers.