Navigation
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Interpreting Messages Generated in Standard Format
- Interpreting Messages Generated in Structured-Data Format
Displaying a Log File from a Single-Chassis System
To display a log file stored on a single-chassis system, enter Junos OS CLI operational mode and issue the following commands:
user@switch> show log log-filenameuser@switch> file show log-file-pathname
By default, the commands display the file stored on the local Routing Engine.
The following example shows the output from the show log messages command:
user@switch1> show log messages Nov 4 11:30:01 switch1 newsyslog[2283]: logfile turned over due to size>128K Nov 4 11:30:01 switch1 newsyslog[2283]: logfile turned over due to size>128K Nov 4 11:30:06 switch1 chassism[952]: CM ENV Monitor: set fan speed is 65 percent for Fan 1 Nov 4 11:30:06 switch1 chassism[952]: CM ENV Monitor: set fan speed is 65 percent for Fan 2 Nov 4 11:30:06 switch1 chassism[952]: CM ENV Monitor: set fan speed is 65 percent for Fan 3 ... Nov 4 11:52:53 switch1 snmpd[944]: SNMPD_HEALTH_MON_INSTANCE: Health Monitor: jroute daemon memory usage (Management process): new instance detected (variable: sysApplElmtRunMemory.5.6.2293) Nov 4 11:52:53 switch1 snmpd[944]: SNMPD_HEALTH_MON_INSTANCE: Health Monitor: jroute daemon memory usage (Command-line interface): new instance detected (variable: sysApplElmtRunMemory.5.8.2292) ... Nov 4 12:08:30 switch1 rpdf[957]: task_connect: task BGP_100.10.10.1.6+179 addr 10.10.1.6+179: Can't assign requested address Nov 4 12:08:30 switch1 rpdf[957]: bgp_connect_start: connect 10.10.1.6 (Internal AS 100): Can't assign requested address Nov 4 12:10:24 switch1 mgd[2293]: UI_CMDLINE_READ_LINE: User 'jsmith', command 'exit ' Nov 4 12:10:27 switch1 mgd[2293]: UI_DBASE_LOGOUT_EVENT: User 'jsmith' exiting configuration mode Nov 4 12:10:31 switch1 mgd[2293]: UI_CMDLINE_READ_LINE: User 'jsmith', command 'show log messages
The following example shows the output from the file show command. The file in the pathname /var/log/processes
has been previously configured to include messages from the daemon
facility.
user@switch1> file show /var/log/processes
Feb 22 08:58:24 switch1 snmpd[359]: SNMPD_TRAP_WARM_START: trap_generate_warm: SNMP trap: warm start Feb 22 20:35:07 switch1 snmpd[359]: SNMPD_THROTTLE_QUEUE_DRAINED: trap_throttle_timer_handler: cleared all throttled traps Feb 23 07:34:56 switch1 snmpd[359]: SNMPD_TRAP_WARM_START: trap_generate_warm: SNMP trap: warm start Feb 23 07:38:19 switch1 snmpd[359]: SNMPD_TRAP_COLD_START: trap_generate_cold: SNMP trap: cold start ...
Related Documentation
- QFabric System, QFX Series standalone switches
- Interpreting Messages Generated in Standard Format
- Interpreting Messages Generated in Structured-Data Format
Published: 2014-07-28
Supported Platforms
Related Documentation
- QFabric System, QFX Series standalone switches
- Interpreting Messages Generated in Standard Format
- Interpreting Messages Generated in Structured-Data Format