Set Traffic Classification Conditions (Access-List); Set Traffic Classification Conditions (Cos) - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

[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.13 Set traffic classification conditions (access-list)

[Syntax]
match access-list acl-id
match access-list name
no match access-list acl-id
no match access-list name
[Parameter]
name
[Input mode]
class map mode
[Description]
Uses the access list as the conditions to classify the traffic class.
If the received frame matches the conditions in the access list, the action in the access list will be the action (permit, deny) for
the traffic class.
If this is executed with the "no" syntax, the condition settings of the access list are deleted.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Specify access list #1 as the classification conditions for class map "class1."
SWR2311P(config)#class-map class1
SWR2311P(config-cmap)#match access-list 1

9.2.14 Set traffic classification conditions (CoS)

[Syntax]
match cos cos-list
no match cos
[Parameter]
cos-list
[Input mode]
class map mode
:
<1 - 2000>
IPv4 access list ID
:
<2001 - 3000>
MAC access list ID
:
<3001 - 4000>
IPv6 access list ID
:
Access list name
:
<0 - 7>
CoS value used as classification condition. Up to eight can be registered.
Command Reference | Traffic control | 235

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents