Data Collection and Troubleshooting Guides can help with issue investigation as well as reducing resolution time. Each issue might require a different set of data to collect. This article contains a list of data to collect as well as pointers to Resolution Guides and references on how to collect the data.
On an EX Series Switch or a QFX Series Switch, what information should I collect to assist in troubleshooting, before 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.
Note: Your feedback is welcome on the format of the Data Collection Checklist.
This section contains the following:
Caveats and tips:
Trace options require additional system resources to gather and store data:
"show chassis routing-engine
To deactivate paging (output stopping each page requiring you to press the space bar) you can:
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.
request support information | save /var/log/rsi1.log
request support information | save /var/log/rsi2.log
file archive compress source /var/log/* destination /var/tmp/CURRENT-DATE.tgz
/var/log/
file list /var/tmp/CURRENT-DATE.tgz detail
See the References section for the following:
In addition, collect the data shown below for the following issues:
Jump to:
Aggregated - LACP BFD BGP CoS DHCP dot1X ERP (protection-group) EX8200 Fabric Plane Firewall Filters High CPU IPv6 ISIS L2 VPN L3 VPN MPLS Multicast NTP OAM OSPF PoE RIP SNMP Spanning Tree Virtual Chassis VLAN VRRP
show interfaces terse | match ae show interfaces statistics show ethernet-switching table | match xx-x/x/x show lacp interfaces show lacp statistics interfaces xx-x/x/x show interface extensive
set protocols lacp traceoptions file lacp.tr set protocols lacp traceoptions file size 5m set protocols lacp traceoptions file files 5 set protocols lacp traceoptions flag all
[ Back to Top ]
show bfd session brief show bfd session show bfd session summary show bfd session detail show bfd session discriminator brief show bfd session discriminator detail address
set protocols bfd traceoptions file bfd.tr set protocols bfd traceoptions file size 5m set protocols bfd traceoptions file files 5 set protocols bfd traceoptions flag all
set cli timestamp show bgp summary show bgp group show bgp neighbor show route next-hop show route protocol bgp all show route receive-protocol bgp < peer address> extensive show route advertising-protocol bgp extensive show route forwarding-table show route resolution unresolved show route community show route damping [history|decayed|surpressed] show route aspath-regex monitor traffic interface XX-X/X/X size 4096 detail
/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 protocols bgp traceoptions file bgp.tr 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
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-point-aliases exp show class-of-service forwarding-class 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 forwarding-table show class-of-service forwarding-table classifier mapping show class-of-service forwarding-table scheduler-map
set class-of-service traceoptions file class-of-service.tr set class-of-service traceoptions file size 5m set class-of-service traceoptions file files 5 set class-of-service traceoptions flag all
show configuration | display set | match dhcp show system services dhcp binding detail show system services dhcp client show system services dhcp pool detail show interfaces terse show dhcp snooping binding vlan show dhcp snooping binding interface xx-x/x/x monitor traffic interface xx-x/x/x
show dot1x authentication-bypassed-users show dot1x authentication-failed-users show dot1x static-mac-address show dot1x statistics show dot1x interface brief show dot1x interface detail
set protocols dot1x traceoptions file dot1x.tr set protocols dot1x traceoptions file size 5m set protocols dot1x traceoptions file files 5 set protocols dot1x traceoptions flag all
show configuration protocols protection-group show ethernet-switching interfaces xx-x/x/x show protection-group ethernet-ring interface brief show protection-group ethernet-ring interface detail show protection-group ethernet-ring node-state show protection-group ethernet-ring statistics show protection-group ethernet-ring configuration
set protocols protection-group traceoptions file protection-group.tr set protocols protection-group traceoptions file size 5m set protocols protection-group traceoptions file files 5 set protocols protection-group traceoptions flag all
show chassis environment cb show chassis alarms
show chassis hardware show chassis fabric summary show chassis fabric map show chassis fabric fpc show chassis fabric plane show class-of-service fabric statistics
show pfe statistics traffic
show log messages show log chassisd
show chassis fabric statistics detail show chassis fabric asic-configuration plane
show interfaces filters show firewall show firewall filter show firewall log show policy conditions
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 show task memory detail show task memory summary show task io show task history show task statistics show task job show task jobs show krt queue show krt state
user@router# show routing-options traceoptions { file routing-trace size 10m files 20 world-readable; flag task; flag state; flag timer; }
show interface terse show route table inet6 show ipv6 neighbor show interface lo0 extensive | display xml
set cli timestamp show isis adjacency show isis adjacency extensive show isis interface show isis hostname show isis spflog show isis statistics show isis route show route protocol isis show isis database show isis database detail show bfd session show route forwarding-table
set protocols isis traceoptions file rip.tr set protocols isis traceoptions file size 5m set protocols isis traceoptions file files 5 set protocols isis traceoptions flag all set routing-instances isis-vr protocols isis traceoptions file isis.tr set routing-instances isis-vr protocols isis traceoptions file size 5m set routing-instances isis-vr protocols isis traceoptions file files 5 set routing-instances isis-vr protocols isis traceoptions flag all
show l2vpn connections extensive show route table
show route advertising-protocol bgp x.x.x.x show route receive-protocol bgp x.x.x.x show route table mpls.o show route forwarding-table family mpls
show route table show route table hidden show route forwarding-table vpn ping x.x.x.x routing-instance traceroute x.x.x.x routing-instance telnet x.x.x.x routing-instance ping mpls l3vpn prefix show route advertising-protocol bgp x.x.x.x show route receive-protocol bgp x.x.x.x show arp OSPF VPN commands show ospf interface instance show ospf neighbor instance show ospf database instance
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 rsvp session show rsvp session ingress show rsvp version show route table mpls.0 show route table inet.3 LDP show ldp neighbors show ldp session show ldp database [session peer]
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 set protocols mpls label-switched-path traceoptions file mpls-lsp.tr set protocols mpls label-switched-path traceoptions file size 5m set protocols mpls label-switched-path traceoptions file files 5 set protocols mpls label-switched-path traceoptions flag all
General show multicast route show multicast sessions show multicast usage show multicast interface show multicast next-hops show multicast rpf summary show interface extensive IGMP show igmp group detail show igmp statistics show igmp interface detail PIM show pim statistics show pim neighbors show pim rps detail show pim join extensive show pim bootstrap show pim source detail MSDP show msdp source-active show msdp detail show msdp statistics
set protocols pim|igmp|msdp traceoptions file multicast-proto.tr set protocols pim|igmp|msdp traceoptions file size 5m set protocols pim|igmp|msdp traceoptions file files 5 set protocols pim|igmp|msdp traceoptions flag all enable traceoptions for either of PIM, IGMP, MSDP
show ntp associations show ntp status show version show system uptime
show configuration protocols oam show oam ethernet link-fault-management brief show oam ethernet link-fault-management detail show oam ethernet link-fault-management vlan detail show oam ethernet connectivity-fault-management adjacencies show oam ethernet connectivity-fault-management interfaces brief show oam ethernet connectivity-fault-management interfaces detail show oam ethernet connectivity-fault-management interfaces vlan
set protocol oam ethernet link-fault-management traceoptions file link-fault.tr set protocol oam ethernet link-fault-management traceoptions file size 5m set protocol oam ethernet link-fault-management traceoptions file files 5 set protocol oam ethernet link-fault-management traceoptions flag all set protocol oam ethernet connectivity-fault-management traceoptions file connect-fault.tr set protocol oam ethernet connectivity-fault-management traceoptions file size 5m set protocol oam ethernet connectivity-fault-management traceoptions file files 5 set protocol oam ethernet connectivity-fault-management traceoptions flag all
(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 ospf statistics show ospf interface (brief | detail | extensive) show ospf log show route protocol ospf show route extensive show ospf database summary show ospf database extensive show bfd session
set protocols ospf traceoptions file ospf.tr set protocols ospf traceoptions file size 5m set protocols ospf traceoptions file files 5 set protocols ospf traceoptions flag all
set routing-instances ospf-vr 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
show configuration poe show poe controller show poe interface show interfaces terse show poe notification-control show poe telemetries interface xx-x/x/x all
set cli timestamp show rip neighbor show route protocol rip show route advertising-protocol rip extensive show route receive-protocol rip extensive show rip statistics show route forwarding-table show route resolution unresolved
set protocols rip traceoptions file rip.tr set protocols rip traceoptions file size 5m set protocols rip traceoptions file files 5 set protocols rip traceoptions flag all set routing-instances rip-vr protocols rip traceoptions file rip.tr set routing-instances rip-vr protocols rip traceoptions file size 5m set routing-instances rip-vr protocols rip traceoptions file files 5 set routing-instances rip-vr protocols rip traceoptions flag all
set cli timestamp show configuration snmp show snmp statistics # Multiple time with polling activity. show snmp mib walk show interface lo0 extensive show system processes extensive | no-more # Multiple time with polling activity. show chassis routing-engine | no-more # Multiple time with polling activity. show system commit | no-more show system statistics # Multiple time with polling activity. show system buffers # Multiple time with polling activity. show system core-dumps show route ping source count 500 rapid show pfe statistics traffic # Multiple time with polling activity. show interface extensive | no-more
set snmp traceoptions file snmp files 10 size 50m set snmp traceoptions flag all
show configuration protocols show spanning-tree bridge brief show spanning-tree bridge detail show spanning-tree statistics show spanning-tree interface show ethernet-switching mac-learning-log
set protocols stp traceoptions file stp.tr set protocols stp traceoptions file size 5m set protocols stp traceoptions file files 5 set protocols stp traceoptions flag all
show configuration vlans show vlans brief show vlans show vlans summary show interfaces terse | match in
show configuration protocols vrrp show vrrp brief show vrrp detail show vrrp interface xx-x/x/x show vrrp track summary show vrrp track detail
set protocol vrrp traceoptions file vrrp.tr set protocol vrrp traceoptions file size 5m set protocol vrrp traceoptions file files 5 set protocol vrrp traceoptions flag all
show version show configuration virtual-chassis show virtual-chassis status show virtual-chassis vc-port all-members show virtual-chassis mode show virtual-chassis protocol interface show virtual-chassis protocol statistics
set virtual-chassis traceoptions file virtual-chassis.tr set virtual-chassis traceoptions file size 5m set virtual-chassis traceoptions file files 5 set virtual-chassis traceoptions flag all
How to:
Tar / Zip / Archive data collection:
Upload collected data:
Resolution Guides : KB9936 - JTAC Certified step-by-step troubleshooting flowcharts and articles [juniper.net]
Technical Bulletins: EX Series (login to see more)
For more information on Technical Bulletins, see KB9890 - How do I subscribe to a technical bulletin so I can I get email alerts regarding product issues, new product release announcements and security or safety issues [juniper.net]?
02/14/2020: Article reviewed for accuracy; minor, non-technical edits.09/10/2024: Corrected minor grammar errors | Added SNMP questions to get some background
10/20/2024: Added trace options for DHCP