揭秘Cisco NBAR封杀BT和电驴下载
norvel-network#dir /allDirectory of flash:/
1-rw- 15824768 <no date>3600_12_3(22)(fc2).bin
33030140 bytes total (17205308 bytes free)
norvel-network#show flash all
Partition>
1 32255K15453K 16802K 8192K Read/Write Direct
System flash directory:
FileLength Name/status
addr fcksumccksum
1 158247683600_12_3(22)(fc2).bin
0x40 0x89AC0x89AC
32768K bytes of processor board System flash (Read/Write)
Chip Bank Code >
1 1 01AD 2048KB AMD 29F016
2 1 01AD 2048KB AMD 29F016
3 1 01AD 2048KB AMD 29F016
4 1 01AD 2048KB AMD 29F016
1 2 01AD 2048KB AMD 29F016
2 2 01AD 2048KB AMD 29F016
3 2 01AD 2048KB AMD 29F016
4 2 01AD 2048KB AMD 29F016
1 3 01AD 2048KB AMD 29F016
2 3 01AD 2048KB AMD 29F016
3 3 01AD 2048KB AMD 29F016
4 3 01AD 2048KB AMD 29F016
1 4 01AD 2048KB AMD 29F016
2 4 01AD 2048KB AMD 29F016
3 4 01AD 2048KB AMD 29F016
4 4 01AD 2048KB AMD 29F016
norvel-network#copy tftp flash//采用TFTP协议,复制TFTP文件到路由器flash中
Address or name of remote host []? 192.168.10.10//TFTP服务器的IP地址
Source filename []? bittorrent.pdlm//上传支持BT协议的PDLM,该文件要求要事先放置在TFTP的根目录下
Destination filename ?//上传后的目的文件名
Accessing tftp://192.168.10.10/bittorrent.pdlm...
Erase flash: before copying? n//一定要选择NO,不格式化Flash,否则PDLM是上传到Flash中了,Flash中的其他的文件都被格式化了
Loading bittorrent.pdlm from 192.168.10.10 (via Ethernet0/3): !
Verifying checksum...OK (0x7C83)
3100 bytes copied in 0.332 secs (9337 bytes/sec)
norvel-network#show flash//查看flash确认已经上传成功
System flash directory:
FileLength Name/status
1 158247683600_12_3(22)(fc2).bin
2 3100 bittorrent.pdlm
32768K bytes of processor board System flash (Read/Write)
按照上面的相同方法,如果您的设备flash空间已经满了,无法存放PDLM,你可以按同理
将PDLM上传到NVRAM中,PDLM文件本身都比较小,不用担心占用太多的空间
norvel-network#dir nvram:
Directory of nvram:/
25-rw- 3612 <no date>startup-config
26---- 5 <no date>private-config
1-rw- 0 <no date>ifIndex-table
2---- 12 <no date>persistent-data
30712 bytes total (24995 bytes free)
norvel-network#copy tftp nvram:
Address or name of remote host []? 192.168.10.10
Source filename []? eDonkey.pdlm
Destination filename ?
Accessing tftp://192.168.10.10/eDonkey.pdlm...
Loading eDonkey.pdlm from 192.168.10.10 (via Ethernet0/3): !
3492 bytes copied in 9.784 secs (357 bytes/sec)
也可以上传到NVRAM中
norvel-network#dir nvram:
Directory of nvram:/
25-rw- 3612 <no date>startup-config
26---- 5 <no date>private-config
1-rw- 0 <no date>ifIndex-table
2---- 12 <no date>persistent-data
3-rw- 3492 <no date>eDonkey.pdlm
30712 bytes total (20899 bytes free)
上传完毕切记需要保存,保存到闪存中,防止无意间重启丢弃PDLM
norvel-network#write memory
页:
[1]