3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1872 CHAPTER 124: DAR CONFIGURATION COMMANDS
<Sysname> system-view
[Sysname] traffic classifier http-class
[Sysname-classifier-http-class] if-match protocol http host *.abc.com
if-match protocol rtp
Syntax if-match [ not ] protocol rtp [ payload-type { audio | video | payload-string } * ]
undo if-match [ not ] protocol rtp [ payload-type { audio | video |
payload-string }* ]
View Class view
Parameters not: Specifies the current rule to not to match the specified matching rule.
payload-type: Matches payload type.
audio: Matches the audio RTP payload type.
video: Matches the video RTP payload type.
payload-string: The payload type matched in the RTP packet, in the range 0 to
127. Up to 16 port numbers can be set for each protocol, which are separated
with spaces.
Description Use the
if-match protocol rtp command to configure RTP matching rules.
Use the
undo if-match protocol rtp command to delete the rules.
If no payload type is specified, it matches all RTP packets.
By default, no RTP matching rule is configured.
Examples # Define the class rtp-class1, and configure the matching rule to be the RTP packet
in the audio payload type.
<Sysname> system-view
[Sysname] traffic classifier rtp-class1
[Sysname-classifier-rtp-class1] if-match protocol rtp payload-type video
# Define the class rtp-class2, and configure the matching rule to be the RTP packet
in the 0, 1, 4, 5, 6, 10, or 64 payload type.
<Sysname> system-view
[Sysname] traffic classifier rtp-class2
[Sysname-classifier-rtp-class2] if-match protocol rtp payload-type 0
14561064
reset dar protocol-statistic
Syntax reset dar protocol-statistic {{protocol protocol-name | interface interface-type
interface-number } * | all }