Which configuration excerpt is necessary to cause all traffic received on fe-0/0/0.0 to be routed to next-hop 10.1.1.1?
A.
interfaces { 
fe-0/0/0 { 
unit 0 { 
family inet { 
policy-route route-to-10.1.1.1; 
address 172.17.1.1/24; 
} 
} 
} 
} 
policy-options { 
policy-statement route-to-10.1.1.1 { 
term 1 { 
then { 
next-hop 10.1.1.1; 
} 
} 
} 
}
B.
interfaces { 
fe-0/0/0 { 
unit 0 { 
family inet { 
filter { 
input route-to-10.1.1.1; 
} 
address 172.17.1.1/24; 
} 
} 
} 
} 
firewall { 
family inet { 
filter route-to-10.1.1.1 { 
term 1 { 
then routing-instance to-10.1.1.1; 
} 
} 
} 
} 
routing-instances { 
to-10.1.1.1 { 
instance-type forwarding; 
routing-options { 
static { 
route 0.0.0.0/0 next-hop 10.1.1.1; 
} 
} 
} 
}
C.
interfaces { 
fe-0/0/0 { 
unit 0 { 
family inet { 
filter { 
input route-to-10.1.1.1; 
} 
address 172.17.1.1/24; 
} 
} 
} 
} 
firewall { 
family inet { 
filter route-to-10.1.1.1 { 
term 1 { 
then next-hop 10.1.1.1; 
} 
} 
} 
}
D.
interfaces { 
fe-0/0/0 { 
unit 0 { 
family inet { 
routing-instance to-10.1.1.1; 
address 172.17.1.1/24; 
} 
} 
} 
} 
routing-instances { 
to-10.1.1.1 { 
instance-type forwarding; 
routing-options { 
static { 
route 0.0.0.0/0 next-hop 10.1.1.1; 
} 
} 
} 
}
Correct answer is B