R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
127
and RTCP. After the limitation is reached, DAR marks all incoming packets of these applications as
unrecognizable. For the packets of other TCP/UDP protocols, DAR continues to perform packet
recognition.
Examples
# Set the maximum number of sessions that DAR can recognize to 1000.
<Sysname> system-view
[Sysname] dar max-session-count 1000
dar p2p signature-file
Use dar p2p signature-file to load the specified P2P signature file.
Use undo dar p2p signature-file to unload the specified P2P signature file.
Syntax
dar p2p signature-file filename
undo dar p2p signature-file
Default
No P2P signature file exists in the system.
Views
System view
Default command level
2: System level
Parameters
filename: P2P signature file name, which must be suffixed with .mtd.
Usage guidelines
Place the signature file in the root directory. The system can load a signature file only from the root
directory.
Examples
# Load the P2P signature file p2p.mtd.
<Sysname> system-view
[Sysname] dar p2p signature-file flash:/p2p.mtd
dar protocol
Use dar protocol to specify port numbers for an application protocol in DAR.
Use undo dar protocol to restore the default for a protocol.
Syntax
dar protocol protocol-name { tcp | udp } port { port-value&<1-16> | range port-min port-max } *
undo dar protocol protocol-name { tcp | udp } port
Default
No port numbers are defined for the ten user-defined protocols, RTP, and RTCP. The default port numbers
of other protocols are listed in Table 37.










