ES4710BD 10 Slots L2/L3/L4 Chassis Switch

Parameters: < class-map-name>is the class map name used by the class.

Default: No policy class is configured by default.

Command mode: Policy map configuration Mode

Usage Guide: Before setting up a policy class, a policy map should be created and the policy map mode entered. In the policy map mode, classification and policy configuration can be performed on packet traffic classified by class map.

Example: Entering a policy class mode. Switch(Config)#policy-map p1 Switch(Config-PolicyMap)#class c1 Switch(Config--Policy-Class)#exit

16.2.2.6set

Command: set {ip dscp <new-dscp> ip precedence <new-precedence>} no set {ip dscp ip precedence}

Function: Assigns a new DSCP and IP precedence value for the classified traffic; the “no set {ip dscp <new-dscp> ip precedence <new-precedence>} command cancels the newly assigned value.

Parameters: <new-dscp>is the new DSCP value; <new-precedence>is the new IP precedence value.

Default: No value is assigned by default.

Command mode: Policy class map configuration Mode

Usage Guide: Only traffic satisfying the matching criterion and those classified will be assigned new values.

Example: Setting the IP Precedence value of packets satisfying c1 class rule to 3. Switch(Config)#policy-map p1

Switch(Config-PolicyMap)#class c1 Switch(Config--Policy-Class)#set ip precedence 3 Switch(Config--Policy-Class)#exit Switch(Config-PolicyMap)#exit

16.2.2.7police

Command: police <rate-kbps><burst-kbyte>[exceed-action {drop policed-dscp-transmit}] no police <rate-kbps><burst-kbyte>[exceed-action {drop policed-dscp-transmit}]

Function: Configures a policy to a classified traffic; the “no police <rate-kbps><burst-kbyte>[exceed-action {drop policed-dscp-transmit}] command deletes the specified policy.

Parameters: <rate-kbps>is the average baud rate (kb/s) of classified traffic, ranging from 1,000 to 10,000,000; exceed-action drop means drop packets when specified speed is exceeded; exceed-actionpoliced-dscp-transmitspecifies to mark down packet DSCP value

342

Page 343
Image 343
Accton Technology ES4710BD manual 16.2.2.6 set, Police