Technical Documentation

Example: Classifying Packets Based on Their Destination Address

Configure a multifield classifier that ensures that all IPv4 packets destined for the 10.10.10.0/24 network are placed into the platinum forwarding class. This assignment occurs regardless of the received CoS bit values in the packet. Apply this filter to the inbound interface so-1/2/2.0.

To verify that your configuration is attached to the correct interface, issue the show interfaces filters command.

firewall {family inet {filter set-FC-to-platinum {term match-a-single-route {from {destination-address {10.10.10.0/24;}}then {forwarding-class platinum;accept;}}term accept-all {then accept;}}}}interfaces {so-1/2/2 {unit 0 {family inet {filter {input set-FC-to-platinum;}}}}}

Published: 2010-04-15