Cisco Cisco Nexus 7000 Series Supervisor 2E Module Guía Para Resolver Problemas
/debug 5120 108 5012 3 none
/dev/mqueue 0 0 0 0 none
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−SNIP−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
As seen above, /var/log is full. Then, check the actual contents of /var/log to see which file consumes
the directory. It is possible, because of user defined debugs or core files, that the directory fills up and
hence logging is stopped.
the directory. It is possible, because of user defined debugs or core files, that the directory fills up and
hence logging is stopped.
N7K1# sh system internal dir /var/log/external/
./ 420
../ 380
glbp.debug 231
libfipf.24944 0
vdc_4/ 80
libfipf.24115 0
vdc_3/ 80
libfipf.23207 0
vdc_2/ 80
libdt_helper.log 51523584
libfipf.5582 0
libfipf.4797 0
libfipf.4717 0
messages 651264
startupdebug 0
eobc_port_test_result 3
mgmt_port_test_result 3
bootup_test.log 18634
You can also use dir log: to view the contents.
In the above example, libdt_helper.log consumes most of the space and hence there are issues with
logging. Refer to Cisco bug ID CSCue98451.
logging. Refer to Cisco bug ID CSCue98451.
Common Mistake About Logging
The "logging level <feature> <level>" does NOT cause that feature to print messages at that level. It
actually tells the syslog function to "only" print messages for that feature to the logging buffer/server
if they are of that level as "print threshold".
actually tells the syslog function to "only" print messages for that feature to the logging buffer/server
if they are of that level as "print threshold".
The example below shows a syslog that printed a message for Ethernet Port Manager (ETHPM),
which has a default level of 5. Since the below message is a level 5, it meets the logging level
"threshold".
which has a default level of 5. Since the below message is a level 5, it meets the logging level
"threshold".
Nexus(config)# int e 3/1
Nexus(config−if)# shut
2013 Jan 25 21:42:07 Nexus %ETHPORT−5−IF_DOWN_ADMIN_DOWN:
Interface Ethernet3/1 is down (Administratively down)
If you change the level to 3, the messages are no longer printed. This can severely hinder the ability to
troubleshoot.
troubleshoot.
Nexus(config−if)# logging level ethpm 3
Nexus(config)# int e 3/1
Nexus(config−if)# no shut
Nexus(config−if)# sh log last 1
2013 Jan 25 21:42:07 Nexus %ETHPORT−5−IF_DOWN_ADMIN_DOWN:
Interface Ethernet3/1 is down (Administratively down)
•