Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

[ACX] Data Collection Checklist - Logs/data to collect for


troubleshooting
Article ID KB27251 Created 2013-04-09 Last Updated 2013-08-07

Description
Data Collection and Troubleshooting Guides can help with issue investigation
as well as reduce resolution time. Each issue may require a different set of
data to collect. This article contains a list of what to collect, as well as pointers
to Resolution Guides and references on how to collect the data.

Symptoms

What information should I collect to assist in troubleshooting, prior to


opening a case?
The goal of this document is to reduce the time spent on initial data collection
and reduce resolution time by providing a comprehensive list of what to
collect or gather to troubleshoot an issue.

Solution

This section contains the following:


Data to Collect for all configurations
Additional Data to Collect
References

Caveats and tips:


Traceoptions require additional system resources to gather and store
data:
Please ensure you have enough disk space when enabling
traceoptions
Gauge current system utilization before enabling traceoptions
“ show chassis routing- engine ”
Instead of using “flag all” you can flag specific areas of interest
Delete all traceoptions that are not needed for immediate debugging
Don’t forget to remove traceoptions after data collection is
completed
To deactivate paging (output stopping each page requiring you to press
space bar) you can:
Run “set cli screen-length 0” for this to apply for all commands for

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 1 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

your sessions
Add the “| no-more” option at the end of a command

Data to Collect for all configurations:

Regardless of configuration, all cases will benefit by attaching the session


captures, request information output, and logs when initially opening the case.
If you need to investigate an intermittent concern (for example slow transfers
at peak hours) please be sure to collect this data at the time of the problem.

1. Provide all SSH / Telnet session captures


2. Provide any available topology information
Background 3. Summary of how the device is being used (production, lab system, co-location, etc)
information 4. Summary of device history (new install, production for X months/years, other recent
cases, etc)
5. Summary of any recent changes in the network or on the device

1. Enter: request support information | save /var/log/rsi1.log


Request 2. Once step #1 completes, wait enough time to ensure that the condition you wish to
support address continues/appears before proceeding to the next step.
info 3. Enter: request support information | save /var/log/rsi2.log
All
Configurations
Archive the /var/log/ contents:

See References section for the following:


How to gather the data

Additional Data to Collect:

In addition, collect the data shown below for the following issues:
Jump to:

BGP
OSPF
Multicast
MPLS
L3 VPN
L2 VPN
CoS
Firewall Filters
SNMP
High CPU
1588
SyncE

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 2 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

set cli timestamp


show bgp summary
show bgp group
show bgp neighbor
show route next-hop database
show route protocol bgp
show route protocol bgp terse
show route receive-protocol bgp
show route advertising-protocol
bgp
show route advertising-protocol
bgp <neighbor-address>
extensive
Show show route receive-protocol bgp
commands: <neighbor-address>
show route forwarding-table
show route resolution
unresolved
show route hidden
show route community <reg-ex>
show route terse community-name
<name>
show route damping
show route aspath-regex "regex"
show route damping
BGP [history|decayed|surpressed]
monitor traffic interface XX-
X/X/X size 4096 detail

Logs: /var/log/messages

set protocols bgp traceoptions


file bgp.tr
set protocols bgp traceoptions
file size 5m
set protocols bgp traceoptions
file files 5
set protocols bgp traceoptions
flag all
set routing-instances bgp-ri
Traceoptions:
protocols bgp traceoptions file
bgp.tr
Caveats
set routing-instances bgp-ri
protocols bgp traceoptions file
size 5m
set routing-instances bgp-ri
protocols bgp traceoptions file
files 5
set routing-instances bgp-ri
protocols bgp traceoptions flag
all

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 3 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

[ Back to Top ]

(If OSPF is running in a routing instance,


specify which instance where applicable)
set cli timestamp
show ospf overview
show ospf database
show ospf neighbor detail
show ospf route
Show
show ospf statistics
commands:
show ospf interface
show ospf log
show route protocol ospf
show route <x.x.x.x> extensive
show ospf database summary
show ospf database extensive
show bfd session

