Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-37
2.5.22 if-match protocol
Syntax
if-match [ not ] protocol protocol-name
undo if-match [ not ] protocol protocol-name
View
protocol-name Protocol name. IP is used.
Parameter
Class view
Description
Use the if-match protocol command to define protocol match rule.
Use the undo if-match protocol command to delete protocol match rule.
Related command: traffic classifier.
Example
# Define the packet whose class match protocol is IP.
[3Com ] traffic classifier class1
[3Com -classifier-class1] if-match protocol ip
2.5.23 if-match rtp
Syntax
if-match [ not ] rtp start-port starting-port-number end-port end-port-number
undo if-match [ not ] rtp start-port starting-port-number end-port end-port-number
View
Class view
Parameter
starting-port-number: Starting RTP port number, in the range of 2000 to 65535.
end-port-number: Ending RTP port numbers, in the range of 2000 to 65535.
Description
Use the if-match rtp command to define port match rule of RTP.
Use the undo if-match rtp command to delete the port match rule of RTP.
This command can match RTP packets in the range of specified RTP port number, i.e.,
to match packets of even UDP port numbers between <starting-port-number> and <