312-39 · Question #178
Peter, a SOC analyst with Spade Systems, is monitoring and analyzing the router logs of the company and wanted to check the logs that are generated by access control list numbered 210. What filter…
The correct answer is C. show logging | include 210. To filter the output of the ‘show logging’ command to include entries related to a specific access control list, Peter should use the ‘include’ keyword followed by the access list number. The correct command would be ‘show logging | include 210’. This command will display all…
Question
Peter, a SOC analyst with Spade Systems, is monitoring and analyzing the router logs of the company and wanted to check the logs that are generated by access control list numbered 210. What filter should Peter add to the 'show logging' command to get the required output?
Options
- Ashow logging | access 210
- Bshow logging | forward 210
- Cshow logging | include 210
- Dshow logging | route 210
How the community answered
(23 responses)- C96% (22)
- D4% (1)
Explanation
To filter the output of the ‘show logging’ command to include entries related to a specific access control list, Peter should use the ‘include’ keyword followed by the access list number. The correct command would be ‘show logging | include 210’. This command will display all log entries that contain the string ‘210’, which is the number of the access control list he wants to monitor. filtering show command outputs to display only lines that contain a specified string or pattern. This is covered in Cisco’s documentation and training materials related to router commands and access control list management12.
Topics
Community Discussion
No community discussion yet for this question.