Logs: /var/log/messages

(use below for inet.0 default instance)


set protocols ospf traceoptions
OSPF file ospf.tr
set protocols ospf traceoptions
file size 5m
set protocols ospf traceoptions
file files 5
set protocols ospf traceoptions
flag all

Traceoptions: (use below for routing instances)


set routing-instances ospf-vr
Caveats protocols ospf traceoptions
file ospf-vr.tr
set routing-instances ospf-vr
protocols ospf traceoptions
file size 5m
set routing-instances ospf-vr
protocols ospf traceoptions
file files 5
set routing-instances ospf-vr
protocols ospf traceoptions
flag all

[ Back to Top ]

General
show multicast route
show multicast statistics
show multicast sessions
show multicast usage
show multicast interface

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 4 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

show multicast next-hops


show multicast rpf summary
show interface <if-name>
extensive
IGMP
show igmp group detail
Show
show igmp statistics
commands:
show igmp interface detail
PIM
show pim statistics
show pim neighbors
show pim rps detail
show pim join extensive
Multicast show pim bootstrap
show pim source detail
MSDP
show msdp source-active
show msdp detail
show msdp statistics

Logs: /var/log/messages

set protocols pim|igmp|msdp


traceoptions file multicast-
proto.tr
set protocols pim|igmp|msdp
traceoptions file size 5m
Traceoptions:
set protocols pim|igmp|msdp
traceoptions file files 5
Caveats
set protocols pim|igmp|msdp
traceoptions flag all

enable traceoptions for either


of PIM, IGMP, MSDP

[ Back to Top ]

show mpls interface


show mpls lsp
show mpls lsp extensive
show mpls lsp ingress
show mpls lsp transit
show ted database
RSVP
show rsvp interface
show rsvp neighbor
Show show rsvp session
commands: show rsvp session ingress
show rsvp version
show route table mpls.0
show route table inet.3
LDP
show ldp neighbors

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 5 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

show ldp session


show ldp database [session
peer]

Logs: /var/log/messages
MPLS
set protocols mpls|ldp|rsvp
traceoptions file mpls.tr
set protocols mpls|ldp|rsvp
traceoptions file size 5m
set protocols mpls|ldp|rsvp
traceoptions file files 5
set protocols mpls|ldp|rsvp
traceoptions flag all

Traceoptions: set protocols mpls label-


switched-path <lsp-name>
Caveats traceoptions file mpls-lsp.tr
set protocols mpls label-
switched-path <lsp-name>
traceoptions file size 5m
set protocols mpls label-
switched-path <lsp-name>
traceoptions file files 5
set protocols mpls label-
switched-path <lsp-name>
traceoptions flag all

[ Back to Top ]

show route table <vpn-a>


show route table <vpn-a> hidden
show route forwarding-table vpn
<vpn-a>

ping x.x.x.x routing-instance


<vpn-a>
traceroute x.x.x.x routing-
instance <vpn-a>
telnet x.x.x.x routing-instance
<vpn-a>
ping mpls l3vpn <vpn-a> prefix
<prefix>
CLI
commands: show route table bgp.l3vpn.0
show route advertising-protocol
L3 VPN bgp x.x.x.x
show route receive-protocol bgp
x.x.x.x
show arp

OSPF VPN commands

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 6 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

show ospf interface instance


<vpn-a>
show ospf neighbor instance
<vpn-a>
show ospf database instance
<vpn-a>

Logs: None

Traceoptions: None

[ Back to Top ]

Martini
show l2circuit connections
CLI
extensive
commands:
show ldp neighbor detail
L2 VPN show ldp database detail

Logs: None

Traceoptions: None

[ Back to Top ]

show interface xx-x/x/x detail

show interface queue xx-x/x/x


both-ingress-egress
show interfaces XX-X/X/X
extensive

