DAR Configuration
Examples
To do...
Clear DAR protocol statistics information
Clear cache information of all session connections
Configuration requirement
Router connects with IP 1 and IP 2 networks respectively via the interface
■
Ethernet1/0 and interface Ethernet1/1.
Match BT packets originated from IP 1 network on the interface Ethernet 1/0
■
of the Router.
Perform statistics for packets transmitted and received on the interface
■
Ethernet1/0 on the Router.
Network diagram
Figure 485 Network diagram of DAR configuration
Eth1/0
IP-1
Configuration procedure
# Configure BT packet matching rules.
<Router> system-view
[Router] traffic classifier classsample
[Router-classifier-classsample] if-match protocol bittorrent
[Router-classifier-classsample] quit
# Apply the BT matching rules to a policy.
[Router] qos policy policysample
[Router-qospolicy-policysample] classifier classsample behavior 1
[Router-qospolicy-policysample] quit
# Apply the policy including BT matching rules to the inbound direction of the
interface Ethernet1/0.
[Router] interface Ethernet1/0
[Router-Ethernet1/0] qos apply policy policysample inbound
# Configure traffic statistics on the interface Ethernet1/0 to display the number of
protocol packets, byte number and rate transmitted and received on this interface.
[Router-Ethernet1/0] dar protocol-statistic
Router
Eth1/1
DAR Configuration Examples
Use the command...
reset dar protocol-statistic
{ { protocol protocol-name |
interface interface-type
interface-number } * | all }
reset dar session
IP-2
1707
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers