C
OMMAND
L
INE
I
NTERFACE
4-288
• Only one
match
command can be entered per class map.
• The class map uses the Access Control List filtering engine, so you must
also set an ACL mask to enable filtering for the criteria specified in the
match
command. See “mask (IP ACL)” on page 4-123 and “mask
(MAC ACL)” on page 4-133 for information on configuring an
appropriate ACL mask.
Example
This example creates a class map called “rd_class#1,” and sets it to match
packets marked for DSCP service value 3:
This example creates a class map call “rd_class#2,” and sets it to match
packets marked for IP Precedence service value 5:
This example creates a class map call “rd_class#3,” and sets it to match
packets marked for VLAN 1:
Console(config)#class-map rd_class#1_ match-any
Console(config-cmap)#match ip dscp 3
Console(config-cmap)#exit
Console(config)#access-list ip mask-precedence in
Console(config-ip-mask-acl)#mask any any dscp
Console(config-ip-mask-acl)#
Console(config)#class-map rd_class#2 match-any
Console(config-cmap)#match ip precedence 5
Console(config-cmap)#exit
Console(config)#access-list ip mask-precedence in
Console(config-ip-mask-acl)#mask any any precedence
Console(config-ip-mask-acl)#
Console(config)#class-map rd_class#3 match-any
Console(config-cmap)#match vlan 1
Console(config-cmap)#exit
Console(config)#access-list mac mask-precedence in
Console(config-ip-mask-acl)#mask any any vid 1
Console(config-ip-mask-acl)#
Содержание 8724ML3 - annexe 1
Страница 2: ......
Страница 26: ...TABLE OF CONTENTS xxvi ...
Страница 64: ...MANAGING SYSTEM FILES 2 18 ...
Страница 366: ...CONFIGURING THE SWITCH 3 302 Web Click Routing Protocol RIP Statistics Figure 3 132 RIP Statistics ...
Страница 400: ...CONFIGURING THE SWITCH 3 336 ...
Страница 798: ...SOFTWARE SPECIFICATIONS A 6 ...
Страница 802: ...TROUBLESHOOTING B 4 ...
Страница 812: ...GLOSSARY Glossary 10 ...
Страница 818: ...INDEX Index 6 ...
Страница 819: ......