D-Link DAS-3216_revB Software Guide

Page of 69
錯誤!  尚未定義樣式。 
51 
Chapter 10  Managing the System Filter 
This chapter describes the filtering rule in different network layer. 
 
This chapter contains the following sections: 
 
Configuring the MAC Filtering Rule 
Configuring the IP Filtering Rule 
Configuring the TCP Filtering Rule 
Configuring the UDP Filtering Rule 
 
Configuring the MAC Filtering Rule 
The MAC Filter allows you to configure the DAS3series to give exclusive access or exclude access up 
to 100 rules. Every Ethernet device has a unique MAC (Media Access Control) address. The MAC 
address is assigned at the factory and consists of six pairs of hexadecimal characters, you need to 
know the MAC address of the devices to configure this filtering rule. 
 
Table 10-1 
Configuring the MAC Filtering Rule 
Use this command to create the MAC Filtering rule. 
#create filter subrule ether ruleid <ruleid> subruleid <subruleid> [srcmacaddrfrom macadd] [srcmacaddrto 
macadd] [dstmacaddrfrom macadd] [dstmacaddrto macadd] [vlanidfrom vlanid] [vlanidto vlanid] [priotagfrom 
tagid] [priotagto tagid] [srcmacaddrcmp eq | neq | lt | leq | gt | geq | any |inrange | exrange] [dstmacaddrcmp eq | 
neq | lt | leq | gt | geq | any |inrange | exrange
] [vlanidcmp eq | neq | lt | leq | gt | geq | any |inrange | exrange
[priotagcmp 
eq | neq | lt | leq | gt | geq | any |inrange | exrange] [subruleprio low | high | asinrule] 
Use this command to modify the MAC Filtering rule. 
#modify filter subrule ether ruleid <ruleid> subruleid <subruleid> [srcmacaddrfrom macadd] [srcmacaddrto 
macadd] [dstmacaddrfrom macadd] [dstmacaddrto macadd] [vlanidfrom vlanid] [vlanidto vlanid] [priotagfrom 
tagid] [priotagto tagid] [srcmacaddrcmp eq | neq | lt | leq | gt | geq | any |inrange | exrange] [dstmacaddrcmp eq | 
neq | lt | leq | gt | geq | any |inrange | exrange
] [vlanidcmp eq | neq | lt | leq | gt | geq | any |inrange | exrange
[priotagcmp 
eq | neq | lt | leq | gt | geq | any |inrange | exrange] [subruleprio low | high | asinrule] 
Use this command to monitoring the MAC Filtering rule. 
#get filter subrule ether [ruleid ruleid] [subruleid subruleid] 
Use this command to remove the MAC Filtering rule. 
#delete filter subrule ether ruleid <ruleid> subruleid <subruleid> 
Parameters 
Task 
ruleid <ruleid> 
Unique identifier of a filter rule of which this sub rule is being created. 
Recommend values: 1 ~ 100 
subruleid <subruleid> 
Unique identify of a filter subrule. 
Recommend values: 1 ~ 100 
[srcmacaddrfrom macadd
Start source MAC address of the range of source MAC addresses. This field is invalid if 
‘srcmacaddrcmp’ is ‘any’. This field and ‘srcmacaddrto’ specify a range of source MAC addresses if 
‘srcmacaddrcmp’ is either ‘inrange’ or ‘exrange’. 
Default values: 00:00:00:00:00:00 
[srcmacaddrto macadd
End source MAC address of the range of source MAC addresses. This field and ‘srcmacaddrfrom’ 
specify a range of source MAC addresses, if ‘srcmacaddrcmp’ is either ‘inrange’ or ‘exrange’. 
Otherwise this field is invalid. 
Default values: ff:ff:ff:ff:ff:ff 
DAS3series IP-DSLAM 
System Configuration Guide