Context
By default, IP unicast protocol packets generated by the AR150/200 are scheduled first and can
preempt all the bandwidth.
You can change the priority of IP unicast protocol packets generated by the AR150/200 to
implement proper bandwidth allocation.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ip soft-forward enhance enable
The enhanced IP forwarding function is enabled on the AR150/200.
Step 3 Run:
set priority
The DSCP priority of IP unicast protocol packets is set.
----End
7.3.8 Checking the Configuration
After optimizing IP performance, you can view the IP performance configuration.
Procedure
l Run the display udp statistics command to check the UDP traffic statistics.
l Run the display ip interface [ interface-type interface-number ] or display ip interface
brief [ interface-type interface-number ] command to check information about the
interface.
l Run the display ip statistics command to check the IP traffic statistics.
l Run the display icmp statistics command to check the ICMP traffic statistics.
l Run the display ip socket [ monitor ] [ task-id task-id socket-id socket-id | socket-type
socket-type ] command to check the IP socket information.
----End
Example
# Run the display udp statistics command, and you can view the UDP traffic statistics.
<Huawei> display udp statistics
Received packets:
Total: 13228
Total(64bit high-capacity counter): 13228
checksum error: 0
shorter than header: 0, data length larger than packet: 0
unicast(no socket on port): 0
broadcast/multicast(no socket on port): 954
not delivered, input socket full: 0
input packets missing pcb cache: 0
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 7 IP Performance Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
179