05-23-2011 05:32 PM - edited 03-07-2019 12:38 AM
When I manually shutdown an interface, the syslog message "administratively down" does not appear in the log. How can I correct this?
Thanks in advance.
ms-3722d-man-r1(config)#inter s6/1/0
ms-3722d-man-r1(config-if)#shut
ms-3722d-man-r1(config-if)#do sh log
Syslog logging: enabled (0 messages dropped, 11 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)
No Active Message Discriminator.
Log Buffer (8192 bytes):
May 23 20:27:03: %OSPF-5-ADJCHG: Process 2020, Nbr 10.0.1.37 on Serial6/1/0 from FULL to DOWN, Neighbor Down: Interface down or detached
May 23 20:27:03: %PIM-5-NBRCHG: neighbor 10.0.252.9 DOWN on interface Serial6/1/0 non DR
ms-3722d-man-r1(config-if)#
Solved! Go to Solution.
05-23-2011 08:02 PM
Hi David,
Just posting up a quick thought on the run. I'm not sure what platform you are running but some devices may have the logging of the event off as default.
You can have a look at
#logging event link-status
or similar config under the interface, or as a global toggle to switch on the event logging for interface status.
HTH
Eugene.
05-23-2011 05:51 PM
David,
The default is to log messages to the console. May be it is turned off
So try this command and test again
config t
logging con
HTH
05-23-2011 06:20 PM
Nope. No luck. I need the syslog message "administratively down" so that I create a EEM script to perform certain tasks.
05-23-2011 08:02 PM
Hi David,
Just posting up a quick thought on the run. I'm not sure what platform you are running but some devices may have the logging of the event off as default.
You can have a look at
#logging event link-status
or similar config under the interface, or as a global toggle to switch on the event logging for interface status.
HTH
Eugene.
05-24-2011 08:29 AM
Thanks Eugene. That worked.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide