# qos-shaping-mode

#### Syntax

[ no ] qos-shaping-mode [ cell | frame ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies either cell-based or frame-based traffic shaping for ATM, Gigabit Ethernet, or 10-Gigabit Ethernet interfaces. The shaping mode is configured for a major interface and affects scheduling for all nodes and queues stacked above the interface. In cell shaping mode, queues and nodes are scheduled as if they were ATM cells. All newly configured ports use the shaping mode from port 0; frame is the default shaping mode for port 0. If you do not specify an option, the command restores the default, frame. The no version restores the default, frame.

#### Options

- cell—Shapes traffic based on the number of bytes in a cell, and accounts for ATM cell encapsulation and padding overhead
- frame—Shapes traffic based on the number of bytes in a frame, without considering cell encapsulation and padding overhead; the default shaping mode for port 0

#### Mode

Interface Configuration

#### Related Documentation

- Configuring the QoS Shaping Mode for ATM Interfaces
- Configuring the QoS Shaping Mode for Ethernet Interfaces