You are on page 1of 7

Router Bringup

Sourav Basu (sourabas@cisco.com)


Fabric Team
2020-Sep-01
Router
Bring-up: Booting the Image

Basic Commands
Agenda
Basic Traces/Logging Techniques

GDB/Memory leak Debugging Tools


Ways to Boot a Router:
• PXE Boot (Preboot Execution Environment –
BOOTP/DHCP/TFTP/UEFI)
Booting • eMMC (Internal Disk)
Router • USB Boot (Physical Access Needed)
https://wiki.cisco.com/display/XRFABRIC/How+t
o+USB+Boot+a+Router+from+USB+Stick
show platform

show version

show inventory

show logging

show install <>

BASIC
show tech-support <>

Show processes <>

Commands dumpcore running <> location 0/RP0/CPU0

Show interfaces <>

Config t / load <>

run <linux native command>

Show running-config

Output modifiers (include/exclude/file/begin/utility – cut/sort/uniq/tail/more/wc/egrep)


show logging

Basic dmesg
Traces/Loggi ctrace
ng
Techniques /var/log/syslog

show tech-support <>


GDB/Memory Leak Debugging Tools
• GDB - /ws/sourabas-bgl/scripts/libs.sh
• PAM (http://web-gdb/cgi-bin/pam_gdb.cgi)
• PAM Live GDB (http://web-gdb/cgi-bin/livegdb/index.cgi)
• Icore (http://icore.cisco.com:8090/)
• Valgrind (https://wiki.cisco.com/display/XRARM/valgrind)
Thank You !!

You might also like