beautypg.com

Cli configuration of classifier and policy rule – ZyXEL Communications ZyXEL Dimension ES-3124-4F User Manual

Page 108

background image

ES-3100 Series Switch Support Notes


All contents copyright (c) 2006 ZyXEL Communications Corporation.

108

CLI configuration of classifier and policy rule.

Please logon to the Switch by either telnet, SSH or Console.
Step into the configuration mode and put the follow commands:

Classifier 1
Switch(config)#

classifier

AllPort2

source-port

2


Classifier 2
Switch(config)#

classifier

ARP

ethernet-type

arp

source-port

2


Classifier 3
Switch(config)#

classifier

Port+IP

ethernet-type

ip

source-port

2

source-ip

172.23.3.120

mask-bits

32


Policy rule on classifier 1
Switch(config)#

policy

AllowARP

classifier

ARP

vlan

1

egress-port

1

priority

0

dscp

0

tos

0

bandwidth

0

outgoing-packet-format

tagged

out-of-profile-dscp

0

forward-action

forward


Policy rule on classifier 2
Switch(config)#

policy

AllowPort2IP120

classifier

Port+IP

vlan

1

egress-port

1

priority

0

dscp

0

tos

0

bandwidth

0

outgoing-packet-format

tagged

out-of-profile-dscp

0

forward-action

forward


Policy rule on classifier 3
Switch(config)#

policy

DropAllPort2

classifier

AllPort2

vlan

1

egress-port

1

priority

0

dscp

0

tos

0

bandwidth

0

outgoing-packet-format

tagged

out-of-profile-dscp

0

forward-action

drop