Using FTP for Core Dumps

来源:本站原创 CISCO 超过1,341 views围观 0条评论

 

To configure the router for a core dump using FTP, use the following commands in global configuration mode:

Command Purposes

Step 1 

Router(config)# ip ftp username username

(Optional) Configures the user name for FTP connections.

Step 2 

Router(config)# ip ftp password [type] password

(Optional) Specifies the password to be used for FTP connections.

Step 3 

Router(config)# exception protocol ftp

Specifies that FTP should be used for core dump file transfers.

Step 4 

Router(config)# exception dump ip-address

Configures the router to dump a core file to a particular server if the router crashes.

Step 5 

Router(config)# exception core-file filename

(Optional) Specifies the name to be used for the core dump file.

The following example configures a router to use FTP to dump a core file named "dumpfile" to the FTP server at 172.17.92.2 when it crashes.

ip ftp username redip ftp password blueexception protocol ftpexception dump 172.17.92.2exception core-file dumpfile

文章出自:CCIE那点事 http://www.jdccie.com/ 版权所有。本站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文链接:http://www.jdccie.com/?p=1683转载请注明转自CCIE那点事
如果喜欢:点此订阅本站
上篇文章:
下篇文章:
  • 相关文章
  • 为您推荐
  • 各种观点

暂时还木有人评论,坐等沙发!
发表评论

您必须 [ 登录 ] 才能发表留言!