|
Navigate to the Firewall level in the configuration
hierarchy.
|
In the configuration editor hierarchy, select Firewall.
|
From the top of the configuration hierarchy, enter
edit firewall
|
|
Create the multifield classifier filter and name it—for example, mf-classifier.
|
- Click Add new entry next to Filter.
- In the Filter name box, type mf-classifier.
- Select the check box next to Interface specific.
|
Enter
edit filter mf-classifier
set interface-specific
|
|
Create the term for the assured forwarding traffic class, and give it
a name—for example, assured-forwarding.
|
- Click Add new entry next to Term.
- In the Rule name box, type assured-forwarding.
|
Enter
edit term assured-forwarding
|
|
Create the match condition for the assured forwarding traffic class.
Use the destination address for assured forwarding traffic—for example, 192.168.44.55.
|
- Click Configure next to From.
- Click Add new entry next to Destination
address.
- In the Address box, type 192.168.44.55.
- Click OK twice.
|
Enter
set from destination-address 192.168.44.55
|
|
Create the forwarding class for assured forwarding DiffServ traffic—for
example, af-class.
Set the loss priority for the assured forwarding traffic class—for
example, low.
|
- Click Configure next to Then.
- In the Forwarding class box, type af-class.
- From the Loss priority list, select low.
- Click OK twice.
|
From the top of the configuration hierarchy, enter
edit firewall filter mf-classifier term assured-forwarding
set then forwarding-class af-class
set then loss-priority low
|
|
Create the term for the expedited forwarding traffic class, and give
it a name—for example, expedited-forwarding.
|
- Click Add new entry next to Term.
- In the Rule name box, type expedited-forwarding.
|
Enter
edit term expedited-forwarding
|
|
Create the match condition for the expedited forwarding traffic class.
Use the destination address for expedited forwarding traffic—for example, 192.168.66.77.
|
- Click Configure next to From.
- Click Add new entry next to Destination address.
- In the Address box, type 192.168.66.77.
- Click OK twice.
|
Enter
set from destination-address 192.168.66.77
|
|
Create the forwarding class for expedited forwarding DiffServ traffic—for
example, ef-class.
Apply the policer for the expedited forwarding traffic class. Use the
EF policer previously configured for expedited forwarding DiffServ traffic—ef-policer.
(See Configuring a Policer for
a Firewall Filter.)
|
- Click Configure next to Then.
- In the Forwarding class box, type ef-class.
- From the Policer choice list, select Policer.
- In the Policer box, type ef-policer.
- Click OK twice.
|
From the top of the configuration hierarchy, enter
edit firewall filter mf-classifier term expedited-forwarding
set then forwarding-class ef-class
set then policer ef-policer
|
|
Create the term for the network control traffic class, and give it a
name—for example, network-control.
|
- Click Add new entry next to Term.
- In the Rule name box, type network-control.
|
Enter
edit term network-control
|
|
Create the match condition for the network control traffic class.
|
- Click Configure next to From.
- From the Precedence choice list, select Precedence.
- Click Add new entry next to Precedence.
- From the Value keyword list, select net-control.
- Click OK twice.
|
Enter
set from traffic-class net-control
|
|
Create the forwarding class for the network control traffic class, and
give it a name—for example, nc-class.
|
- Click Configure next to Then.
- In the Forwarding class box, type nc-class.
- Click OK twice.
|
From the top of the configuration hierarchy, enter
edit firewall filter mf-classifier term network-control
set then forwarding-class nc-class
|
|
Create the term for the best-effort traffic class, and give it a name—for
example, best-effort-data.
|
- Click Add new entry next to Term.
- In the Rule name box, type best-effort-data.
|
Enter
edit term best-effort-data
|
|
Create the forwarding class for the best-effort traffic class, and give
it a name—for example, be-class. (Because this is the last
term in the filter, it has no match condition.)
|
- Click Configure next to Then.
- In the Forwarding class box, type be-class.
- Click OK four times.
|
From the top of the configuration hierarchy, enter
set then forwarding-class be-class
|
|
Navigate to the Interfaces level in the configuration
hierarchy.
|
In the configuration editor hierarchy, select Interfaces.
|
From the top of the configuration hierarchy, enter
edit interfaces
|
|
Apply the multifield classifier firewall filter mf-classifier as
an input filter on each customer-facing or host-facing interface that needs
the filter—for example, on fe-0/0/0, unit 0.
|
- Click the Interface fe-0/0/0 and
Unit 0.
- Click Configure next to Inet.
- Click Configure next to Filter.
- In the Input box, type mf-classifier.
- Click OK.
|
Enter
set fe-0/0/0 unit 0 family inet filter input mf-classifier
|