Руководство пользователя для Zyxel MES3500-10 :: Страница 223 из 364
Service-Instruction.ru
инструкции pdf и руководства пользователя читать онлайн
background image

 Chapter 52 Policy Commands

Ethernet Switch CLI Reference Guide

223

52.2  Command Examples

This example creates a policy (

highPriority

) for the traffic flow identified via classifier 

VLAN3

 (see the classifier example in 

Chapter 11 on page 59

). This policy replaces the IEEE 

802.1 priority field with the IP ToS priority field (value 

7

) for 

VLAN3

 packets.   

 

policy <

name

> classifier 

<

classifier-list

> <[vlan <

vlan-

id

>] [egress-port <

port-num

>] 

[priority <0-7>] [bandwidth 

<

bandwidth

>] [forward-action 

<drop>] [queue-action <prio-

set>] [outgoing-eport] 

[outgoing-set-vlan] [rate-limit 

] [inactive]>

Configures a policy with the specified name.

name

: 32 alphanumeric characters

C

13

Specifies which classifiers this policy applies to.

classifier-list

:  names of classifiers separated by 

commas.

Specifies the parameters related to the actions:

vlan

: a VLAN ID number

egress-port

: an outbound port number

priority

: IEEE 802.1p priority field

bandwidth

: bandwidth limit in Kbps, packets which exceed 

the bandwidth limit are dropped.

Specifies the actions for this policy:
•

queue-action

: tells the Switch to:

- set the IEEE 802.1p priority you specified in the 

priority

 parameter (

prio-set

)

•

outgoing-eport 

- sends the packet to the egress port.

•

outgoing-set-vlan

 - replaces the VLAN ID of the 

packets with the one you configured.

•

rate-limit

 - enables bandwidth limitations on the traffic 

flows.

inactive

 - disables the policy rule.

no policy <

name

>

Deletes the policy.

C

13

no policy <

name

> inactive

Enables a policy.

C

13

Table 123   

policy Command Summary 

COMMAND

DESCRIPTION

M

P

sysname(config)# policy highPriority classifier VLAN3 tos 7 queue-action 

prio-replace-tos

sysname(config)# exit

sysname# show policy highPriority

Policy highPriority:

  Classifiers:

    VLAN3;

  Parameters:

    VLAN = 1; Priority = 0; DSCP = 0; TOS = 7;

    Egress Port = 1; Outgoing packet format = tagged;

    Bandwidth = 0; Out-of-profile DSCP = 0;

  Action:

    Replace the 802.1 priority field with the IP TOS value;

   

Оглавление инструкции

Инструкции для роутеры Zyxel

Популярные инструкции Zyxel