1870
C
124: DAR C
HAPTER
if-match protocol
Syntax
View
Parameters
Description
Examples
C
ONFIGURATION
OMMANDS
Table 497 Description on the fields of the display dar protocol-statistic command
Field
Packet Count
Byte Count
Bit Rate in 5 min(bps)
Max Bit Rate in 5 min(bps)
if-match [ not ] protocol protocol-name
undo if-match [ not ] protocol protocol-name
Class view
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.
Use the
if-match protocol
Use the
undo if-match protocol
By default, no matching rule is configured.
# 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
Description
Packet number
Byte number
Bit rate within 5 minutes, in bps
Maximum bit rate within 5 minutes, in bps
command to define protocol matching rules.
command to delete the rules.