Alcatel Carrier Internetworking Solutions 6624 Switch User Manual


 
Troubleshooting QoS Example QoS Rules
OmniSwitch Troubleshooting Guide September 2005 page 10-15
Example QoS Rules
See below for the steps to create a rule for blocking an offending MAC address using the CLI on the
OmniSwitch. Please note the rule does not take effect until you use the qos apply CLI command. Any time
you make a change you need to reissue the qos apply command for it to take.
To setup the Rule and have it run:
-> policy condition block_mac source mac 00:02:A5:1E:E3:6C
-> policy action block_mac disposition deny
-> policy rule block_mac condition block_mac action block_mac
-> qos apply
To view QoS policy rules (example of a traffic-shaping rule):
-> show configuration snapshot qos
! QOS :
qos stats interval 30 log level 7 log console
policy condition ip_traffic2 source ip 192.168.10.20
policy action BW maximum bandwidth 40.0M
policy rule flowShape condition ip_traffic2 action BW
qos apply
To disable the Rule:
-> policy rule block_mac disable
-> qos apply
To verify rule is active:
-> show active policy rule
Policy From Prec Enab Inact Refl Log Save Matches
block_mac cli 0 Yes No No No Yes 1
Cnd/Act: block_mac -> block_mac
To delete the rule:
-> no policy rule block_mac
-> qos apply
To delete the whole rule set:
-> no policy rule block_mac
-> no policy condition block_mac
-> no policy action block_mac
-> qos apply
To delete all QoS:
-> qos flush
-> qos apply