Configuration Example; Configuring Gts - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

To do...
Exit policy view
To an interface
Apply the
To online users
QoS
To a VLAN
policy
Globally

Configuration Example

Configure traffic policing on GigabitEthernet 1/0/1 to limit the rate of received HTTP traffic to 512 kbps
and drop the exceeding traffic.
# Enter system view.
<Sysname> system-view
# Configure advanced ACL 3000 to match HTTP traffic.
[Sysname] acl number 3000
[Sysname-acl-adv-3000] rule permit tcp destination-port eq 80
[Sysname-acl-adv-3000] quit
# Create a class named http, and reference ACL 3000 in the class to match HTTP traffic.
[Sysname] traffic classifier http
[Sysname-classifier-http] if-match acl 3000
[Sysname-classifier-http] quit
# Configure a traffic policing QoS policy, and apply the QoS policy to the incoming packets of
GigabitEthernet 1/0/1.
[Sysname] traffic behavior http
[Sysname-behavior-http] car cir 512
[Sysname-behavior-http] quit
[Sysname] qos policy http
[Sysname-qospolicy-http] classifier http behavior http
[Sysname-qospolicy-http] quit
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos apply policy http inbound

Configuring GTS

Configuration Procedure
On the Switch 4800G series, traffic shaping is implemented as queue-based GTS, that is, configuring
GTS parameters for packets of a certain queue.
Follow these steps to configure queue-based GTS:
To do...
Enter system view
Use the command...
quit
Applying the QoS policy to an interface
Applying the QoS policy to online users
Applying the QoS policy to a VLAN
Applying the QoS policy globally
Use the command...
system-view
4-6
Remarks
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents