beautypg.com

Network diagram, Configuration procedure, Network requirements – H3C Technologies H3C S3600 Series Switches User Manual

Page 757

background image

1-27

Network diagram

Figure 1-9 Network diagram for traffic policing and rate limiting configuration

Configuration procedure

1) Define an ACL for traffic classification.

# Create ACL 2000 and enter basic ACL view.

system-view

[Sysname] acl number 2000

# Define a rule for the packets with 192.168.0.1 as the source IP address.

[Sysname-acl-basic-2000] rule permit source 192.168.0.1 0

[Sysname-acl-basic-2000] quit

2) Configure traffic policing and rate limiting

# Set the maximum rate of outbound packets sourced from the marketing department to 64 kbps.

[Sysname] interface Ethernet1/0/2

[Sysname-Ethernet1/0/2] line-rate inbound 64

[Sysname-Ethernet1/0/2] quit

# Set the maximum rate of outbound IP packets sent by PC 1 in the R&D department to 640 kbps.

[Sysname] interface Ethernet1/0/1

[Sysname-Ethernet1/0/1] traffic-limit inbound ip-group 2000 640 exceed drop

Configuration Example of Priority Marking and Queue Scheduling

Network requirements

As shown in

Figure 1-10

, an enterprise network connects all the departments through an Ethernet

switch. Clients PC 1 through PC 3 are connected to Ethernet 1/0/1 of the switch; clients PC 4 through

PC 6 are connected to Ethernet 1/0/3 of the switch. Server 1 (the database server), Server 2 (the mail

server), and Server 3 (the file server) are connected to Ethernet 1/0/2 of the switch.

Configure priority marking and queue scheduling on the switch to mark traffic flows accessing Server 1,

Server 2, and Server 3 with different priorities respectively and assign the three traffic flows to different

queues for scheduling.

This manual is related to the following products: