Câu bổ sung của RoutingBit
The following filter is applied as an input filter on ge-0/0/0:
term T1 { from { source-address 10.1.1.0/24; } then discard; }
term T2 { from { protocol tcp; destination-port 22; } then accept; }
term T3 { then accept; }
A host 10.1.1.5 sends an SSH packet to the device. What happens?
- AThe packet is accepted by T2.
- BThe packet is discarded by T1.
- CThe packet is accepted by T3.
- DThe packet is rejected and an ICMP message is sent.
Đáp án: B
Term duyệt theo thứ tự. 10.1.1.5 khớp T1 nên bị discard ngay, không xét tới T2 dù là SSH. Muốn cho mạng này SSH thì phải đặt term cho phép SSH lên trước T1.