#### Cisco设备配置示例
```
interface GigabitEthernet0/1
sr (或 rate-limit) out 1024000 8000 8000 conform-action transmit exceed-action drop
sr (或 rate-limit) in 512000 8000 8000 conform-action transmit exceed-action drop
# 注意:Cisco常用rate-limit或更现代的QoS策略实现
```
### 2. 双向流量监管CAR配置
#### 华为设备CAR配置
```
interface GigabitEthernet0/0/1
qos car outbound name user_car cir 1024 cbs 128000 # 出方向CIR 1Mbps
qos car inbound name user_car cir 512 cbs 64000 # 入方向CIR 512Kbps
# 如果需要更精细的控制
traffic classifier car-class operator or
if-match any
traffic behavior car-behavior
car cir 1024 cbs 128000 green pass red discard # 出方向策略
# 对于双向,通常需要分别配置入和出