Generate Aggregate Policer; Set Aggregate Policer (Single Rate) - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

246 | Command Reference | Traffic control
[Example]
Make the following settings for received frames of LAN port #1@
Permit traffic from the 10.1.0.0 network
Categorize bandwidth classes as CIR:48kbps, CBS:12kbyte, and EBS:12kbyte
Green: forward, Yellow: rewrite DSCP value to 10, Red: discard
[Traffic class definition]
SWR2311P(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any
SWR2311P(config)#class-map class1
SWR2311P(config-cmap)#match access-list 1
SWR2311P(config-cmap)#exit
[Policy settings]
SWR2311P(config)#policy-map policy1
SWR2311P(config-pmap)#class class1
SWR2311P(config-pmap-c)#police 48 12 12 yellow-action remark red-action drop
SWR2311P(config-pmap-c)#remark-map yellow ip-dscp 10
SWR2311P(config-pmap-c)#exit
SWR2311P(config-pmap)#exit
SWR2311P(config)#interface port1.1
SWR2311P(config-if)#service-policy input policy1

9.2.29 Generate aggregate policer

[Syntax]
aggregate-police name
no aggregate-police name
[Parameter]
name
[Input mode]
global configuration mode
[Description]
Generates an aggregate policer. If the policer has already been generated, this command edits its content.
When the command succeeds, you transition to aggregate policer mode, where you can edit the content of the aggregate policer.
If this command is executed with the "no" syntax, the aggregate policer is deleted.
In the following case, the content of the aggregate policer cannot be changed (you will not transition to aggregate policer
mode).
A policy map that includes a class map specified by the aggregate policer is applied to the LAN/SFP port.
In the following case, the aggregate policer cannot be deleted.
The police-aggregate command was used to set the aggregate policer to a traffic class
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Generate aggregate policer "AGP-01".
SWR2311P(config)#aggregate-police AGP-01
SWR2311P(config-agg-policer)#

9.2.30 Set aggregate policer (single rate)

[Syntax]
police [single-rate] CIR CBS EBS yellow-action action red-action action
no police
[Keyword]
single-rate
:
Name of aggregate policer (maximum 20 characters; uppercase and lowercase are distinguished)
:
Use single-rate policer

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents