[Contents] [Prev] [Next] [Index] [Report an Error]

Example: Classifying Packets Based on a Destination Address

Configure an MF 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 your configuration, 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;
}
}
}
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]