TechTutorials - Free Computer Tutorials  

Cisco CCNA Security Training: Using the “binary file” command 

Added: 08/28/2009, Hits: 5,774, Rating: 0, Comments: 0, Votes: 0
Add To Favorites | Comment on this article
In today’s article, I’m going to inform you about the Cisco IOS tti-registrar configuration mode command named “binary file”.

CCNAs (like you) use the “binary file” command to specify the binary file location on the registrar and the destination binary file location on the petitioner.

In other words, you can use the command to specify the location where a binary file will be retrieved from the registrar and then copied to the petitioner during a Trusted Transitive Introduction (TTI) exchange.

Note: It’s possible to have nine binary files being transferred, and each one having a different source and destination location.

Below is the command’s syntax:

binary file sourceURL destinationURL

As you can see, the command uses a source and destination URL argument.

sourceURL – This argument is used to specify the source URL on the registrar from which to retrieve the binary fie.

destinationURL – And, this argument is used to specify the destination URL on the petitioner for which the binary file will be placed.

Below are the Source and Destination URL keywords with their descriptions:

archive:-- Retrieves from the archive location.

cns:-- Retrieves from the Cisco Networking Services (CNS) configuration engine.

disk0:-- Retrieves from disk0.

disk1:-- Retrieves from disk1

flash:-- Retrieves from flash memory.

ftp:-- Retrieves from the FTP network server.

http:-- Retrieves from a HTTP server.

https:-- Retrieves from a Secure HTTP (HTTPS) server.

null:-- Retrieves from the file system.

nvram:-- Retrieves from the NVRAM of the router

rcp:-- Retrieves from a remote copy (rcp) protocol network server.

scp:-- Retrieves from a network server that supports Secure Shell (SSH).

system:-- Retrieves from system memory, which includes the running configuration.

tar:-- Retrieves from a compressed file in tar format.

tftp:-- Retrieves from a TFTP network server.

tmpsys:-- Retrieves from a temporary system location.

unix:-- Retrieves from the UNIX system location.

usbtoken:-- Retrieves from the USB token

Below is an example of the command being used:

Router#configure terminal
Router(config)#crypto provisioning registrar
Router(tti-registrar)#pki-server cs1
Router(tti-registrar)#binary file http://myserver/file1 usbtoken0://file1
Router(tti-registrar)#binary file http://myserver/file2 flash://file2
Router#copy run start

In the example above, we are specifying on the registrar where the source binary files are located and where the binary files will be copied to on the petitioner.

By the way, if you decide to use the command, make sure your router(s) is running Cisco IOS 12.4(15)T or higher.

I hope this article was very informative and helped you quickly understand the usage of the binary file command. If you need to learn more; I suggest you visit my website, ( were you’ll find the latest information regarding the Cisco CCNA (640-553) Security exam techniques.

To your success,

Charles Ross
CCNA- CCNP #CSCO10444244

Comments (0)

Be the first to comment on this article

Related Items

7 Seconds Resources, Inc.