3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1870 CHAPTER 124: DAR CONFIGURATION COMMANDS
if-match protocol
Syntax if-match [ not ] protocol protocol-name
undo if-match [ not ] protocol protocol-name
View Class view
Parameters not: Specifies the current rule to not to match the specified matching rule.
protocol-name: Name of matching protocols, in the range bgp, bittorrent, citrix,
cuseeme, dhcp, dns, edonkey, egp, eigrp, exchange, fasttrack, finger, ftp,
gnutella, gopher, gre, h323, icmp, igmp, imap, ip, ipinip, ipsec, ipv6, irc,
kerberos, l2tp, ldap, mgcp, napster, netbios, netshow, nfs, nntp, notes,
novadign, ntp, pcanywhere, pop3, pptp, printer, rcmd, rip, rsvp, rtcp,
rtsp,
secure-ftp, secure-http, secure-imap, secure-irc, secure-ldap, secure-nntp,
secure-pop3, secure-telnet, sip, skinny, smtp, snmp, socks, sqlnet,
sqlserver, ssh, streamwork, sunrpc , syslog, telnet, tftp, vdolive, winmx,
xwindows, unknown-tcp, unknown-udp, unknown-others,
user-defined01, user-defined02, ..., user-defined10 ( the new names will apply
if the protocols user-defined01 to user-defined10 are renamed), in which
unknown-tcp indicates the irrecognizable TCP packet, unknown-udp indicates
the irrecognizable UDP packet, and unknown-others indicates other
irrecognizable IP packets. The user-defined01, user-defined02, ...,
user-defined10 are user-defined protocol packets, whose port numbers are
invalid before the dar protocol command is executed.
Description Use the
if-match protocol command to define protocol matching rules.
Use the
undo if-match protocol command to delete the rules.
By default, no matching rule is configured.
Examples # Define smtp-class and configure the matching rule to match the SMTP protocol.
<Sysname> system-view
[Sysname] traffic classifier smtp-class
[Sysname-classifier-smtp-class] if-match protocol smtp
Packet Count Packet number
Byte Count Byte number
Bit Rate in 5 min(bps) Bit rate within 5 minutes, in bps
Max Bit Rate in 5 min(bps) Maximum bit rate within 5 minutes, in bps
Table 497 Description on the fields of the display dar protocol-statistic command
Field Description