Configuring Customer VLAN (Level 3) Shaping on Enhanced Queuing
DPCs
Customer VLAN
(level 3) shaping on an MX Series 10-Gigabit Ethernet Enhanced Queuing
DPC differs from the customer VLAN (level 3) shaping on an MX Series
1-Gigabit Ethernet Enhanced Queuing DPC. To use the customer VLAN
(level 3) shaping on an MX Series 10-Gigabit Ethernet Enhanced Queuing
DPC, configure an interface set at the [edit interfaces interface-set] hierarchy level. You do not need to configure the interface set
while using customer VLAN (level 3) on an MX Series 1-Gigabit Ethernet
Enhanced Queuing DPC.
To configure customer VLAN (level 3) shaping on an MX
Series 10-Gigabit Ethernet Enhanced Queuing DPC:
- Configure the interface set at the [edit interfaces] hierarchy level.
[edit interfaces]user@host# set interface-set jnpr interface
unit 100user@host# set interface-set jnpr interface
xe-1/0/0 unit 101
- Configure the hierarchical scheduler and enable VLAN tagging.
[edit interfaces]user@host# set xe-1/0/0 hierarchical-scheduleruser@host# set xe-1/0/0 vlan-tagging
- Configure the logical interface properties.
[edit interfaces]user@host# set xe-1/0/0 unit 100 vlan-id 100 user@host# set xe-1/0/0 unit 100 family inet
address 10.1.0.1/24 user@host# set xe-1/0/0 unit 101 vlan-id 101 user@host# set xe-1/0/0 unit 101 family inet
address 10.1.1.1/24
- Configure the traffic control profiles at the [edit
class-of-service] hierarchy level.
[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
- Configure the output traffic control profiles at the [edit class-of-service interfaces] hierarchy level.
[edit class-of-service interfaces]user@host# set interface-set jnpr output-traffic-control-profiles
profile1 user@host# set xe-1/0/0 unit 100 output-traffic-control-profiles
profile2 user@host# set xe-1/0/0 unit 101 output-traffic-control-profiles
profile3
To configure customer VLAN (level 3) shaping on an MX
Series 1-Gigabit Ethernet Enhanced Queuing DPC:
- Configure the interface set at the [edit interfaces] hierarchy level.
[edit interfaces]user@host# set interface ge-1/0/0 unit 100user@host# set interface ge-1/0/0 unit 101
- Configure the hierarchical scheduler and enable the VLAN
tagging.
[edit interfaces]user@host# set ge-1/0/0 hierarchical-scheduleruser@host# set ge-1/0/0 vlan-tagging
- Configure the logical interface properties.
[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
- Configure the traffic control profiles at the [edit
class-of-service] hierarchy level.
[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
- Configure the traffic control profiles at the [edit
class-of-service interfaces] hierarchy level.
[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
Published: 2012-04-16