Configuration Guide
Access
Control List Configuration
Source MAC address
Destination MAC address
Ethernet protocol type
Time-range
The MAC extended access list (number 700
– 799) forwards or blocks the packets based on the
source and destination MAC addresses, and can also match the Ethernet protocol type.
A single MAC access list can use multiple separate access list sentences to define multiple rules.
Where, all sentences use a same number or name to bind these sentences to a same access list.
Configuring Extended MAC Address-based Access Control List
The configuration of an MAC access list includes the following steps:
1. Define an MAC access list
2. Apply the access list to a specific interface
There are two methods to configure an MAC access list.
Method 1: Run the following command in the global configuration mode:
Command
Function
Ruijie(config)#
access-list
id {
deny
|
permit
}{
any
|
host
src-mac-addr
} {
any
|
host
dst-mac-addr} [
ethernet-type
] [
cos
cos
]
Define an access list. For details about
commands, please see command
reference.
Ruijie(config)#
interface
interface
Select the interface to which the access list
is to be applied.
Ruijie(config-if)#
mac
access-group
id
{
in
|
out
}
Apply the access list to the specific
interface
Method 2: Run the following command in the ACL configuration mode:
Command
Function
Ruijie(config)#
mac
access-list extended
{
id
| name
}
Enter the access list configuration mode
Ruijie (config-mac-nacl)# [sn] {
permit
|
deny
}{
any
|
host
src-mac-addr
} {
any
|
host
dst-mac-addr
} [
ethernet-type
] [
cos
cos
]
Add table entries for ACL. For details about
commands, please see command
reference.
Ruijie(config-mac-nacl)#
exit
Ruijie(config)#
interface
interface
Exit from the access control list mode and
select the interface to which the access list
is to be applied.
Ruijie(config-if)#
mac
access-group
{
id
|
name
} {
in
|
out
}
Apply the access list to the specific
interface
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...