beautypg.com

QTECH QSW-3400 Инструкция по настройке User Manual

Page 200

background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

199

Command

Explanation

Global mode

class-map

no class-map

Create a class-map and enter class-map

mode, the no command deletes the

specified class-map.

match {access-group | ip

dscp | ip precedence

precedence-list>| ipv6 access-group

index-or-name>| ipv6 dscp | ipv6

flowlabel | vlan |

cos | c-vlan }

no match {access-group | ip dscp | ip

precedence|ipv6 access-group| ipv6 dscp |

ipv6 flowlabel | vlan | cos | c-vlan}

Set the match standard of class-map,

(classify

data

flow

by

ACL,

IPv4

Precedent or DSCP, etc for the class

map); the no command deletes the

specified match standard.

2. Configure policy-map of flexible QinQ

Command

Explanation

Global mode

policy-map

no policy-map

Create a policy-map and enter policy-

map mode, the no command deletes

the specified policy-map.

class [insert-before

map-name>]

no class

After a policy-map is created, it can be

associated to a class. Different policy or

new DSCP value can be applied to

different data flows in class mode; the

no command deletes the specified

class-map.

set {s-vid }

no set {s-vid }

Assign the new cos and vid value to the

packets which match the class map, no

command cancels the operation.

3. Bind flexible QinQ policy-map to port

Command

Explanation

Port mode

service-policy in

no service-policy in

Apply a policy-map to a port, the no

command deletes the specified policy-

map applied to the port.