在增强型排队 DPC 上配置客户 VLAN(级别 3)整形
MX 系列 10 千兆以太网增强排队 DPC 上的客户 VLAN(级别 3)整形与 MX 系列 1 千兆以太网增强排队 DPC 上的客户 VLAN(级别 3)整形不同。若要在 MX 系列 10 千兆以太网增强型 DPC 上使用客户 VLAN(级别 3)整形,请在层级配置接口集 [edit interfaces interface-set]
。在 MX 系列 1 千兆以太网增强型排队 DPC 上使用客户 VLAN(级别 3)时,无需配置接口集。
要配置 MX 系列 10 千兆以太网增强型 DPC 上的客户 VLAN(级别 3)整形:
要配置 MX 系列 1 千兆以太网增强型 DPC 上的客户 VLAN(级别 3)整形:
配置层级的
[edit interfaces]
接口集。[edit interfaces] user@host# set interface ge-1/0/0 unit 100 user@host# set interface ge-1/0/0 unit 101
配置分层计划程序并启用 VLAN 标记。
[edit interfaces] user@host# set ge-1/0/0 hierarchical-scheduler user@host# set ge-1/0/0 vlan-tagging
配置逻辑接口属性。
[edit interfaces] user@host# set ge-1/0/0 unit 100 vlan-id 100 user@host# set ge-1/0/0 unit 100 family inet address 10.1.0.1/24 user@host# set ge-1/0/0 unit 101 vlan-id 101 user@host# set ge-1/0/0 unit 101 family inet address 10.1.1.1/24
在层次结构级别配置流量控制配置文件
[edit class-of-service]
。[edit class-of-service] user@host# set traffic-control-profiles profile1 shaping-rate 10g burst-size 2k user@host# set traffic-control-profiles profile1 guaranteed-rate 10g burst-size 2k user@host# set traffic-control-profiles profile2 shaping-rate 50m burst-size 2k user@host# set traffic-control-profiles profile2 guaranteed-rate 50m burst-size 2k user@host# set traffic-control-profiles profile3 shaping-rate 80m burst-size 3k user@host# set traffic-control-profiles profile3 guaranteed-rate 80m burst-size 3k
在层次结构级别配置流量控制配置文件
[edit class-of-service interfaces]
。[edit class-of-service interfaces] user@host# set ge-1/0/0 unit 100 output-traffic-control-profiles profile2 user@host# set ge-1/0/0 unit 101 output-traffic-control-profiles profile3