3com MSR 20-20 참조 매뉴얼
1872
C
HAPTER
124: DAR C
ONFIGURATION
C
OMMANDS
<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 }* ]
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.
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.
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.
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
1 4 5 6 10 64
reset dar protocol-statistic
Syntax
reset dar protocol-statistic { { protocol protocol-name | interface interface-type
interface-number } * | all }
interface-number } * | all }