[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring the QoS Shaping Mode for Ethernet Interfaces

You can configure the shaping mode for an Ethernet interface.

In frame mode, traffic shaping is controlled by the system. Shaping is based on the number of bytes in the frame, without regard to cell encapsulation or padding overhead; this is the default mode for all E Series routers.

In cell mode, shaping is controlled by the QoS application. Shaping is based on the number of bytes in cells, and accounts for the ATM cell encapsulation and padding overhead. This option is available only for Gigabit Ethernet interfaces configured on the GE-2 line module, the GE-HDE line module, and the ES2 4G LM, and 10-Gigabit Ethernet interfaces configured on the ES2 4G LM.

1. Configure the Ethernet interface.
   `
   host1(config)#interface gigabitEthernet 6/0/0
   `
2. Configure the shaping mode and specify frame or cell.
   `
   host1(config)#qos-shaping-mode cell
   `

   | Best Practice: We recommend that you clear the statistics counters whenever you change the QoS shaping mode. Otherwise, the statistics contain a mixture of frame-based and cell-based values.

#### Related Topics

- QoS Shaping Mode for Ethernet Interfaces Overview
- interface gigabitEthernet command
- qos-shaping-mode command

[Contents] [Prev] [Next] [Index] [Report an Error]