R3102-R3103-HP 6600/HSR6600 Routers ACL and QoS Configuration Guide

99
Configuring a P2P protocol group
You can configure a P2P protocol group to include multiple P2P protocols. By referencing this P2P
protocol group in a traffic class, you assign traffic of these P2P protocols to the class and implement the
same QoS policy.
To configure a P2P protocol group:
Ste
Command Remarks
1. Enter system view.
system-view N/A
2. Create a P2P
protocol group
and enter protocol
group view.
dar protocol-group group-id By default, no protocol group exists in the system.
3. Assign a protocol
to the protocol
group.
protocol protocol-name By default, a protocol group contains no protocol.
Enabling P2P traffic recognition
P2P traffic recognition is system resource demanding. It is disabled by default to avoid impacts on other
modules.
To enable DAR for traffic recognition:
Ste
Command Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 3
Ethernet interface
view.
interface interface-type interface-number N/A
3. Enable P2P traffic
recognition.
dar enable
By default, P2P traffic recognition
is disabled.
Configuring protocol match criteria
To apply QoS policies to data streams to set packet priority or allocate bandwidth for example, use DAR
to classify the data streams first.
To configure protocol match criteria:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter class view.
traffic classifier classifier-name
[ operator { and | or } ]
N/A
3. Configure the
match criterion for
a protocol group.
if-match [ not ] protocol protocol
group-id
Optional.
By default, no match criterion is configured
for a protocol group.