Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Cisco problem configuring IP on interface

Options
  • 14-03-2009 12:16pm
    #1
    Registered Users Posts: 5,514 ✭✭✭


    Hi,

    Just wondering if anyone could shed some light on this problem. When I go to configure an ip on an interface, there's no "address" setting?
    SWITCH1>enable
    SWITCH1#config
    Configuring from terminal, memory, or network [terminal]?
    Enter configuration commands, one per line. End with CNTL/Z.
    SWITCH1(config)#interface fastethernet0/48
    SWITCH1(config-if)#ip ?
    Interface IP configuration subcommands:
    access-group Specify access control for packets
    dhcp DHCP
    igmp IGMP interface commands
    igmp IGMP interface commands

    SWITCH1(config-if)#

    When I do the same on another switch
    SWITCH1#config
    Configuring from terminal, memory, or network [terminal]?
    Enter configuration commands, one per line. End with CNTL/Z.
    SWITCH1(config)#interface fastethernet0/24
    SWITCH1(config-if)#ip ?
    Interface IP configuration subcommands:
    access-group Specify access control for packets
    accounting Enable IP accounting on this interface
    address Set the IP address of an interface
    broadcast-address Set the broadcast address of an interface
    cef Cisco Express Fowarding interface commands
    dhcp Configure DHCP parameters for this interface
    directed-broadcast Enable forwarding of directed broadcasts
    helper-address Specify a destination address for UDP broadcasts
    irdp ICMP Router Discovery Protocol
    load-sharing Style of load sharing
    local-proxy-arp Enable local-proxy ARP
    mask-reply Enable sending ICMP Mask Reply messages
    mtu Set IP Maximum Transmission Unit
    probe Enable HP Probe support
    proxy-arp Enable proxy ARP
    rarp-server Enable RARP server for static arp entries
    redirects Enable sending ICMP Redirect messages
    rip Router Information Protocol
    route-cache Enable fast-switching cache for outgoing packets
    security DDN IP Security Option
    split-horizon Perform split horizon
    summary-address Perform address summarization
    unnumbered Enable IP processing without an explicit address
    unreachables Enable sending ICMP Unreachable messages
    verify Enable per packet validation
    vrf VPN Routing/Forwarding parameters on the interface

    SWITCH1(config-if)#

    I've reset the switch etc and even when I do the initial setup and setup the management IP and save the config, it says
    "invalid input detected" at the "address"

    Can commands be removed/deleted from IOS?


