![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/1/8b/18b1e1e7-4363-4706-bb94-6eba3a993996/18b1e1e7-4363-4706-bb94-6eba3a993996-bg745.png)
1861
124
DAR CONFIGURATION COMMANDS
dar max-session-count
Syntax dar max-session-count count
undo dar max-session-count
View System view
Parameters count: The maximum number of connections recognizable by DAR, in the range 0
to 65536. It defaults to 65536.
Description Use the
dar max-session-count command to configure the maximum number
of connections recognizable by DAR.
Use the
undo dar max-session-count command to restore the default value.
When large data volume goes through the device, it often takes too many system
resources to recognize them one by one with DAR, which also impacts working of
other modules. To avoid the case, users can limit the maximum number of
connections that can be recognized by DAR in order to save system resources.
When the connection number exceeds the maximum threshold, DAR will not
recognize it and directly mark it to be unrecognizable.
Examples # Set the maximum number of connections recognizable by DAR to 1000.
<Sysname> system-view
[Sysname] dar max-session-count 1000
dar protocol
Syntax dar protocol protocol-name { tcp | udp } port { port-value | range port-min
port-max } *
undo dar protocol protocol-name { tcp | udp } port
View System view
Parameters protocol-name: Application protocol type. As shown in Table 493, the range can
be all protocols listed in the table, or Bittorrent, RTP, RTCP and ten user-defined