Инструкция для D-LINK DWS-3024

(скачивание инструкции бесплатно)
Формат файла: PDF
Доступность: Бесплатно как и все руководства на сайте. Без регистрации и SMS.
Дополнительно: Чтение инструкции онлайн
background image

150

© 2001- 2011 D-Link Corporation. All Rights Reserved.

Configuration Guide

queue attribute. It is presumed that the switch will forward this traffic to interface 0/5 
based on a normal destination address lookup for internet traffic.

interface 0/5
 cos-queue min-bandwidth 0 25 25 25 25 0 0 0
exit
exit

Adding Color-Aware Policing Attribute

Policing in the DiffServ feature uses either “color blind” or “color aware” mode. Color blind 
mode ignores the coloration (marking) of the incoming packet. Color aware mode takes into 
consideration the current packet marking when determining the policing outcome. An 
auxiliary traffic class is used in conjunction with the policing definition to specify a value for 
one of the DSCP or IP Precedence fields designating the incoming color value to be used as 
the conforming color. 

The following commands show how to add a color aware policing attribute to the finance_dept 
class. 

1. Add a new class to serve as the auxiliary traffic class. The match condition for the class 

must be either IP Precedence or IP DSCP. In this example, the match condition is IP Prece-
dence with a value of 2.

class-map match-all color_class

 

 match ip precedence 2
exit

2. Before adding the color aware mode, you must configure policing for the finance_dept 

class. 

The following commands first configure simple policing with a conforming data rate of 
10000 Kbps, a burst size of 100, a conform action of send, and a violate action of drop. 
After the policing is configured, the color aware attribute is configured. The color-aware 
attribute cannot be configured before policing.

policy-map internet_access
 class finance_dept
   

police-simple 100000 100 conform-action transmit 
violate-action drop

conform-color color_class

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
Оглавление инструкции

Document Outline