beautypg.com

Configuration example, Configuring the line rate, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 60

background image

5-8

Configuration Example

Configure GTS on GigabitEthernet2/0/1, shaping the packets of queue 1 when the sending rate

exceeds 512 kbps.

# Enter system view.

system-view

# Enter interface view.

[Sysname] interface gigabitethernet 2/0/1

# Configure GTS parameters.

[Sysname-GigabitEthernet2/0/1] qos gts queue 1 cir 512

Configuring the Line Rate

Configuration Procedure

Follow these steps to configure the line rate:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter

interface

view

interface interface-type interface-number

Enter

interface

view or port

group view

Enter port

group view

port-group manual port-group-name

Use either command

Settings in interface view take effect

on the current interface; settings in

port group view take effect on all

ports in the port group.

Configure the inbound or

outbound line rate for the

interface/port group

qos lr outbound cir

committed-information-rate [ cbs

committed-burst-size ]

Required

z

On SC, SA, and EA LPUs, the

granularity of line rate is 64 kbps.

z

On SD and EB LPUs, the

granularity of line rate is 8 kbps.

Display line rate

configuration information

on the interface/all

interfaces

display qos lr interface [ interface-type

interface-number ]

Available in any view

Configuration Example

Limit the outbound line rate of GigabitEthernet 2/0/1 to 512 kbps.

# Enter system view.

system-view

# Enter interface view.

[Sysname] interface gigabitethernet 2/0/1