非排队 MPC 上的 Per-VLAN 队列扩展
MX 平台上支持的大多数 MPC 上都引入了 Per-VLAN(逻辑接口)队列。 表 1 显示了详细信息以及支持的 JUNOS 版本。
Mpc |
支持的 MIC |
JUNOS 版本 |
---|---|---|
16 个 10GE MPC |
不适用 |
13.2 |
MPC3E |
2 个 10GE XFP |
13.2 |
10 个 10GE SFPP |
13.2 |
|
2 个 40G QSFPP |
13.2 |
|
1x100GE CXP |
13.2 |
|
1 个 100G CFP |
13.2 |
|
MPC4E-32x10GE SFPP |
不适用 |
13.3 |
MPC4E-2x100GE+8x10GE SFPP |
不适用 |
13.3 |
MPC6E |
24x10GE SFPP |
15.1 |
24x10GE SFFP OTN |
15.1 |
|
2 个 100GE CFP2 OTN |
15.1 |
|
4x100GE CXP |
15.1 |
|
MPC5E-10G100G |
不适用 |
13.3R3 |
MPC5E-10G40G |
不适用 |
13.3R3 |
MPC2E-3D-NG/MPC3E-3D-NG |
20 个 1GE SFP |
15.1 |
2 个GE-XFP |
15.1 |
|
40x1GE |
15.1 |
|
4xGE-XFP |
15.1 |
|
8OC3OC12-4OC48 |
15.1 |
|
4OC3OC12-1OC48 |
15.1 |
|
8CHOC3-4 CHOC12 |
15.1 |
|
4CHOC3-1 CHOC12 |
15.1 |
|
8DS3-E3 |
15.1 |
|
1 个 OC192-XFP |
15.1 |
|
16 个CHE1-T1-CE |
15.1 |
|
8OC3-2OC12-ATM-CC-CE |
15.1 |
|
4COC3-1COC12-CE |
15.1 |
|
20 个 GE-SFP-E |
15.1 |
|
MPC3E-3D-NG |
2 个 10GE XFP |
15.1 |
10 个 10GE SFPP |
15.1 |
|
2 个 40G QSFPP |
15.1 |
|
1x100GE CXP |
15.1 |
要启用逻辑接口调度,请将语句per-unit-scheduler
[edit interfaces interface name]
包含在层次结构级别。启用按单元调度器后,您可以在层次结构级别包含scheduler-map
语句[edit class-of-service interfaces interface name unit logical unit number]
,从而为逻辑接口定义专用调度器。或者,您可以在层次结构级别包含scheduler-map
语句,[edit class-of-service traffic-control-profiles traffic control profile name]
然后在层次结构级别包含语句output-traffic-control-profile
[edit class-of-service interfaces interface name unit logical unit number]
。
表 2 显示了 8 队列模式和 4 队列模式下每个端口的可用 VLAN 数,适用于 16x10GE、MPC3E、MPC4E 和 MPC6E。
Mpc |
麦克风 |
VLAN/端口 – 8 队列模式 |
VLAN/端口 – 4 队列模式 |
---|---|---|---|
16X10GE |
不 |
21 |
44 |
MPC3E |
带 XFP 的 2x10GE |
20 |
42 |
带 SFP+ 的 10X10GE |
每组 5 个端口 12 个* |
每组 5 个端口 34 个* |
|
通过 QSFP+ 提供 2X40GE |
20 |
42 |
|
1X100GE 与 CXP |
20 |
42 |
|
32 个 10GE MPC4E |
不 |
每组 4 个端口 20 个* |
每组 48 个端口* |
2 个 100GE + 8 个 10GE MPC4E |
不 |
26 |
54 |
MPC6E |
24X10GE |
每组 3 个端口 20 个* |
每组 3 个端口 42 个* |
2X100GE,带 CFP2 OTN |
26 |
54 |
|
带 CXP 的 4X100GE MIC |
21 |
44 |
|
*MPC3E 的 10X10GE MIC、32X10GE MPC4E 和 MPC6E 的 24X10GE MIC 跨端口组共享 VLAN。您可以将所有可用 VLAN 分配给端口组中的一个端口,或将它们任意组合分布在端口之间。 |
在这些接口上启用和配置按单元调度器会向 show interfaces interface name [detail | extensive]
命令添加额外的输出。此附加输出列出了计划程序的最大可用资源数和配置的资源数。以下是显示非排队线卡上的 CoS 调度器资源信息的示例输出:
root@R1# run show interfaces et-2/2/0 detail Physical interface: et-2/2/0, Enabled, Physical link is Down Interface index: 165, SNMP ifIndex: 550, Generation: 168 Link-level type: Ethernet, MTU: 1522, Speed: 100Gbps, BPDU Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Down Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000 Link flags : Scheduler CoS queues : 8 supported, 8 maximum usable queues Schedulers : 0 Hold-times : Up 0 ms, Down 0 ms Current address: 80:71:1f:10:e6:b4, Hardware address: 80:71:1f:10:e6:b4 Last flapped : 2013-05-07 16:17:01 PDT (03:16:41 ago) Statistics last cleared: Never Traffic statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Egress queues: 8 supported, 4 in use CoS scheduler resource information: Maximum units supported per MIC/PIC: 20 Configured units per MIC/PIC: 1 Maximum units allowed per port: 20 Configured units on this port: 1 Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 0 0 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 0 0 0 Queue number: Mapped forwarding classes 0 best-effort
如果启用的 VLAN 数超过之前提到的 MPC/MIC 组合支持数量,则最多支持数量的 VLAN 将收到专用的队列资源。其他 VLAN 共享端口队列。无法控制端口队列的计划。但是,端口队列保证为物理接口带宽的 1%,以避免队列资源匮没和缓冲区暂停。
如果是 MPC2E-NG/3E-NG、MPC5E 和 MPC7E/8E/9E SKU,则需要配置以下命令,以在 MPC 上启用“灵活排队”。配置此旋钮将导致 MPC 重新启动。支持按单元计划器、分层调度和 2 级层次调度。启用了 32K 队列,可用于入口队列或出口队列。当每个 IFL 使用所有 8 个队列时,32K 队列可用。
chassis { fpc 0 { flexible-queuing-mode; } }
表 3 显示了 MPC3E-NG/MPC2E-NG 和 MPC5E 在 8 队列和 4 队列模式下每个端口可用的 VLAN 数。
Mpc |
麦克风 |
VLAN/端口 – 8 队列模式 |
VLAN/端口 – 4 队列模式 |
---|---|---|---|
MPC3E-NG/MPC2E-NG |
支持的 MIC |
32K |
32K |
MPC5E |
支持的 MIC |
32K |
32K |
启用每 VLAN 队列的逻辑接口数量不应超过线卡的最大值。如果超过线卡最大值,则排队行为不可预测。这可能意味着有些逻辑接口已分配队列,而有些未分配队列。