Juniper Networks Interview Question

Puzzles and logic