Siemens S223 User Manual

Page of 381
UMN:CLI                                                                                                                                                              User  Manual 
SURPASS hiD 6615 S223/S323 R1.5 
146                                                                         A50010-Y3-C150-2-7619 
7.6.2.7 Displaying 
Rule 
The following command can be used to show a certain rule by its name, all rules of a cer-
tain type, or all rules at once sorted by rule type. 
Command Mode 
Description 
show rule NAME
 
Shows a rule, enter a rule name. 
NAME: rule name 
show
 rule 
Shows all rules sorted by type. 
show rule all 
Shows all rules and admin access rules sorted by type.
show rule statistics 
Enable 
Global 
Shows rule statistics. 
show rule-profile 
Rule 
Shows a current configuration of a rule. 
 
The following is an example of configuring specific rule action on rule profile and showing 
it. 
SWITCH# configure terminal 
SWITCH(config)# rule jean create 
SWITCH(config-rule[jean])# priority low 
SWITCH(config-rule[jean])# match copy-to-cpu 
SWITCH(config-rule[jean])# apply 
SWITCH(config-rule[jean])# exit 
SWITCH(config)# rule jean create 
% Already exist rule 
SWITCH(config)# show rule 
rule jean 
  priority  low 
  port  any  any 
  match  copy-to-cpu 
SWITCH(config)# rule jean modify 
SWITCH(config-rule[jean])no match copy-to-cpu 
SWITCH(config-rule[jean]) show rule 
rule jean 
  priority  low 
  port  any  any 
SWITCH(config-rule[jean]) 
 
7.6.3 QoS 
For hiD 6615 S223/S323, it is possible to use Strict Priority Queuing, Weighted Round 
Robin and Weighted Fair Queuing for a packet scheduling mode. 
The following steps explain how QoS can be configured.