3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1864 CHAPTER 124: DAR CONFIGURATION COMMANDS
Description Use the dar protocol command to configure the port number of DAR application
protocol.
Use the
undo dar protocol command to restore the port number to default
value.
By default, port number is specified for the protocols except for the ten
user-defined protocols, RTP and RTCP.
Examples # Set the port number of RTP protocol to 36000, 36001, or 40000 to 40999.
<Sysname> system-view
[Sysname] dar protocol rtp udp port 36000 36001 range 40000 40999
dar protocol-rename
Syntax dar protocol-rename old-name user-defined-name
undo dar protocol-rename user-defined-name
View System view
Parameters old-name: Initial name of the user-defined protocol, which are user-defined01,
user-defined02, ..., user-defined10.
user-defined-name: New name of the user-defined protocol, in the length of 1 to
14 characters. The new name cannot be the same with any existing name, and
cannot be all, total, tcp, udp, ip or user-defined01, user-defined02, ...,
user-defined10.
Description Use the
dar protocol-rename command to rename the user-defined protocol.
Use the undo dar protocol-rename command to restore the default name.
By default, the names of the user-defined protocols are user-defined01,
user-defined02, ..., user-defined10.
Examples # Rename the user-defined01 protocol to hello.
<Sysname> system-view
[Sysname] dar protocol-rename user-defined01 hello
# Restore the default name of the user-defined01 protocol.
<Sysname> system-view
[Sysname] undo dar protocol-rename hello
dar protocol-statistic
Syntax dar protocol-statistic [ flow-interval time ]