DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
501
The
set dscp
command will not affect the CoS queue selection. The
set cos-queue
command will
not alter the CoS field of the outgoing packet. The user can use the
police
command and the
set
command for the same class. The
set
command will be applied to all colors of packets.
Example
This example shows how the policy map policy1 is configured with the policy for the class1 class. The
packets that are included in the class1 class will be set to a DSCP of 10 and policed by a single rate
policer with a committed rate of 1Mbps.
Switch# configure terminal
Switch(config)# policy-map policy1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# set ip dscp 10
Switch(config-pmap-c)# police 1000 2000 exceed-action set-dscp-transmit 10
Switch(config-pmap-c)# exit
Switch(config-pmap)#
56-22
show class-map
This command is used to display the class map configuration.
show class-map [
NAME
]
Parameters
NAME
(Optional) Specifies the name of the class map. The class map
name can be a maximum of 32 alphanumeric characters.
Default
None.
Command Mode
EXEC Mode or Any Configuration Mode.
Command Default Level
Level: 1.
Usage Guideline
Use this command to display all class maps and their matching criteria.
Example
This example shows how two class maps are defined. Packets that match the access list
“acl_home_user” belong to the class “c3”, IP packets belong to the class “c2”.
Switch# show class-map
Class Map match-any class-default
Match any
Class Map match-all c2
Match protocol ip
Class Map match-all c3
Match access-group acl_home_user
Switch#
Содержание DGS-1510 Series
Страница 1: ...1 0 ...
Страница 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Страница 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Страница 315: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 312 VLAN The VLAN number of the client interface ...
Страница 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Страница 450: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 447 Auth Delay Authentication Delay ...
Страница 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Страница 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...