
119
1.
Define a class-map so that all traffic will be in the set of traffic “cos-any”.
(QCT) (Config)#class-map match-all cos-any ipv4
(QCT) (Config-classmap)#match any
(QCT) (Config-classmap)#exit
2.
Define a class-map such that all traffic with a Cos value of 1 will be in the set of traffic “cos1”. This will be
used as a conform-color class map. Conform-color class maps must be one of CoS, secondary CoS, DSCP, or IP
precedence.
(QCT) (Config)#class-map match-all cos1 ipv4
(QCT) (Config-classmap)#match cos 1
(QCT) (Config-classmap)#exit
3.
Define a class-map such that all IPv4 traffic with a CoS value of 0 will be in the set of traffic “cos0”. This
will be used as a conform-color class map. Conform-color class maps must be one of CoS, secondary CoS,
DSCP, or IP precedence.
(QCT) (Config)#class-map match-all cos0 ipv4
(QCT) (Config-classmap)#match cos 0
(QCT) (Config-classmap)#exit
4.
Define a class-map such that all TCP will be in the set of traffic “TCP”. This will be used as a base color class
for metering traffic.
(QCT) (Config)#class-map match-all tcp ipv4
(QCT) (Config-classmap)#match protocol tcp
(QCT) (Config-classmap)#exit
5.
Define a policy-map to include packets matching class “cos-any” (IPv4). Ingress IPv4 traffic arriving at a
port participating in this policy will be assigned red or green coloring based on the metering.
(QCT) (Config)#policy-map simple-policy in
(QCT) (Config-policy-map)#class cos-any
6.
Create a simple policer in color blind mode. Packets below the committed information rate (CIR) or
committed burst size (CBS) are assigned drop precedence “green”. Packets that exceed the CIR (in Kbps) or
CBS (in Kbytes) are colored “red”. Both the conform and violate actions are set to transmit as WRED is used
to drop packets when congested.
Содержание QuantaMesh QNOS5
Страница 1: ...QuantaMesh Ethernet Switch Configuration Guide QNOS5 NOS Platform ...
Страница 209: ...209 Table 7 8 IPv6 Neighbor Discovery Settings ...
Страница 226: ...226 Table 8 2 L3 Multicast Defaults ...
Страница 254: ...254 Appendix A Term and Acronyms Table 9 5 Terms and Acronyms ...
Страница 255: ...255 Table 9 6 Terms and Acronyms Cont ...
Страница 256: ...256 Table 9 7 Terms and Acronyms Cont ...