- play_arrow Overview
- play_arrow Operation, Administration, and Management Features
- play_arrow Ethernet OAM and Connectivity Fault Management for Routers
- Introduction to OAM Connectivity Fault Management (CFM)
- Configure Connectivity Fault Management (CFM)
- CFM Action Profile
- Ethernet Local Management Interface
- CFM Support for CCC Encapsulated Packets
- Configure Unified ISSU for 802.1ag CFM
- CFM Monitoring between CE and PE Devices
- Configure Continuity Check Messages
- Example: Configure Ethernet CFM on Physical Interfaces
- Example: Configure Ethernet CFM on Bridge Connections
- Example: Configure Ethernet CFM over VPLS
- play_arrow Link Fault Management for Routers
- play_arrow Ethernet OAM Link Fault Management for Switches
- play_arrow Ethernet OAM Connectivity Fault Management for Switches
- play_arrow Ethernet Frame Delay
- Ethernet Frame Delay Measurements on Switches
- Configure MEP Interfaces on Switches to Support Ethernet Frame Delay Measurements (CLI Procedure)
- Configure One-Way Ethernet Frame Delay Measurements on Switches (CLI Procedure)
- Configure an Iterator Profile on a Switch (CLI Procedure)
- Trigger an Ethernet Frame Delay Measurement Session on a Switch
- Configure Two-Way Ethernet Frame Delay Measurements on Switches (CLI Procedure)
- play_arrow Ethernet Service OAM (ITU-TY.1731) for Routers
- ITU-T Y.1731 Ethernet Service OAM Overview
- Configure Ethernet Frame Delay Measurement Sessions
- Configuring MEP Interfaces to Support Ethernet Frame Delay Measurements
- Configure Ethernet Frame Loss Measurement
- Configure an Iterator Profile
- Configure Ethernet Synthetic Loss Measurements
- Ethernet Alarm Indication
- Inline Transmission Mode
-
- play_arrow Network Monitoring by using SNMP
- SNMP Architecture and SNMP MIBs Overview
- Understand SNMP Implementation in Junos OS
- Configure SNMP in Junos OS
- Configure Options on Managed Devices for Better SNMP Response Time
- Enterprise Specific Utility MIB to Enhance SNMP Coverage
- Optimize the Network Management System Configuration for the Best Results
- Interfaces to Accept SNMP Requests
- Configure SNMP for Routing Instances
- Configure SNMP Remote Operations
- SNMP Traps
- SNMP Traps Supported by Junos OS
- Trace SNMP Activity
- Access Privileges for an SNMP Group
- Configure Local Engine ID on SNMPv3
- Configure SNMPv3
- Configure SNMPv3 Authentication Type and Encryption Type
- SNMPv3 Traps
- SNMPv3 Informs
- SNMP Communities
- MIB Views
- SNMP MIBs Supported by Junos OS and Junos OS Evolved
- Junos OS SNMP FAQs
- play_arrow Remote Network Monitoring (RMON) with SNMP Alarms and Events
- play_arrow Accounting Options
- play_arrow Monitoring Options
- play_arrow Interface Alarms
- play_arrow IP Monitoring
- play_arrow sFlow Monitoring Technology
- play_arrow Adaptive Sampling for Routers and Switches
- play_arrow Packet Flow Accelerator Diagnostics Software
-
- play_arrow Monitoring Common Security Features
- play_arrow Performance Management
- play_arrow Port Mirroring
- play_arrow Port Mirroring and Analyzers
- Port Mirroring and Analyzers
- Configuring Port Mirroring and Analyzers
- Configuring Port Mirroring Instances
- Configuring Port Mirroring on Physical Interfaces
- Configuring Port Mirroring on Logical Interfaces
- Configuring Port Mirroring for Multiple Destinations
- Configuring Port Mirroring for Remote Destinations
- Configuring Port Mirroring Local and Remote Analysis
- 1:N Port Mirroring to Multiple Destinations on Switches
- Example: Configure Port Mirroring with Family any and a Firewall Filter
- Monitoring Port Mirroring
- Configure Packet Mirroring with Layer 2 Headers for Layer 3 Forwarded Traffic
- Troubleshooting Port Mirroring
-
- play_arrow System Log Messages
- play_arrow Configuration Statements and Operational Commands
Compressing Troubleshooting Logs from /var/logs to Send to Juniper Networks Technical Support
Problem
Description
You have collected logs on your device and need to send them to Juniper Networks Technical Support. This topic shows you how to compress the logs into a single file for each Routing Engine to more conveniently send the logs.
Solution
You can compress all the log files in the /var/log directories of the primary and backup (if present) Routing Engines into a single tgz file for each Routing Engine, which enables you to send the logs to JTAC in a convenient package. You can use either the CLI or the command shell to perform these tasks; because of its ease of use, only the CLI version is shown here.
Access the device through the management IP address or console, typically on the primary Routing Engine, RE0.
content_copy zoom_out_mapuser@host>
Archive and compress all the log files on RE0 and put them in /var/tmp.
content_copy zoom_out_mapuser@host> file archive compress source /var/log/* destination /var/tmp/re0.tgz /usr/bin/tar: Removing leading `/' from member names
Confirm that the compressed archive file has been created.
content_copy zoom_out_mapuser@host> file list /var/tmp baseline-config.conf gres-tp idp_license_info install jinstall-12.2-20120328.0-domestic-signed.tgz krt_gencfg_filter.txt preinstall_boot_loader.conf re0.tgz rtsdb sec-download vi.recover
On devices with a single Routing Engine, skip to Step 10.
Log in to the backup Routing Engine, RE1, and access the CLI.
Note:1 is appended to the hostname in the prompt to signify that you are on RE1.
content_copy zoom_out_mapuser@host> request routing-engine login backup % cli user@host11>
Archive and compress all the log files on RE1 and put them in /var/tmp.
content_copy zoom_out_mapuser@host1> file archive compress source /var/log/* destination /var/tmp/re1.tgz /usr/bin/tar: Removing leading `/' from member names
Confirm that the compressed archive file has been created.
content_copy zoom_out_mapuser@host1> file list /var/tmp baseline-config.conf gres-tp idp_license_info install jinstall-12.2-20120328.0-domestic-signed.tgz krt_gencfg_filter.txt preinstall_boot_loader.conf re1.tgz rtsdb sec-download vi.recover %
Exit the remote login to the backup Routing Engine to return to the primary Routing Engine. Note that the previously appended 1 is removed from the hostname in the prompt to signify that you are back on RE0.
content_copy zoom_out_mapuser@host1> exit rlogin: connection closed user@host1>
Copy the compressed archive file from RE1 to RE0.
content_copy zoom_out_mapuser@host> file copy re1:/var/tmp/re1.tgz /var/tmp
Confirm the presence of the copied file.
content_copy zoom_out_mapuser@host> file list /var/tmp baseline-config.conf gres-tp idp_license_info install jinstall-12.2-20120328.0-domestic-signed.tgz krt_gencfg_filter.txt preinstall_boot_loader.conf re0.tgz re1.tgz rtsdb sec-download vi.recover %
Copy the files directly from the primary Routing Engine to any local host using FTP, SCP, JWEB, or (on some devices) a mounted USB.