Tuesday, March 30, 2010

Juniper JunOS Configuring Filter-Based Forwarding

Examples: Configuring Filter-Based Forwarding

Configure a filter to direct traffic to ISP1 or ISP2 based on source address matching:

[edit firewall]

family inet {

filter classify-customers {

term isp1-customers {

from {

source-address 10.1.1.0/24;

source-address 10.1.2.0/24;

}

then {

routing-instance isp1-route-table;

}

}

term isp2-customers {

from {

source-address 10.2.1.0/24;

source-address 10.2.2.0/24;

}

then {

routing-instance isp2-route-table;

}

}

term default {

then {

accept;

}

}

}

}

No comments: