beautypg.com

3 filter, Figure 150 interface command example – ZyXEL Communications ZyXEL Dimension ES-4024 User Manual

Page 238

background image

ES-4024A User’s Guide

Chapter 38 Command Examples

237

where

Use this command to enable/create the specified routing domain for configuration.

An example is shown next.

• Enter the configuration mode.
• Enable default routing domain (the 192.168.1.1 subnet) for configuration.
• Begin configuring for this domain.

Figure 150 interface Command Example

38.7.3 filter

Syntax:

filter classifier

where

This command sets the switch to drop the traffic flow defined by a classifier.

An example is shown next.

• Create a classifier to define all IP traffic in VLAN 1 from port 3 to the destination device

with a MAC address of 00:a0:c5:00:00:01.

• Enable filtering on that traffic flow.

= This is the IP address of the switch in the routing domain. Specify the IP

address is dotted decimal notation. For example, 192.168.1.1.

= The number of bits in the subnet mask. Enter the subnet mask number

preceded with a “/”. To find the bit number, convert the subnet mask to

binary and add all of the 1’s together. Take “255.255.255.0” for

example. 255 converts to eight 1’s in binary. There are three 255’s, so

add three eights together and you get the bit number (24).

ras# config
ras(config)# interface route-domain 192.168.1.1/24
cmd interface route domain
192.168.1.1 255.255.255.0
ras(config-if)#

Specifies the name of the classifier to which this rule applies.