4 Command Line Interface

Example

Console(config)#interface ethernet 1/1

Console(config-if)#rate-limit input level 20

Console(config-if)#

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.

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

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

4-118

Page 294
Image 294
SMC Networks 100BASE-TX, 16 10BASE-T Rate-limit granularity, Show rate-limit, Global Configuration Ethernet, Port Channel