Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Configure Traffic Shaping

The traffic shaping enables the packets to be sent out at an average rate. The difference between the traffic shaping and traffic monitoring: the traffic monitoring takes effect in the ingress direction and the traffic shaping takes effect in the egress direction. The excessive traffic at the ingress direction will be dropped, but the excessive traffic at the egress direction will be cached.

Configuration Condition

None

Configure Queue-based Traffic Shaping

Queue-based traffic shaping enables the traffic in the queue to be sent out at an average rate. Different traffic shaping can be performed for different queues as required.

Table 1-11 Configure queue-based traffic shaping

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the L2/L3 Ethernet interface configuration mode

interface interface-name

-

Configure queue-based traffic shaping

traffic-shape queue queue-id { { cir cir [cbs cbs] pir pir [pbs pbs] } | { cir cir [cbs cbs]} | { pir pir [pbs pbs] } }

Mandatory

By default, queue-based traffic shaping is not configured.

Configure Port-based Traffic Shaping

The port-based traffic shaping allows the time domain binding to achieve different bandwidths in different time periods. Each port is configured with eight traffic shaping of different priorities and each traffic shaping is bound to a time domain. For the entries taking effect at the same time, determine which entry takes effect by priority. The number 0 indicates the highest priority and the number 7 indicates the lowest priority.

Table 1-12 Configure the port-based traffic shaping

Step

Command

Description

Enter the global configuration mode

configure terminal

-

Enter the L2 Ethernet interface configuration mode

interface interface-name

-

Configure the port-based traffic shaping

traffic-shape{ {pir rate [pbs burst-size] } | { priority pir rate [pbs burst-size][time-range range-name] } }

Mandatory

By default, port-based traffic shaping is not configured.