Options

Copying Image from Switch-to-Switch help

Danielh22185Danielh22185 Member Posts: 1,195 ■■■■□□□□□□
Okay so I am in the middle of researching this but thought I would post it while I am working on this as well.

Background:
One of my 3550s apparently has an older image code and im simply trying to copy over the code on one of my other switches to the one needing upgraded. I am trying to copy across the cross over cable connections. I believe also I need to make my one switch that has the correct image code a tftp server.

I am trying to think over what else I need to make this happen. I toyed with this a bit before the wife kicked me off the computer yesterday. I managed to configure the switch containing the image code I need as a TFTP server via the command: 'tftp server flash:' as well as I enabled the interfaces connecting the two switches as routed interfaces and enabled OSPF to establish neighbor relationships between the two switches. Yet, none of my copy attempts seemed to have worked correctly.

Ideas?
Currently Studying: IE Stuff...kinda...for now...
My ultimate career goal: To climb to the top of the computer network industry food chain.
"Winning means you're willing to go longer, work harder, and give more than anyone else." - Vince Lombardi

Comments

  • Options
    HeeroHeero Member Posts: 486
    Why would you need OSPF? If they are both attached to the same layer 3 network (the p2p link, i'm assuming with a /30) then just have them communicate via the directly connected route.

    Basically, your first step is to successfully establish IP connectivity (can then ping each other). Then do the TFTP.
  • Options
    HondabuffHondabuff Member Posts: 667 ■■■□□□□□□□
    Install TFTP32 on you computer and copy the bin file from the good switch to your computer. Then connect your computer to the old switch and do the tftp copy command and upload the new IOS. Most of the time you will have to erase the contents in flash before you upload the new file or it will say you don't have enough space. Just don't power off the switch after you erase the bin file or you will be using xmodem to upload a new bin.
    “The problem with quotes on the Internet is that you can’t always be sure of their authenticity.” ~Abraham Lincoln
  • Options
    Danielh22185Danielh22185 Member Posts: 1,195 ■■■■□□□□□□
    Heero wrote: »
    Why would you need OSPF? If they are both attached to the same layer 3 network (the p2p link, i'm assuming with a /30) then just have them communicate via the directly connected route.

    Basically, your first step is to successfully establish IP connectivity (can then ping each other). Then do the TFTP.


    You are correct on that, and that is what I did at first but started going in circles when that did not work.

    Here are my attempts:
    1.) from to the loopback (ospf router id of the switch I am trying to obtain the file from) :


    DLS2#copy tftp: flash:
    Address or name of remote host [172.16.1.1]? 1.1.1.1
    Source filename [flash:c3550-ipservicesk9-mz.122-44.SE6.bin]? c3550-ipservicesk9-mz.122-44.SE6.bin
    Destination filename [c3550-ipservicesk9-mz.122-44.SE6.bin]?
    %Error opening tftp://1.1.1.1/c3550-ipservicesk9-mz.122-44.SE6.bin (No such file or directory)


    2.) And now at attempt from the directly connected layer 3 interface:
    Address or name of remote host [1.1.1.1]? 172.16.1.1
    Source filename [c3550-ipservicesk9-mz.122-44.SE6.bin]?
    Destination filename [c3550-ipservicesk9-mz.122-44.SE6.bin]?
    %Error opening tftp://172.16.1.1/c3550-ipservicesk9-mz.122-44.SE6.bin (No such file or directory)


    My configs:

    TFTP Server (switch)
    DLS1#sh runBuilding configuration...
    
    
    *Mar  1 00:42:03.283: %SYS-5-CONFIG_I: Configured from console by console
    Current configuration : 4394 bytes
    !
    version 12.2
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname DLS1
    !
    !
    no aaa new-model
    ip subnet-zero
    ip routing
    !
    !
    !
    crypto pki trustpoint TP-self-signed-3184326272
     enrollment selfsigned
     subject-name cn=IOS-Self-Signed-Certificate-3184326272
     revocation-check none
     rsakeypair TP-self-signed-3184326272
    !
    !
    crypto pki certificate chain TP-self-signed-3184326272
     certificate self-signed 01
      3082023D 308201A6 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
      31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
      69666963 6174652D 33313834 33323632 3732301E 170D3933 30333031 30303031
      30385A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
      4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 31383433
      32363237 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
      8100DD73 C85C61C4 563CBC32 A39A0447 FBB4E321 DC90EBD5 8B9B9A70 FB432798
      282D3176 C12B6FEF F534C892 542F5937 966897A2 04504318 D5AA533E 7BDF281F
      ED125446 5683F920 3B8B85AB B29F8D7C AC26C99D 125C1EE4 2D5D35C2 6F8D1052
      64F8FF44 EE181591 23866F46 7D076CEC D06F8DED 3C141C08 21AA9DF5 E3746193
      A6930203 010001A3 65306330 0F060355 1D130101 FF040530 030101FF 30100603
      551D1104 09300782 05444C53 312E301F 0603551D 23041830 1680146E 90E7BD00
      CFC68017 F58D332D 5CEE7628 D986D530 1D060355 1D0E0416 04146E90 E7BD00CF
      C68017F5 8D332D5C EE7628D9 86D5300D 06092A86 4886F70D 01010405 00038181
      00B32968 5F47D230 C5A4F504 52680DDC C2CB0943 F35957FC 559520E9 C1E31F0C
      4E9F4A2F BE0B2242 8200FBD9 88C7B355 B191B4A9 1B45BAD5 40B15554 4C79875A
      933CEEDA F8F3C897 289F06CF B7045488 9C28DC6A EE7EC606 85ADF1E8 7A6BCF0D
      2BB23EF2 865A2B49 4050AB89 601180D8 17F875D7 8B78A930 4715BD6E 8C522942 81
      quit
    !
    !
    spanning-tree mode pvst
    spanning-tree extend system-id
    !
    vlan internal allocation policy ascending
    !
    !
    !
    !
    !
    !
    interface Loopback0
     ip address 1.1.1.1 255.255.255.255
     ip ospf network point-to-point
    !
    interface FastEthernet0/1
     switchport mode dynamic desirable
    !
    interface FastEthernet0/2
     switchport mode dynamic desirable
    !
    interface FastEthernet0/3
     switchport mode dynamic desirable
    !
    interface FastEthernet0/4
     switchport mode dynamic desirable
    !
    interface FastEthernet0/5
     switchport mode dynamic desirable
    !
    interface FastEthernet0/6
     switchport mode dynamic desirable
    !
    interface FastEthernet0/7
     description Connection to ---> ALS1
     switchport mode dynamic desirable
    !
    interface FastEthernet0/8
     description Connection to ---> ALS1
     switchport mode dynamic desirable
    !
    interface FastEthernet0/9
     description Connection to ---> ALS2
     switchport mode dynamic desirable
    !
    interface FastEthernet0/10
     description Connection to ---> ALS2
     switchport mode dynamic desirable
    !
    interface FastEthernet0/11
     description Connection to ---> DLS2
     no switchport
     ip address 172.16.1.1 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet0/12
     description Connection to ---> DLS2
     switchport mode dynamic desirable
    !
    interface FastEthernet0/13
     switchport mode dynamic desirable
    !
    interface FastEthernet0/14
     switchport mode dynamic desirable
    !
    interface FastEthernet0/15
     switchport mode dynamic desirable
    !
    interface FastEthernet0/16
     switchport mode dynamic desirable
    !
    interface FastEthernet0/17
     switchport mode dynamic desirable
    !
    interface FastEthernet0/18
     switchport mode dynamic desirable
    !
    interface FastEthernet0/19
     switchport mode dynamic desirable
    !
    interface FastEthernet0/20
     switchport mode dynamic desirable
    !
    interface FastEthernet0/21
     switchport mode dynamic desirable
    !
    interface FastEthernet0/22
     switchport mode dynamic desirable
    !
    interface FastEthernet0/23
     switchport mode dynamic desirable
    !
    interface FastEthernet0/24
     switchport mode dynamic desirable
    !
    interface GigabitEthernet0/1
     switchport mode dynamic desirable
    !
    interface GigabitEthernet0/2
     switchport mode dynamic desirable
    !
    interface Vlan1
     ip address 192.168.1.1 255.255.255.0
     ip ospf network point-to-point
    !
    router ospf 1
     log-adjacency-changes
     network 1.1.1.1 0.0.0.0 area 0
     network 172.16.1.0 0.0.0.255 area 0
     network 192.168.1.0 0.0.0.255 area 0
    !
    ip classless
    ip http server
    ip http secure-server
    !
    !
    tftp-server flash:
    !
    control-plane
    !
    !
    line con 0
    line vty 0 4
     password cisco
     login
    line vty 5 15
     password cisco
     login
    
    
    


    Switch needing the image file:
    DLS2#sh run
    Building configuration...
    
    
    Current configuration : 2059 bytes
    !
    version 12.1
    no service pad
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname DLS2
    !
    !
    ip subnet-zero
    ip routing
    !
    !
    spanning-tree extend system-id
    !
    !
    !
    interface Loopback0
     ip address 2.2.2.2 255.255.255.255
    !
    interface FastEthernet0/1
     no ip address
    !
    interface FastEthernet0/2
     no ip address
    !
    interface FastEthernet0/3
     no ip address
    !
    interface FastEthernet0/4
     no ip address
    !
    interface FastEthernet0/5
     no ip address
    !
    interface FastEthernet0/6
     no ip address
    !
    interface FastEthernet0/7
     description Connection to ---> ALS2
     no ip address
    !
    interface FastEthernet0/8
     description Connection to ---> ALS2
     no ip address
    !
    interface FastEthernet0/9
     description Connection to ---> ALS1
     no ip address
    !
    interface FastEthernet0/10
     description Connection to ---> ALS1
     no ip address
    !
    interface FastEthernet0/11
     description Connection to ---> DLS1
     no switchport
     ip address 172.16.1.2 255.255.255.0
     ip ospf network point-to-point
    !
    interface FastEthernet0/12
     description Connection to ---> DLS1
     no ip address
    !
    interface FastEthernet0/13
     no ip address
    !
    interface FastEthernet0/14
     no ip address
    !
    interface FastEthernet0/15
     no ip address
    !
    interface FastEthernet0/16
     no ip address
    !
    interface FastEthernet0/17
     no ip address
    !
    interface FastEthernet0/18
     no ip address
    !
    interface FastEthernet0/19
     no ip address
    !
    interface FastEthernet0/20
     no ip address
    !
    interface FastEthernet0/21
     no ip address
    !
    interface FastEthernet0/22
     no ip address
    !
    interface FastEthernet0/23
     no ip address
    !
    interface FastEthernet0/24
     no ip address
    !
    interface GigabitEthernet0/1
     no ip address
    !
    interface GigabitEthernet0/2
     no ip address
    !
    interface Vlan1
     ip address 192.168.2.1 255.255.255.0
     ip ospf network point-to-point
    !
    router ospf 1
     log-adjacency-changes
     network 2.2.2.2 0.0.0.0 area 0
     network 172.16.1.0 0.0.0.255 area 0
     network 192.168.2.0 0.0.0.255 area 0
    !
    ip classless
    ip http server
    !
    !
    !
    !
    line con 0
    line vty 0 4
     password cisco
     login
    line vty 5 15
     password cisco
     login
    !
    end
    
    
    


    I can also ping and trace fine to the TFTP server/switch:



    DLS2#ping 1.1.1.1


    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
    DLS2#trace
    DLS2#traceroute 1.1.1.1


    Type escape sequence to abort.
    Tracing the route to 1.1.1.1


    1 172.16.1.1 0 msec 0 msec *
    Currently Studying: IE Stuff...kinda...for now...
    My ultimate career goal: To climb to the top of the computer network industry food chain.
    "Winning means you're willing to go longer, work harder, and give more than anyone else." - Vince Lombardi
  • Options
    Danielh22185Danielh22185 Member Posts: 1,195 ■■■■□□□□□□
    Hondabuff wrote: »
    Install TFTP32 on you computer and copy the bin file from the good switch to your computer. Then connect your computer to the old switch and do the tftp copy command and upload the new IOS. Most of the time you will have to erase the contents in flash before you upload the new file or it will say you don't have enough space. Just don't power off the switch after you erase the bin file or you will be using xmodem to upload a new bin.

    I may just go with this option.
    Currently Studying: IE Stuff...kinda...for now...
    My ultimate career goal: To climb to the top of the computer network industry food chain.
    "Winning means you're willing to go longer, work harder, and give more than anyone else." - Vince Lombardi
  • Options
    fredrikjjfredrikjj Member Posts: 879
    You may need to explicitly specify the file you are offering on the tftp server. E.g. Router1(config)#tftp-server flash:/c2500-js-l.122-10b

    Assuming of course that a 3550 switch works the same way as an old 2500 router.

    How To Copy a System Image from One Device to Another - Cisco
Sign In or Register to comment.