Chapter 5: Using AutoInstall

1.Enable TFTP on a server. Consult your host vendor's TFTPserve documentation and RFCs 906 and 783.

2.If you want to use a network-confg or cisconet.cfg file to resolve the new router's name, create the network-confg or cisconet.cfg file containing an IP address-to-host name mapping for the new router.

Enter the ip host command into the TFTP config file, not into the router. The IP address must match the IP address that is to be dynamically obtained by the new router, or if you want to use DNS to resolve the new router's name, create an address-to-name map- ping entry for the new router in the DNS database. The IP address must match the IP address that is to be dynamically obtained by the new router.

ip host hostname address

Contact the DNS administrator or refer to RFCs 1101 and 1183.

3. Create th name-confg or name.cfg file, which should reside in th tftpboot directory on the TFTP server. The name part of name- confg or name.cfg filename must match the host name you as- signed for the new router in the previous step. Enter configuration commands for the new router into this file.

The name-confg or the name.cfg file can contain either the new router's full configuration or a minimal configuration.

The minimal configuration file is a virtual terminal password and an enable password. It allows an administrator to gain access (via Telnet into the new router to configure it. If you are using BOOTP or RARP to resolve the address of the new router, the minimal configuration file must also include the IP address to be obtained dynamically using BOOTP or RARP.

You can use the copy running-config tftp command to help you gen- erate the configuration file that you will download during the AutoIn- stall process.

Note:

The existing router might need to forward TFTP requests

 

and response packets if the TFTP server is not on the

 

same network segment as the new router. When you

 

modified the existing router's configuration, you specified

 

an IP helper address for this purpose.

You can save a minimal configuration under a generic newrouter- confg file. Use the ip host command in the network-confg or cisco- net.cfg file to specify newrouter as the host name with the address you dynamically resolve. The new router should then resolve its IP ad dress, host name, and minimal configuration automatically. Use Tel-

August 1997

Page 5-15

2524UM

 

Page 81
Image 81
AIS AI2524 user manual Existing router might need to forward Tftp requests, Response packets if the Tftp server is not on