R2511-HP MSR Router Series Layer 3 - IP Services Command Reference(V5)

339
Views
Interface view
Default command level
2: System level
Parameters
bandwidth: Specifies the bandwidth of the interface for load sharing, in Kbps. The value range for this
argument is 0 to 1000000.
Examples
# Configure the bandwidth of the interface for load sharing.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname–Ethernet1/1] load-bandwidth 100
reset load-sharing statistics
Use reset load-sharing statistics ip address to clear the load sharing statistics of all the outbound
interfaces corresponding to an IP address.
Use reset load-sharing statistics all to clear all load sharing statistics.
Syntax
reset load-sharing statistics ip address ip-address { mask | mask-length }
reset load-sharing statistics all
Views
User view
Default command level
1: Monitor level
Parameters
ip-address: Specifies a destination IP address in dotted decimal notation.
mask: Specifies an IP address mask in dotted decimal notation.
mask-length: Specifies the IP address mask length in the range of 0 to 32.
Examples
# Display the statistics of bandwidth-based load sharing for IP address 10.2.1.0/24.
<Sysname> display load-sharing ip address 10.2.1.0 24
There are/is totally 3 route entry(s) to the same destination network.
Nexthop Packet(s) Bandwidth[KB] Flow(s) Interface
10.1.1.2 763851 100000 0 Ethernet1/1
10.1.2.2 1193501 155000 0 Atm1/0
10.1.3.2 15914 2048 0 Serial2/0
# Clear the statistics of bandwidth-based load sharing, and then display the statistics of
bandwidth-based load sharing.
<Sysname> reset load-sharing statistics ip address 10.2.1.0 24
<Sysname> display load-sharing ip address 10.2.1.0 24