Which two Cisco IOS commands, used in troubleshooting, can enable debug output to a remote location? (Choose two)
- no logging console
- logging host ip-address
- terminal monitor
- show logging | redirect flashioutput.txt
- snmp-server enable traps syslog
Explanation: The “no logging console” turns off logging to the console connection (it is turned on by default) and it is often used if the console received large amount of logging output. But this command is not recommended in normal configuration -> A is not correct.
The command “logging host ip-address” instructs the device to send syslog messages to an external syslog server -> B is correct.
The “show logging | redirect flashioutput.txt” command will put the text file in the router flash memory because we did not specify a remote location (like tftp) -> D is not correct.
The command “snmp-server enable traps syslog” instructs the device to send syslog messages to your network management server as SNMP traps instead of syslog packets. This command itself does not enable debug output to a remote location -> E is not correct.
By default, Cisco IOS does not send log messages to a terminal session over IP, that is, telnet or SSH connections don’t get log messages. But notice that console connections on a serial cable do have logging enabled by default. The command “terminal monitor” helps logging messages appear on the your terminal. First we don’t think this is a correct answer but after reading the question again, we believe it is a suitable one as a Telnet/SSH session may be considered a “remote location” -> C is correct.
More Questions: CCNA v3.0 (200-125) Study Guide – Exam Dumps