R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
140
Wildcard Descri
p
tion
(|)
Matches either the string on the right or the string on the left within the specified range.
For example, "index.(htm|jsp)" is to match both index htm and index jsp.
[ ]
Matches any character specified in the square brackets, or matches a special character,
including *, #, [, (, |, and ). For example, "[0-9]" is to match any number, "[*]" is to
match *, and "[[] is to match [.
Examples
# Define a criterion to match HTTP packets with the host name *.abc.com for class http-class.
<Sysname> system-view
[Sysname] traffic classifier http-class
[Sysname-classifier-http-class] if-match protocol http host *.abc.com
if-match protocol rtp
Use if-match protocol rtp to define an RTP protocol match criterion.
Use undo if-match protocol rtp to delete an RTP protocol match criterion.
Syntax
if-match [ not ] protocol rtp [ payload-type { audio | video | payload-string &<1-16> } * ]
undo if-match [ not ] protocol rtp [ payload-type { audio | video | payload-string&<1-16> } * ]
Default
No RTP protocol match criterion is configured.
Views
Class view
Default command level
2: System level
Parameters
not: Specifies to match packets not conforming to the specified criterion.
payload-type: Matches a payload type.
audio: Matches the audio RTP payload type.
video: Matches the video RTP payload type.
payload-string: Matches a list of RTP payload types. The value range for this argument is 0 to 127. &<1-16>
means that you can specify up to 16 payload types.
Usage guidelines
If no payload type is specified, all the RTP packets are matched.
Examples
# Match RTP video packets for the class rtp-class1.
<Sysname> system-view
[Sysname] traffic classifier rtp-class1
[Sysname-classifier-rtp-class1] if-match protocol rtp payload-type video
# Match RTP packets with the payload type as 0, 1, 4, 5, 6, 10, or 64 for class rtp-class2.










