Rate-limit granularity, Show rate-limit – LevelOne GSW-2692 User Manual

Page 300

Advertising
background image

Command Line Interface

4-122

4

Example

rate-limit granularity

Use this command to define the rate limit granularity for the Fast Ethernet ports, and
the Gigabit Ethernet ports. Use the no form of this command to restore the default
setting.

Syntax

rate-limit {fastethernet | gigabitethernet} granularity [granularity]
no rate-limit {fastethernet | gigabitethernet} granularity

fastethernet – Fast Ethernet granularity
gigabitethernet – Gigabit Ethernet granularity
granularity – Sets rate limit granularity for the system. For Fast Ethernet,

choose 512 Kbps, 1 Mbps, or 3.3 Mbps. For Gigabit Ethernet, only one
granularity option is supported, 33.3 Mbps

Default Setting

Fast Ethernet interface – 3.3 Mbps
Gigabit Ethernet interface – 33.3 Mbps

Command Mode

Global Configuration (Ethernet, Port Channel)

Command Usage

Actual rate limit = Rate limit level * Granularity

Example

The following sets Fast Ethernet granularity to 1 Mbps, and Gigabit Ethernet
granularity to 33.3 Mbps.

show rate-limit

Use this command to display the rate limit granularity.

Default Setting

Fast Ethernet interface – 3.3 Mbps
Gigabit Ethernet interface – 33.3 Mbps

Command Mode

Privileged Exec

Console(config)#interface ethernet 1/1
Console(config-if)#rate-limit input level 20
Console(config-if)#

Console(config)#rate-limit fastethernet granularity 1000
Console(config)#rate-limit gigabitethernet granularity 33300
Console(config)#

Advertising