beautypg.com

2 command examples: ingress – ZyXEL Communications ZyXEL Dimension ES-2024PWR User Manual

Page 42

background image

Chapter 7 Bandwidth Commands

Ethernet Switch CLI Reference Guide

42

The following section lists the commands for this feature.

7.2 Command Examples: ingress

This example sets the outgoing traffic bandwidth limit to 5000 Kbps and the incoming traffic
bandwidth limit to 4000 Kbps for port 1.

Table 23 Command Summary: bandwidth-control & bandwidth-limit

COMMAND

DESCRIPTION

M

P

show interfaces config <port-
list
> bandwidth-control

Displays the current settings for interface bandwidth control.

E

3

bandwidth-control

Enables bandwidth control on the Switch.

C

13

no bandwidth-control

Disables bandwidth control on the Switch.

C

13

interface port-channel <port-
list
>

Enters subcommand mode for configuring the specified ports. C

13

bandwidth-limit ingress

Enables bandwidth limits for incoming traffic on the port(s).

C

13

bandwidth-limit ingress
<rate>

Sets the maximum bandwidth allowed for incoming traffic on

the port(s).

C

13

bandwidth-limit egress

Enables bandwidth limits for outgoing traffic on the port(s).

C

13

bandwidth-limit egress
<rate>

Sets the maximum bandwidth allowed for outgoing traffic on

the port(s).

C

13

no bandwidth-limit ingress

Disables ingress bandwidth limits on the specified port(s).

C

13

no bandwidth-limit egress

Disables egress bandwidth limits on the specified port(s).

C

13

bandwidth-limit cir

Enables commit rate limits on the specified port(s).

C

13

bandwidth-limit cir <rate>

Sets the guaranteed bandwidth allowed for the incoming

traffic flow on a port. The commit rate should be less than the

peak rate. The sum of commit rates cannot be greater than or

equal to the uplink bandwidth.

Note: The sum of CIRs cannot be greater than or

equal to the uplink bandwidth.

C

13

bandwidth-limit pir

Enables peak rate limits on the specified port(s).

C

13

bandwidth-limit pir <rate>

Sets the maximum bandwidth allowed for the incoming traffic

flow on the specified port(s).

C

13

no bandwidth-limit cir

Disables commit rate limits on the specified port(s).

C

13

no bandwidth-limit pir

Disables peak rate limits on the specified port(s).

C

13

sysname# configure
sysname(config)# bandwidth-control
sysname(config)# interface port-channel 1
sysname(config-interface)# bandwidth-limit egress 5000
sysname(config-interface)# bandwidth-limit ingress 4000
sysname(config-interface)# exit
sysname(config)# exit