Discussion
Which of the following are valid ways to refer only to host 172.16.30.55 in an IP access list?
1.172.16.30.55 0.0.0.255
2.172.16.30.55 0.0.0.0
3.any 172.16.30.55
4.host 172.16.30.55
5.0.0.0.0 172.16.30.55
6.ip any 172.16.30.55
Answer: B
Correct answer: 2 and 4
Both refer to exactly one host. The wildcard 0.0.0.0 requires every bit of the address to match, and the host keyword is shorthand for precisely that - IOS accepts either and displays the second form. Option 1 uses 0.0.0.255, which matches the whole 172.16.30.0 subnet, and options 3, 5 and 6 are not valid syntax at all.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development