Announcement

Collapse
No announcement yet.

My first post! I need help copying a Cisco IOS file.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • My first post! I need help copying a Cisco IOS file.

    Hello! First of all I LOVE this website!!!!

    Ok I am a Cisco rookie, well I have some experience, but very little.
    I have a Cisco 2948-LE at home and it needs to have the IOS file copied to it in ROMMON mode. I do not now the actual copy command for it. I have looked up in several places and only see the newer commands for newer switches/routers.
    I "Think" that I have all of the settings correct on it and just need to copy it!
    Here is the info.

    My Server, DNS Sever is 192.168.1.100
    TFTP Server 192.168.1.100

    Router 192.168.1.1
    I loaded the TFTP Program Solarwinds port 69, C:\TFTP-Root\cat4000-k8.8-4-11-GLX.bin is the file I need to copy, I think!
    PLEASE HELP!
    THANKS!



    PS1=rommon ! >
    BlockedTxQCount=1
    vitConsecTimeouts=2
    vitTimeouts=23
    InvalidPacketBufferCrcs=16062
    IP_SUBNET_MASK=255.255.255.0
    DEFAULT_GATEWAY=192.168.1.1
    DiagBootMode=post
    TFTP_SERVER=192.168.1.100
    TFTP_FILE=cat4000-k8.8-4-11-GLX.bin
    IP_ADDRESS=192.168.1.5
    DNS_SERVER=192.168.1.100
    gateway=192.168.1.1
    A=1
    en====en
    MemorySize=64
    ResetCause=198
    TmpfsAddr=2197815296
    TmpfsSize=12582912
    TmpfsDirectorySize=10240
    DiagFreePageLimit=12288
    AutobootStatus=fail
    ?=0
    WHICHBOOT=flash
    ROMVERSION=5.4(1)

  • #2
    Re: My first post! I need help copying a Cisco IOS file.

    Have you tried following Cisco's recommendations for recovering an OS? Using our mutual friend , I found this article at Cisco, which describes exactly what it sounds like you're trying to do:

    http://www.cisco.com/en/US/products/...80169696.shtml

    It doesn't use TFTP, it uses Xmodem through the console port, rather than trying to use network addresses to do the TFTP thing. It's slower, but it doesn't require any other cable connections than the console cable you connect with.

    Then again, another look with different search parameters came up with this article, maybe even more relevant, since it uses TFTP from inside ROMMON:

    http://www.802consult.com/?p=33

    As long as you're happy you have the correct CatOS version for your hardware (Layer 2 vs Layer 3 capable, FastEthernet vs GigabitEthernet ports, etc.), one of these ought to sort you out.
    *RicklesP*
    MSCA (2003/XP), Security+, CCNA

    ** Remember: credit where credit is due, and reputation points as appropriate **

    Comment


    • #3
      Re: My first post! I need help copying a Cisco IOS file.

      I actually found an online docment that showed me how to "undelete" the 3 files that where in there. I am now trying to figure out why the switch isn't communication correctly. I can't seem to ping anything, but the switch does show the ports connected.

      I thought I set my IP's up correctly, but it doesn't seem to be able to ping anything, which is strange. I want this
      switch to be 192.168.1.2
      The server is 192.168.1.100
      Any my router is 192.168.1.1

      I have the cross over cable in port 48 connected to my router.


      begin
      !
      #version 4.5(9)
      !
      set password $1$0o8Z$kblQiQ636AdJfWZskDibL1
      set enablepass $1$CBqb$v9vAASYwEQjdRCObEVooq/
      set prompt Cisco2948
      set length 24 default
      set logout 20
      set banner motd ^CC^C
      !
      #system
      set system baud 9600
      set system modem disable
      set system name Cisco2948-L3 Switch
      set system location basement
      set system contact
      !
      #snmp
      set snmp community read-only public
      set snmp community read-write private
      set snmp community read-write-all secret
      set snmp rmon disable
      set snmp trap disable module
      set snmp trap disable chassis
      set snmp trap disable bridge
      set snmp trap disable repeater
      set snmp trap disable vtp
      set snmp trap disable auth
      set snmp trap disable ippermit
      set snmp trap disable vmps
      set snmp trap disable entity
      set snmp trap disable config
      set snmp trap disable stpx
      set snmp trap disable syslog
      !
      #ip
      set interface sc0 1 0.0.0.0 0.0.0.0 0.0.0.0

      set interface sc0 up
      set interface sl0 0.0.0.0 0.0.0.0
      set interface sl0 down
      set interface me1 0.0.0.0 0.0.0.0 0.0.0.0

      set interface me1 down
      set arp agingtime 1200
      set ip redirect enable
      set ip unreachable enable
      set ip fragmentation enable
      set ip route 192.168.1.1 255.255.255.0 1
      set ip alias default 0.0.0.0
      set ip alias cisco2948switch 192.168.1.2
      !
      #Command alias
      !
      #dns
      set ip dns server 192.168.1.100 primary
      set ip dns server 4.2.2.3
      set ip dns enable
      set ip dns domain schwab.hazel.com
      !
      #tacacs+
      set tacacs attempts 3
      set tacacs directedrequest disable
      set tacacs timeout 5
      !
      #authentication
      set authentication login tacacs disable console
      set authentication login tacacs disable telnet
      set authentication enable tacacs disable console
      set authentication enable tacacs disable telnet
      set authentication login local enable console
      set authentication login local enable telnet
      set authentication enable local enable console
      set authentication enable local enable telnet
      !
      #vtp
      set vtp mode server
      set vtp v2 disable
      set vtp pruning disable
      set vtp pruneeligible 2-1000
      clear vtp pruneeligible 1001-1005
      !
      #spantree
      #uplinkfast groups
      set spantree uplinkfast disable
      #backbonefast
      set spantree backbonefast disable
      #vlan 1
      set spantree enable 1
      set spantree fwddelay 15 1
      set spantree hello 2 1
      set spantree maxage 20 1
      set spantree priority 32768 1
      #vlan 1003
      set spantree enable 1003
      set spantree fwddelay 15 1003
      set spantree hello 2 1003
      set spantree maxage 20 1003
      set spantree priority 32768 1003
      #vlan 1005
      set spantree enable 1005
      set spantree fwddelay 15 1005
      set spantree hello 2 1005
      set spantree maxage 20 1005
      set spantree priority 32768 1005
      !
      #cgmp
      set cgmp disable
      set cgmp leave disable
      !
      #syslog
      set logging console enable
      set logging server disable
      set logging level cdp 2 default
      set logging level mcast 2 default
      set logging level dtp 5 default
      set logging level earl 2 default
      set logging level fddi 2 default
      set logging level ip 2 default
      set logging level pruning 2 default
      set logging level snmp 2 default
      set logging level spantree 2 default
      set logging level sys 5 default
      set logging level tac 2 default
      set logging level tcp 2 default
      set logging level telnet 2 default
      set logging level tftp 2 default
      set logging level vtp 2 default
      set logging level kernel 2 default
      set logging level filesys 2 default
      set logging level drip 2 default
      set logging level pagp 5 default
      set logging level mgmt 5 default
      set logging level mls 5 default
      set logging level protfilt 2 default
      set logging level security 2 default
      set logging server facility LOCAL7
      set logging server severity 4
      set logging buffer 500
      set logging timestamp enable
      !
      #ntp
      set ntp broadcastclient disable
      set ntp broadcastdelay 3000
      set ntp client disable
      clear timezone
      set summertime disable
      !
      #set boot command
      set boot config-register 0x10f
      set boot system flash bootflash:
      !
      #permit list
      set ip permit disable
      set ip permit 192.168.1.0 255.255.255.0
      !
      #protocolfilter
      set protocolfilter disable
      !
      #standby ports
      set standbyports disable
      !
      #switch port analyzer
      !set span 1 1/1 both inpkts disable
      set span disable
      !
      #cam
      set cam agingtime 1,1003,1005 300
      end
      Cisco2948 (enable)


      Please help!

      Comment


      • #4
        Re: My first post! I need help copying a Cisco IOS file.

        Problem #1 is your cable--you only use/need a crossover between 2 of the same type of device, when you talk about switches & routers. If you're connecting 1 switch to another switch, that's when you'd use a crossover. So 1 switch to 1 router is a STRAIGHT cable. But as more modern kit almost all has auto-MDX, it may be nothing. But, worth a try.

        As for the addressing, etc.: I will admit up front I have Zero experience with CatOS, just IOS at this point. But is the IP address assigned corectly thru the 'ip alias' command? In IOS, I'd put that ip on a VLAN, don't know about your OS. And are you sure the cable you're using is in the correct port, as interface sc1 is up with all-zeros ip, and all the other interfaces are down.

        If the command is the same for both operating systems, run 'sh int status' and see whether the ports you've got something plugged into are up as you suspect. If they are, then see if the router and switch can see each other at Layer 2 by running 'sh cdp neighbor'. If the Layer 2 link is working, you'll see the router identified and port info for both ends.

        If anyone else with more experience can recommend any better suggestions, feel free!
        *RicklesP*
        MSCA (2003/XP), Security+, CCNA

        ** Remember: credit where credit is due, and reputation points as appropriate **

        Comment

        Working...
        X