The commands to configure coredump on the GSR are below. The below is the slot number for the linecard for which coredump is being configured:
1.Upgrade linecard to the latest rommon:
upgrade rom slot
2.The configuration required for coredump is:
exception protocol ftp
exception dump
# example: exception dump 10.255.254.254
exception suffix slot-number
exception linecard slot
# example: exception linecard 4
exception linecard slot core-file
# example: exception linecard slot 1 core-file /tftpboot/user1/lc
# example: exception linecard slot 4 core-file /tftpboot/user2/lc4
exception linecard slot main 64 M
ip ftp source-interface Ethernet0
ip ftp username user1
ip ftp password xxx
exception core-file
# example: exception core-file /tftpboot/user1/sk1