EasyManua.ls Logo

D-Link DGS-1510 Series - Page 504

D-Link DGS-1510 Series
711 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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#

Table of Contents

Other manuals for D-Link DGS-1510 Series

Related product manuals