Monitoring and Logging System Information 227Configuring Local LoggingBeginning in Privileged EXEC mode, use the following commands toconfigure the type of messages that are logged and where the messages arelogged locally.Command Purposetest copper-port tdrinterfacePerform the Time Domain Reflectometry (TDR) test todiagnose the quality and characteristics of a copper cableattached to the specified port. SFP, SFP+, and QSFPcables with passive copper assemblies are not capable ofperforming TDR tests.CAUTION: Issuing the test copper-port tdr commandwill bring the interface down.NOTE: To ensure accurate measurements, disable all GreenEthernet modes (EEE or energy-detect mode) on the portbefore running the test.The interface is specified in unit/slot/port format. Forexample 1/0/3 is GbE interface 3 on unit 1 of the stack.show copper-ports tdr[interface]Display the diagnostic information collected by the testcopper-port tdr command for all copper interfaces or aspecific interface.show fiber-ports optical-transceiver [interface]Display the optical transceiver diagnostics for all fiberports. Include theinterface option to show information forthe specified port.Command Purposeconfigure Enter Global Configuration mode.logging on Globally enables logging.logging audit Enable switch auditing.logging cli-command Enable CLI command logginglogging web-sessions Enable logging of the switch management Web page visits.logging snmp Enable logging of SNMP set commands.