所有命令
address [addr] set IP address of the PIX interface on which
the TFTP server resides
file [name] set boot file name
gateway [addr] set IP gateway
help this help message
interface [num] select TFTP interface
ping <addr> send ICMP echo
reload halt and reload system
server [addr] set server IP address
tftp TFTP download
timeout TFTP timeout
trace toggle packet tracing
address [addr] set IP address of the PIX interface on which
the TFTP server resides
file [name] set boot file name
gateway [addr] set IP gateway
help this help message
interface [num] select TFTP interface
ping <addr> send ICMP echo
reload halt and reload system
server [addr] set server IP address
tftp TFTP download
timeout TFTP timeout
trace toggle packet tracing
1.设置连接服务器的接口
默认开始会列出所有接口
0: i8255X @ PCI(bus:0 dev:14 irq:10)
1: i8255X @ PCI(bus:0 dev:13 irq:11)
2: i8255X @ PCI(bus:0 dev:19 irq:5 )
选择连接服务器的接口,例如 0
interface 0
注意 必须连接好线缆才能选择成功分配mac地址
2.设置接口ip
address 192.168.0.1
3.设置服务器ip
server 192.168.0.2
4.设置传输文件的名字
file np63.bin(具体型号上次具体版本的文件)
5.开始tftp
tftp
总结 命令都很简单,主要作用是设置变量,最终用tftp命令开始传输文件