排队 MPC 包含一个排队芯片,支持丰富的排队功能,如分层排队和按 VLAN 排队。默认情况下,通过其中一个 MPC 上的接口的所有流量也会通过排队芯片,这会减少接口的可用带宽。如果不需要在排队 MPC 的特定接口上进行分层或按 VLAN 排队,则可以绕过排队芯片来增加可用带宽。
要绕过排队 MPC 上接口上的排队芯片,请执行以下操作:
- 确保接口上未
per-unit-scheduler 配置 nor hierarchical-scheduler 。
注意:
如果某个接口上配置了按单元或分层调度,则无法绕过该接口上的排队芯片。
- 确保启用 flexi-queuing-mode 。
bypass-queuing-chip 在接口上启用。
例如:
[edit interfaces]
user@router# set interface- name bypass-queuing-chip
- 提交更改。
[edit interfaces]
user@router# show
interface-name {
bypass-queueing-chip;
}
- 验证更改。
user@router> show interfaces interface-name
Physical interface: interface-name, Enabled, Physical link is Up
Interface index: 147, SNMP ifIndex: 524
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 1000mbps,
BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 4 maximum usable queues
Schedulers : 0, Queuing Chip Bypassed
Current address: 00:21:59:0f:35:31, Hardware address: 00:21:59:0f:35:31
Last flapped : 2014-04-29 14:10:18 PDT (02:27:46 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : None
Active defects : None
Interface transmit statistics: Disabled
变更历史表
是否支持某项功能取决于您使用的平台和版本。使用 功能资源管理器 确定您的平台是否支持某个功能。
18.2R1
从 Junos OS 18.2R1 开始,您可以在 vMX 路由器上启用此选项,以便在接口上不需要调度时节省 vCPU。