
User Manual
UMN:CLI
V5824G
185
7.12
MAC Filtering
It is possible to forward frame to MAC address of destination. Without specific
performance degradation, maximum 4096 MAC addresses can be registered.
7.12.1
Default MAC Filter Policy
The basic policy of filtering based on system is set to allow all packets for each port.
However, the basic policy can be changed for user
’s requests.
After configuring basic policy of filtering for all packets, use the following command.
Command
Mode
Description
mac-filter default-policy
{
deny
|
permit
}
PORTS
Bridge
Configures basic policy of MAC Filtering in specified
port.
By default, basic filtering policy provided by system is configured to permit all packets in
each port.
Sample Configuration
This is an example of blocking all packets in port 6 to 7 and port 8.
SWTICH(bridge)#
mac-filter default-policy deny
6-8
SWTICH(bridge)#
show mac-filter default-policy
-------------------------
PORT POLICY | PORT POLICY
------------+------------
1 PERMIT | 2 PERMIT
3 PERMIT | 4 PERMIT
5 PERMIT | 6 DENY
7 DENY | 8 DENY
9 PERMIT | 10 PERMIT
11 PERMIT | 12 PERMIT
13 PERMIT | 14 PERMIT
15 PERMIT | 16 PERMIT
17 PERMIT | 18 PERMIT
SWTICH(bridge)#
7.12.2
Configuring MAC Filter Policy
You can add the policy to block or to allow some packets of specific address after
configuring the basic policy of MAC Filtering. To add this policy, use the following
commands in
Bridge Configuration
mode.
Command
Mode
Description
mac-filter add
MAC-ADDR
{
deny
|
permit
} [<1-4094>] [
PORTS
]
Bridge
Allows or blocks packet which brings a specified MAC
address to specified port.
i