No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How Do I Configure Rate Limit by Time Range for Each User in a Network Segment?

How Do I Configure Rate Limit by Time Range for Each User in a Network Segment?

Networking Requirements

In Figure 29-68, Router serves as the egress gateway of the enterprise. The extranet interface GE0/0/1 uses the IP address 10.1.1.110/24; the gateway address of Router is 10.1.1.1. The customer wants to limit the uplink bandwidth to 64 Kbit/s for each user in the network segment 192.168.10.0/24 from 08:00:00 to 18:00:00 on workdays and the downlink bandwidth to 128 Kbit/s within the same time range.

Figure 29-68  Networking diagram for configuring traffic policing

Prerequisites

Basic network configurations have been completed on devices.

Procedure

  1. Configure the time range and name it worktime. Set the valid period of worktime to the period from 08:00:00 to 18:00:00 on workdays.

    <Huawei> system-view
    [Huawei] time-range worktime 8:00 to 18:00 working-day
    

  2. Configure rate limit by time range on VLANIF 10.

    [Huawei] interface vlanif 10
    [Huawei-Vlanif10] qos car inbound source-ip-address range 192.168.10.2 to 192.168.10.254 per-address time-range worktime cir 64
    [Huawei-Vlanif10] qos car outbound destination-ip-address range 192.168.10.2 to 192.168.10.254 per-address time-range worktime cir 128 
    

Precautions

  1. In this example, rate limit is configured on an intranet interface. Typically, rate limit by intranet user or network segment is configured on an intranet interface, and rate limit on the entire intranet is configured on an extranet interface.
  2. Set Direction to Inbound or Outbound based on the direction of the traffic to be limited.
    • On an intranet interface, Inbound indicates traffic passing through the intranet interface to the router. The traffic is sent by a PC to the Internet, so the limited rate is the uplink bandwidth. Similarly, Outbound indicates traffic passing out of the intranet interface of the router. The traffic is sent by the Internet to a PC, so the limited rate is the downlink bandwidth.
    • On an extranet interface, Inbound indicates traffic passing through the extranet interface to the router. The traffic is sent by the Internet to a PC, so the limited rate is the downlink bandwidth. Similarly, Outbound indicates traffic passing out of the extranet interface of the router. The traffic is sent by a PC to the Internet, so the limited rate is the uplink bandwidth.
  3. Select source-ip-address or destination-ip-address based on the direction of the traffic to be limited on the current interface.
    • For uplink traffic sent by a PC to the router, the PC IP address is the source, so select source-ip-address.
    • For downlink traffic sent by the router to a PC, the PC IP address is the destination, so select destination-ip-address.
Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 446828

Downloads: 4301

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next