show class-of-service
interfaces XX-X/X/X
show class-of-service code-
point-aliases
show class-of-service code-
point-aliases dscp
show class-of-service code-
point-aliases inet-prec
show class-of-service code-
CLI point-aliases exp
commands: show class-of-service
forwarding-class
CoS show class-of-service
classifier [name]
show class-of-service
scheduler-map
show class-of-service rewrite-
rule
show class-of-service drop-
profile
show class-of-service

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 7 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

forwarding-table
show class-of-service
forwarding-table classifier
mapping
show class-of-service
forwarding-table scheduler-map

Logs: None

Traceoptions: None

[ Back to Top ]

show interfaces filters


show firewall
show firewall filter <filter-
name>
show firewall filter <name>
CLI
prefix-action <psa-name> from 1
commands:
to 8
show firewall log
Firewall
show log <log-file-name>
Filters
show policer
show interface policer XX-X/X/X

show log /var/tmp/ <sample


Logs: file>
show log sampled

Traceoptions: None

[ Back to Top ]

set show interface terse


show route table inet6
CLI
show ipv6 neighbor
commands:
show interface lo0 extensive |
IPv6 display xml

Logs: None

Traceoptions: None

[ Back to Top ]

set cli timestamp


show configuration snmp
show snmp statistics extensive
# Multiple time with polling
activity.
show snmp mib walk <oid>
show snmp mib walk ipfragfails
show interface lo0 extensive

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 8 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

show system processes extensive


| no-more # Multiple time with
polling activity.
show chassis routing-engine |
no-more # Multiple time with
polling activity.
CLI show system commit | no-more
commands: show system statistics #
Multiple time with polling
activity.
SNMP
show system buffers # Multiple
time with polling activity.
show system core-dumps
show route <ip of NMS server>
ping <ip of NMS server> source
<snmp source ip> count 500
rapid show pfe statistics
traffic # Multiple time with
polling activity.
show interface extensive | no-
more
show system process extensive |
no-more

Logs: None

set snmp traceoptions file snmp


Traceoptions: files 10 size 50m
set snmp traceoptions flag all

[ Back to Top ]

set cli timestamp


show chassis routing-engine
(multiple snapshots, atleast 5)
show system processes extensive
(multiple snapshots atleast 5)
show system users
show system connections
show system statistics

Turn on task accounting and


collect the task accounting
detail output
(three times with a gap of 30
seconds).
CLI Don't forget to turn it off
commands: once done.

set task accounting on


show task accounting detail
set task accounting off

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 9 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

High CPU
show task memory detail
show task memeory summary
show task io
show task history
show task statistics
show task job
show task jobs
show krt queue
show krt state

Logs: None

user@router# show routing-


options
traceoptions {
file routing-trace size 10m
Traceoptions: files 20 world-readable;
flag task;
flag state;
flag timer;
}

[ Back to Top ]

show ptp lock-status


show ptp clock
CLI
show ptp global-information
commands:
show ptp port detail
1588 show ptp statistics detail

Logs: None

Traceoptions: None

[ Back to Top ]

show configuration interfaces


CLI show synchronous-ethernet esmc
commands: Show synchronous-ethernet
global-infromation
SyncE
Logs: show log clksyncd

set protocols clock-synchronization


Traceoptions:
traceoptions flag all

[ Back to Top ]

References:
How to:

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 10 of 11
[ACX] Data Collection Checklist - Logs/data to collect for troubleshooting 05/06/24, 9:36 PM

Tar / Zip / Archive data collection - KB17228 - [Junos] How to collect


/var/log files from Routing Engine (RE)
Upload collected data:
Files smaller than 10MB can be attached to the case
Files greater than 10MB, refer to KB23337 - How to upload large
files to a JTAC Case

Related Information

How to Contact Support

AFFECTED PRODUCT SERIES / FEATURES

https://supportportal.juniper.net/s/article/ACX-Data-Collection-Checklist-Logs-data-to-collect-for-troubleshooting?language=en_US Page 11 of 11

You might also like