Enabling Mac Filtering - ZyXEL Communications Dimension ES-2108 User Manual

Zyxel dimension es-2108: user guide
Hide thumbs Also See for Dimension ES-2108:
Table of Contents

Advertisement

• Create a static route with the destination IP address of 172.21.1.104, subnet mask of
255.255.0.0 and the gateway IP address of 192.168.1.2.
• Assigns a metric value of 2 to the static route and the name "route1" to the static route.
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2
sysname(config)# ip route 172.21.1.104 255.255.0.0 192.168.1.2 metric 2 name
-> route1

32.7 Enabling MAC Filtering

You can create a filter to drop packets based on the MAC address of the source or the
destination.
Syntax:
mac-filter name <name> mac <mac-addr> vlan <vlan-id> drop <src/dst/both>
where
name <name>
mac <mac-addr>
vlan <vlan-id>
drop <src/dst/both>
An example is shown next.
• Create a filtering rule called "filter1" and drop packets coming from and going to MAC
address 00:12:00:12:00:12 on VLAN 1.
sysname(config)# mac-filter name filter 1 mac 00:12:00:12:00:12 vlan 1 drop
both
Chapter 32 Configuration Mode Commands
=
Names the filtering rule.
=
Specifies the MAC address you want to filter.
=
Specifies which VLAN this rule applies to.
=
Selects the behavior of the rule.
• src - drop packets coming from the specified
MAC address
• dst- drop packets going to the specified MAC
address
• both - drop packets coming from or going to the
specified MAC address
ES-2108 Series User's Guide
227

Advertisement

Table of Contents
loading

Table of Contents