Rule (Mac Filter) - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

B
C
RIDGING
OMMANDS
(MAC F
)
RULE
ILTER

rule (MAC Filter)

Syntax
This command adds a filter rule to a mac-filter. You can also add further rules to
rules that you have already specified.
Use the no variant of this command to remove a rule.
Syntax
rule <rule-name> {deny|permit} [dmac {<MAC>|any}] [smac
{<MAC>|any}] [proto {<rule-name>|any}] [{after|before} rule
<rule-name>]
no rule <rule-name>
Default
No rule
Mode
MAC Filter Mode
Examples
To add a rule called PC1 to a mac-filter-group called ATL-router1,use the following
commands:
awplus#configure terminal
awplus(config)#mac-filter ATL-router1
awplus(config-macfilter)#rule PC1 permit dmac any smac
00c4.6d20.c0f4 proto any
To reset a mac-filter back to its default, use the following commands:
awplus#configure terminal
awplus(config)#mac-filter ATL-router1
awplus(config-macfilter)#no rule PC1
C613-50186-01 Rev B
Parameter
<rule-name>
deny
permit
dmac
<MAC>
any
smac
proto
after
before
rule
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Description
The name of the rule (maximum 16 characters).
Drop the matched frame.
Allow the matched frame.
Destination MAC address.
MAC address in HHHH.HHHH.HHHH format.
any MAC address.
Source MAC address.
Ethernet protocol type.
Insert a rule before an existing rule.
Insert a rule after an existing rule.
MAC filter rule.
458

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents