Configuring SIP Snooping SIP Snooping Use Case
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 14-13
SIP Condition
In this example, specific QoS treatments are configured based on the source IP subnet.
• Voice source IP subnet 10.10.0.0 = DSCP 56
• Video source IP subnet 10.10.0.0=DSCP 32
• Voice source IP subnet 10.20.0.0 = DSCP 46
• Video source IP subnet 10.20.0.0=DSCP 48
The SIP conditions are configured as follows:
-> policy condition Voice_srcip_SIP1 source ip 10.10.0.0 mask 255.255.0.0 sip
audio
-> policy condition Video_srcip_SIP1 source ip 10.10.0.0 mask 255.255.0.0 sip
video
-> policy condition Voice_srcip_SIP2 source ip 10.20.0.0 mask 255.255.0.0 sip
audio
-> policy condition Video_srcip_SIP2 source ip 10.20.0.0 mask 255.255.0.0 sip
video
-> policy action DSCP56 dscp 56
-> policy action DSCP32 dscp 32
-> policy action DSCP46 dscp 46
-> policy action DSCP48 dscp 48
-> policy rule Voice_srcip_SIP1_rule condition Voice_srcip_SIP1 action DSCP56
-> policy rule Video_srcip_SIP1_rule condition Video_srcip_SIP1 action DSCP32
-> policy rule Voice_srcip_SIP2_rule condition Voice_srcip_SIP2 action DSCP46
-> policy rule Video_srcip_SIP2_rule condition Video_srcip_SIP2 action DSCP48
-> qos apply
The active call records can be viewed by using the following command:
-> show sip-snooping call-records active-calls full
Legend: start date time duration media-type end-reason
call-id / from-tag / to-tag
IP address port DSCP (forward/reverse)
policy-rule (F/R)
statistics min / max / avg %samples exceeding threshold (F/R)
--------------------------------------------------------------------------------
2013-11-21 18:39:17(PST) 0d 16h 13m 41s Audio -
6dddf3236f2d564c / d1fc26f8da / 0061D0A0-7C50-1200-83AF-F1A3FE87AA77-1439499
IP/DSCP 5.5.5.2 6000 NA/NA 7.7.7.2 6000 NA/NA
Policy-Rule r6 r1
Pkt-Count 2920807 2920807
Pkt-Loss 0 0 0.00 0% 0 0 0.00 0%
Jitter 1 198714 17.34 0% 1 49 0.32 0%
Delay 9 29 16.44 0% 9 29 16.44 0%
R-factor 35 96 35.42 99% 30 96 32.00 99%
MOS 1.00 4.00 1.80 99% 1.00 4.00 1.60 99%
-----------------------------------------------------------------------------------
Number of Call Records: 1