cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1123
Views
0
Helpful
3
Replies

config file from tftp at startup (6509 with Sup720)

ralph.erhardt
Level 1
Level 1

Hi together

I will download the config file for my 6509 with Sup720 from a TFTP Server.

I have configerd the GigabitEthernet 5/2, so I can ping the tftp-server. Also I'm able to down&upload files to the tftp-server.

The configuration looks like:

...

hostname Testrouter

!

boot host tftp run 192.168.88.250

boot network tftp run 192.168.88.250

...

interface GigabitEthernet5/2

switchport

no ip address

media-type rj45

...

interface Vlan1

ip address 192.168.88.9 255.255.255.0

...

The service config command is also set!

The big problem is, the router comes up normaly and do not access the tftp-server in any way :-(

Have anyone a idea?

Thanks a lot in advance

Cheers Ralph

3 Replies 3

lgijssel
Level 9
Level 9

This is from the command lookup tool:

boot host

To specify the host-specific configuration file to be used at the next system startup, use the boot host command in global configuration mode. To restore the host configuration filename to the default, use the no form of this command.

boot host remote-url

no boot host remote-url

Syntax Description

remote-url

Location of the configuration file. Use the following syntax:

•ftp:[[[//[username[:password]@]location]/directory]/filename]

•rcp:[[[//[username@]location]/directory]/filename]

•tftp:[[[//location]/directory]/filename]

Defaults

If you do not specify a filename using this command, the router uses its configured host name to request a configuration file from a remote server. To form the configuration filename, the router converts its name to all lowercase letters, removes all domain information, and appends -confg or -config.

Looking at the config, you might have not correctly specified the required file.

regards,

Leo

I have done it now in this way, but without any improvement! :-(

Here is my config:

(I found the ip tftp ? command!)

hostname Router

!

boot host tftp://192.168.88.250/run

boot network tftp://192.168.88.250/run

!

no aaa new-model

ip subnet-zero

!

!

!

ip tftp source-interface GigabitEthernet5/2

ip tftp boot-interface GigabitEthernet5/2

!

interface GigabitEthernet5/2

ip address 192.168.88.9 255.255.255.0

media-type rj45

!

ip default-gateway 192.168.88.250

I'm able to ping the TFTP Server...

Router#ping 192.168.88.250

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.88.250, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

Router#

Have anyone any idea??

Cheers Ralph

ralph.erhardt
Level 1
Level 1

I have done it now in this way, but without any improvement! :-(

Here is my config:

(I found the ip tftp ? command!)

hostname Router

!

boot host tftp://192.168.88.250/run

boot network tftp://192.168.88.250/run

!

no aaa new-model

ip subnet-zero

!

!

!

ip tftp source-interface GigabitEthernet5/2

ip tftp boot-interface GigabitEthernet5/2

!

interface GigabitEthernet5/2

ip address 192.168.88.9 255.255.255.0

media-type rj45

!

ip default-gateway 192.168.88.250

I'm able to ping the TFTP Server...

Router#ping 192.168.88.250

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.88.250, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

Router#

Have anyone any idea??

Cheers Ralph