cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
281
Views
4
Helpful
4
Replies

How to move text file to AP803 flash??

Cpt Mocha
Level 1
Level 1

I'm working with Cisco 819's and 829's that need a large configuration file for the AP803 side of the box. The engineers that developed the current setup procedure tells us to open a session (service-module wlan-ap 0 session) then copy and paste the lines from the configuration file into the terminal! I don't like this method because it's messy and prone to mistakes. Also there are so many lines that they keyboard buffer usually chokes, so we have to copy/paste in chunks which further increases potential for mistakes.

I've been searching online for hours. Isn't there any method to copy a text file from the router's flash: to the AP803 flash: and then do a "copy flash:file.txt startup-config"? I don't understand why this is easy for the router side but not for the AP803 side. Thanks.

1 Accepted Solution

Accepted Solutions

Cpt Mocha
Level 1
Level 1

I figured this out. Here's how I did it.

Service laptop ethernet adapter is setup with IP 192.168.99.1, subnet mask 255.255.255.0, and gateway 192.168.99.2

At the IR800 prompt:

enable
config t
int gi1
switchport access vlan 99
int vlan99
ip address 192.168.99.2 255.255.255.0
int wlan-gigabitethernet0
switchport access vlan 99
no ip address
interface wlan-ap0
ip address 192.168.100.2 255.255.255.0
no shutdown
end

copy tftp: startup-config

Address or name of remote host []? 192.168.99.1
Source filename []? Router.txt
Destination filename [startup-config]?

 

Open a session to the AP803:

service-module wlan-ap 0 session

config t
interface BVI1
ip address 192.168.99.3 255.255.255.0
no shutdown
exit
interface Dot11Radio0
shutdown
exit
interface Dot11Radio1
shutdown
exit
ip default-gateway 192.168.99.1
end

copy tftp: startup-config

Address or name of remote host []? 192.168.99.1
Source filename []? Wifi.txt
Destination filename [startup-config]?

 

After this, go back to the router side and type "reload". Answer "yes" when asked to reload the internal AP, answer "no" when asked if you want to save the config of the AP. Done.

 

View solution in original post

4 Replies 4

marce1000
Hall of Fame
Hall of Fame

 

  - @Cpt Mocha      Refhttps://www.cisco.com/c/en/us/support/docs/routers/829-industrial-integrated-services-routers/215357-recover-an-ir829-where-the-embedded-ap80.html
                             >...There is no easy possibility to copy files from the flash: that is accessible on the IR829's IOS to the flash: accessible by the embedded AP803.

                            Presumably the procedure could in theory be used to get a configuration on the flash too provided it is embedded in a tar file but it would be tedious and cumbersome,

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Joseph W. Doherty
Hall of Fame
Hall of Fame

I've been searching online for hours. Isn't there any method to copy a text file from the router's flash: to the AP803 flash: and then do a "copy flash:file.txt startup-config"? I don't understand why this is easy for the router side but not for the AP803 side.

Possibly, it might be easy on the AP side too.  Much depends on the AP IOS.

The router and AP, basically, are two different physical devices in the same physical box.  So, each's internal resources, like flash, are not directly assessible by the other.  However, like other different network devices, they can intercommunicate across the network.  Physically, the network is a link within the physical box.

@marce1000 reference demonstrates usage of this link by loading the AP IOS via it.

So, the question is, whether AP IOS supports other copy functions.

What you want to check, with AP IOS, whether external resources are copy options and/or whether AP IOS supports a server (e.g. ftp) function.  If either supported, it may be easy to copy in the large configuration text.

Cpt Mocha
Level 1
Level 1

I figured this out. Here's how I did it.

Service laptop ethernet adapter is setup with IP 192.168.99.1, subnet mask 255.255.255.0, and gateway 192.168.99.2

At the IR800 prompt:

enable
config t
int gi1
switchport access vlan 99
int vlan99
ip address 192.168.99.2 255.255.255.0
int wlan-gigabitethernet0
switchport access vlan 99
no ip address
interface wlan-ap0
ip address 192.168.100.2 255.255.255.0
no shutdown
end

copy tftp: startup-config

Address or name of remote host []? 192.168.99.1
Source filename []? Router.txt
Destination filename [startup-config]?

 

Open a session to the AP803:

service-module wlan-ap 0 session

config t
interface BVI1
ip address 192.168.99.3 255.255.255.0
no shutdown
exit
interface Dot11Radio0
shutdown
exit
interface Dot11Radio1
shutdown
exit
ip default-gateway 192.168.99.1
end

copy tftp: startup-config

Address or name of remote host []? 192.168.99.1
Source filename []? Wifi.txt
Destination filename [startup-config]?

 

After this, go back to the router side and type "reload". Answer "yes" when asked to reload the internal AP, answer "no" when asked if you want to save the config of the AP. Done.

 

That's exactly the possible approach I was suggesting.

I.e. you treat the combo box, as two physical devices, and do a "copy" transfer across the "network" (the latter being the network "link" between the router component and the AP component).

As I also predicted, if the IOS supported the needed copy options, it would be easy.