Comments

  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    Okay, how much Cisco experience do you have? - I don't want to sound mean (im no expert but you need to do a bit of reading about this).

    What IOS you running?
    Can you do a show version and paste here?

    Eitherway the IP configuration options on Cisco gear has always remained pretty much the same (at the basic level at least).


    I assume that you want the IP address of interface fastethernet0/48 ?

    Here you go:
    enable

    show ip int fa0/48


    If I misunderestood you question please elaborate a little more.

    Cheers,

    iRock


  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    If you want to configure an IP address on that interface (for example 192.168.1.10/24) you would do this:
    enable

    config t

    int fa0/48

    ip address 192.168.1.10 255.255.255.0

    no shut

    exit

    wr


    :)

    I sleep with this next to my bed:
    http://www.cisco.com/en/US/products/ps6350/prod_command_reference_list.html



    iRock


  • Registered Users Posts: 5,514 ✭✭✭Sleipnir


    HI iRock, thanks for the response.

    I am by no means an expert but I can find my way around the IOS, configure an IP etc. It's IOS 12.1.19.

    What I mean is the "address" sub-command seems to be actually missing from the IP command e.g. when I enter the commands in the just same way as you suggested, here's what's returned;
    SWITCH1>enable
    Password:
    SWITCH1#config t
    Enter configuration commands, one per line. End with CNTL/Z.
    SWITCH1(config)#int fa0/48
    SWITCH1(config-if)#ip address 192.168.1.253 255.255.255.0
    ^
    % Invalid input detected at '^' marker.

    (The marker actually appears under "address")
    If I use the help command after "IP" it only returns the following subcommands.

    SWITCH1(config-if)#
    SWITCH1(config-if)#ip ?
    Interface IP configuration subcommands:
    access-group Specify access control for packets
    dhcp DHCP
    igmp IGMP interface commands
    igmp IGMP interface commands

    Am I doing something stupid? Usually when something odd like this happens, it's because I'm doing something stupid.


  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    Thats weird... at least for me (but then again I've only worked with 12.3 up!

    I'd do a show run and analyze it. Do a show ip int bri and see what IP addresses are assigned if any.

    Try doing a show IP route... just incase its corrupt IOS.

    Other than that... I'd try the Cisco learning network to post... alot of CCIE's over there that may be more familiar with your IOS version.

    https://cisco.hosted.jivesoftware.com/main-threads.jspa


    HTH,

    iRock


  • Closed Accounts Posts: 2,039 ✭✭✭rmacm


    Depending on the model of the switch and the IOS you have there can be differences in the command sets e.g. on a 2960 I get the same thing when I go to configure an interface.

    But if I do something like the below I do have access to the ip address command.
    Switch>enable
    Switch#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    Switch(config)#interface vlan 1
    Switch(config-if)#ip ?
      address  Set the IP address of an interface
    Switch(config-if)#ip 
    

    I tested this with a simulator that was running IOS 12.2....might have a 12.3 image somewhere but I'm too hungover to look now.


  • Advertisement
  • Registered Users Posts: 5,514 ✭✭✭Sleipnir


    I have another 3560 with the same image on it and I can configure IP's on the interface on it! Same again on a 3550.
    This is driving me mental.


  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    Corrupt IOS? - Unlikely... maybe a stupid suggestion.

    Can you delete the flash and load the IOS again from TFTP?


  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    I want to know what the problem is now... if this still isn't working later, post back and I'll load the IOS on some of my gear.


  • Registered Users Posts: 5,514 ✭✭✭Sleipnir


    Hi IRock, had a couple of Chimay blue and i can't face that switch now.

    (Oh, there you are switch. How long have to been standing there. Me? Nothing. Just....on boards. Please don't look at me like that. Please......I can....still...feel THE BURNINGS!!!!!

    Corrupt IOS, well maybe but if I go to configure the VLAN1 interface, I do have the option to set an IP address, but still not on the physical interfaces. So, were my interfaces not in VLAN1? Nope, they're in there alright.
    Deleted vlan.dat off the flash anyway, recreated VLAN info (which re-writes the file), no joy.
    I just can't figure it but I still think it's some simple settings. Something that's turned on...or isn't.


  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    Sleipnir wrote: »

    Corrupt IOS, well maybe but if I go to configure the VLAN1 interface, I do have the option to set an IP address, but still not on the physical interfaces. So, were my interfaces not in VLAN1? Nope, they're in there alright.
    Deleted vlan.dat off the flash anyway, recreated VLAN info (which re-writes the file), no joy.


    I would have said delete the vlan.dat next ..... according to the book thats what you should do :eek:

    Anyway, can you load that IOS with the same config in Dynamips? I know its not "identical" but do you have the same problem?

    Highly unlikely its corrupt, if it was corrupt you'd be having plain stupid issues with it - my imagination runs away with me sometimes. :D


  • Advertisement
  • Registered Users Posts: 5,514 ✭✭✭Sleipnir


    HI iRock, thanks for the suggestion. I think I'll do that next and see what it shows.

    Cheers.


  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    Sleipnir wrote: »
    HI iRock, thanks for the suggestion. I think I'll do that next and see what it shows.

    Cheers.

    I need to wake up... this is a switch. you cant do that in dynamips :(


  • Registered Users Posts: 5,514 ✭✭✭Sleipnir


    Simple, therefore, as I said before, I was doing something stupid i.e. "no switchport" Layer2..Layer3...:o

    I ain't kidding when I say that this has affected my relationship with my girlfriend.
    "I'm reading a book cos you're still dicking around with that ****ing doohickey. Nevermind the noise it makes........"
    I have my eye on a fanless HP Procurve now but I'll keep the Cisco cos I'm getting to like it.

    I won't get into the problems I had with DHCP due to the fact that I need a wireless DHCP on the same subnet as well but I've learned more about IOS in the last month than in the last 10 years.
    Now all I need is that 20m satellite cable and I can get my ethernet-wired house on the net! :D

    Guys, can't overestimate the help you've given me. Thank you:)


  • Registered Users Posts: 1,629 ✭✭✭NullZer0


    I've had some serious torture over

    "switchport trunk nonegotiate"

    and other L2 stuff like that - I know the feeling!
    It cracks me up!


Advertisement