DHCP on Cisco Catalyst 2950 Switch

Hello
I need to configure my cisco catalyst 2950 series switch in order to act as DHCP server for devices connected to its ports.
Please say me, how to do that ?
Thank you
Narek

Please find the sample DHCP configuration for one of the VLANs.
Interface Vlan1
description Cisco DHCP
ip address 10.10.2.1 255.255.255.0
ip dhcp pool cisco
network 10.10.2.0 255.255.255.0
default-router 10.10.2.1
domain-name mydomain.com
dns-server 10.10.2.10
netbios-name-server 10.10.2.15
lease 7
A 24 hour lease is the default if left out and the netbios-name-server is WINS in the Windows world.
If you want to use DHCP server for other VLANs as well create similar DHCP pools and assign the DG to the corresponding VLAN interface IP.
HTH, rate if it does
Narayan

Similar Messages

  • RARP Server for Catalyst 2950 Switch

    Is there a RARP Server capability for the Cisco Catalyst 2950 Switch? I know that Cisco Routers support an "ip rarp-server" command. Do Cisco Switches support RARP?

    To the best of my knowledge, the RARP protocol is working with cisco 2950 switch and also it supports in most of the cisco products.
    http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a00800f0804.shtml

  • Catalyst 2950 Switch flash_init error

    Hi Everyone,
    I'm new to Cisco products and have a small home lab set up. I have a Catalyst 2950 switch that I would like to restore to factory defaults. Here is the issue I'm having and can't figure out.
    I pull the power, telnet into the console port, hold the mode button and restore power. The boot loader (Version 12.1(11r) starts and says the usual message the system was interrupted prior to flash initialization (Paraphrasing here)
    I get to the switch: command line, enter flash_init. Flash states it initialized and then all I get is a < with an underscore under it prompt. Anything I try to type comes up as bizarre characters and I can not get back to a switch: prompt unless I reboot the switch manually. Unsure of what to do here.
    Thanks in advance!
    -Matt
    Telnet session:
    C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
    Compiled Mon 22-Jul-02 18:57 by antonino
    WS-C2950T-24 starting...
    Base ethernet MAC Address: 00:06:52:bb:c9:40
    Xmodem file system is available.
    The system has been interrupted prior to initializing the
    flash filesystem.  The following commands will initialize
    the flash filesystem, and finish loading the operating
    system software:
        flash_init
        load_helper
        boot
    switch: flash_init
    Initializing Flash...
    flashfs[0]: 4 files, 2 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 7741440
    flashfs[0]: Bytes used: 3726848
    flashfs[0]: Bytes available: 4014592
    flashfs[0]: flashfs fsck took 7 seconds.
    ...done initializing flash.
    Boot Sector Filesystem (bs:) installed, fsid: 3
    Parameter Block Filesystem (pb:) installed, fsid: 4
    õíííííí   <---These characters appear no matter what keys I hit.

    Hi mattymattlynch
    Check the workaround on the following documents:
    http://www.cisco.com/c/en/us/support/docs/switches/catalyst-2950-series-switches/41845-192.html
    http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_22_ea11x/configuration/guide/scg/swtrbl.html
    If no luck , the flash might be corrupted and requires a replacement.
    Hope this helps
    -Randy-

  • Catalyst 2950 switch

    Hello,
    I am using a catalyst 2950 switch and connecting machines which have the operating system as TRU64 UNIX 5.1B (HP make DS25 servers) and WINDOWS XP Professional. The WINDOWS machines are getting connected on the network ( I am able to PING each other), but the UNIX machines are not getting connected on the network. The port LED on the switch is normal (GREEN). The netstat -r command on the UNIX machine shows default as defgw (/etc/routes) and the IP of defgw is defined in the /etc/hosts file. But there is actually no such gateway.
    Please help me to get the UNIX machines connected on the network.
    Thank You very Much
    Best Regards
    S R Vijayan

    I wonder if the Windows machines are configured to use DHCP? If they are configured for DHCP and there is a DHCP server that is reachable, then it explains why the Windows machines have reachability to each other. If there is not a DHCP server available then the Windows machines are probably taking addresses in 169.254 (which is the default for Windows when it can not acquire from DHCP). This would also explain the ability of Windows machines to communicate with each other. Can the original poster clarify what IP addresses the Windows machines are using?
    Then the question becomes how are the Unix machines configured? Are they supposed to use DHCP? Is so is the DHCP server reachable? If not how is the interface on the Unix box configured?
    I also think that the suggestion about verifying whether the switch is configured with more than one VLAN is an excellent suggestion.
    HTH
    Rick

  • Cisco Catalyst Blade Switch 3020

    Information about the Cisco Catalyst Blade Switch 3020
    Does it support  TCP SYN Flooding Attacks Mitigations Techniques
    As per the Request for Comments: 4987 

    Most of the common DOS attack mitigation strategies (good overview here) are configurable on the CBS 3020. There's no "one step lockdown" like the autosecure feature on routers but the configuration guide covers all of the details on setting the individual mechanisms (DHCP Snooping, DAI, IP source guard, etc.) you may wish to employ.

  • SNMP on Catalyst 2950 switch - possible?

    How can I add SNMP to my Catalyst 2950 switch? and what will this give me with regards to network monitoring etc. A lot of my networks go through this device and I what to get stats on port etc. I really hope you can help here.

    Hi Chandru,
    Here's what you should do. Firstly, go to the following site which will give you a list of MIBs supported on the 2950:
    http://www.cisco.com/en/US/products/hw/switches/ps628/products_configuration_guide_chapter09186a00800d84cc.html
    Then, open up the Cisco SNMP Object Navigator at:
    http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en
    Within that, click on 'View and Download MIBs' and then select the MIBs you are interested in to download/view them.
    As an example, you can get counters on memory pools from the CISCO-MEMORY-POOL-MIB
    Hope that helps - pls rate the post if it does.
    Regards,
    Paresh.

  • Cisco Catalyst 2950/2960/3750 Multicast Traffic Preference

    Hello all,
    we, as a student company act as an ISP for university dormitories. We would like to (if it's possible) deploy QoS to prefer multicast traffic over all other types of traffic. 
    Devices used in network:
    Acces layer: Cisco Catalyst 2950,  12.1(22)EA14
    Dristribution layer: Cisco Catalyst 2960G, 12.2(58)SE1 
    Core layer: Cisco Catalyst 3750G, 12.2(52)SE
    Do you see any possibility to solve this with these devices? We have almost no experience with QoS, therefore any help would be greatly appreciated. 
    Thanks in advance.

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Hmm, I think it should be doable although the 2950s, if non-E variants, are especially weak in QoS features.  I.e. those might create some issues.
    With the 2960G and 3750G, you often will create problems when you enable QoS because QoS, by default, allocates its buffers resources for 4 egress queues per port rather than using all for 1 egress queue per port.  However, this can be countered by QoS parameter tuning, but that takes some QoS expertize to match to your traffic and your overall QoS policy.

  • Cisco catalyst 2690 switch vlanTable

    Hi,
    I have a cisco catalyst 2690 switch.
    I want monitoring IP, MAC, and Port Address.
    I use this docu: http://docstore.mik.ua/orelly/perl/sysadmin/ch10_03.htm
    This works great:
    htvtef7-nagios:/ # snmptranslate -On BRIDGE-MIB:dot1dTpFdbTable
    .1.3.6.1.2.1.17.4.3
    snmpwalk -c tef7snmp@761 -v 2c 10.76.1.7 .1.3.6.1.2.1.17.4.3
    htvtef7-nagios:/ # snmptranslate -On BRIDGE-MIB:dot1dBasePortTable
    .1.3.6.1.2.1.17.1.4
    snmpwalk -c tef7snmp@761 -v 2c 10.76.1.7 .1.3.6.1.2.1.17.1.4
    htvtef7-nagios:/ # snmptranslate -On CISCO-STACK-MIB:vlanTable
    .1.3.6.1.4.1.9.5.1.9.2
    But I get a error:
    htvtef7-nagios:/ # snmpwalk -c tef7snmp -v 2c 10.76.1.7 .1.3.6.1.4.1.9.5.1.9.2
    SNMPv2-SMI::enterprises.9.5.1.9.2 = No Such Object available on this agent at this OID
    Switch config:
    snmp-server community testament RO
    snmp-server community tef7snmp RO
    snmp-server location XYZ
    snmp-server contact MR.XYZ
    snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
    snmp-server enable traps tty
    snmp-server enable traps cluster
    snmp-server enable traps entity
    snmp-server enable traps cpu threshold
    snmp-server enable traps vtp
    snmp-server enable traps vlancreate
    snmp-server enable traps vlandelete
    snmp-server enable traps flash insertion removal
    snmp-server enable traps port-security
    snmp-server enable traps envmon
    snmp-server enable traps mac-notification
    snmp-server enable traps copy-config
    snmp-server enable traps config
    snmp-server enable traps bridge newroot topologychange
    snmp-server enable traps stpx inconsistency root-inconsistency loop-inconsistency
    snmp-server enable traps syslog
    snmp-server enable traps vlan-membership
    snmp-server host XXX.XXX.XXX.XXX public
    snmp-server host YYY.YYY.YYY.YYY  tef7snmp
    What did I do wrong?
    THX!

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Normál táblázat";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    Thx for the replay!
    I use on the switch c2960-lanbasek9-mz.122-25.SEE3.bin (IOS),
    the Cisco Feature Navigator say, this IOS support the CISCO-STACK-MIB:
    http://tools.cisco.com/ITDIT/MIBS/MainServlet?ReleaseSel=0&PlatformSel=0&fsSel=0&IMAGE_NAME=c2960-lanbasek9-mz.122-25.SEE3.bin&SUBMIT2=Submit&IMAGE_ID=816103
    In show snmp mib I could not find the vlanTable. See the attachment.
    I du not understand!

  • How many Cisco Catalyst 3850 switches can make up a Cisco StackPower stack?

    I know the number of Cisco 3850 switches for stacking is 9, so, if I make up a Cisco StackPower stack, MAX is 9, too?

     Hi, emma, only 4 switches can become part of the same Cisco StackPower stack in a ring topology.
    For the Cisco 3850 switches stack number,there are two types:
    Up to 9 Cisco Catalyst 3850 switches can be stacked together to build single logical StackWise-480 switch since Cisco IOS XE Release 3.3.0SE. Prior to Cisco IOS XE Release3.3.0SE, up to 4 Cisco Catalyst 3850 switches could be stacked together.

  • Cisco Catalyst 3850 switches

     How many Cisco Catalyst 3850 switches can stack into a single logical entity?

     Hi, emma, only 4 switches can become part of the same Cisco StackPower stack in a ring topology.
    For the Cisco 3850 switches stack number,there are two types:
    Up to 9 Cisco Catalyst 3850 switches can be stacked together to build single logical StackWise-480 switch since Cisco IOS XE Release 3.3.0SE. Prior to Cisco IOS XE Release3.3.0SE, up to 4 Cisco Catalyst 3850 switches could be stacked together.

  • Cisco catalyst 2950 12.1 (22)EA4 not connecting to router

    I shipped a newly configured cisco 2950 switch and walked a individual through connecting switch to uplink port to router. When the user connects cable from Dlink to port1 on switch we get no activity light on port 1. I went into switch by having crossover cable connected from new switch to old switch and change port speed and duplex and still have the same problem. User is utilizing a cat5 cable that worked on old switch. Any ideas?

    Hi
    you can check the status of the ports on the switch with the 'show interface fa 0/x' command.
    You should see something like this if the port and cable are Ok:
    #show interfaces fastEthernet 5/2
    FastEthernet5/2 is up, line protocol is up (connected)
    Hardware is C6k 100Mb 802.3, address is 000d.28b7.fd09 (bia 000d.28b7.fd09)
    Description:
    MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Encapsulation ARPA, loopback not set
    Full-duplex, 100Mb/s
    HTH.
    Regards.

  • RPS and Cisco Catalyst 2950 and 3550 switches

    We are doing experiments with RPS and CC 2950 and 3550. When we unplug the main power, the RPS takes over and feeds the switch with power. But when we plug the main power back again, the switch contiues to take power from the RPS. How is the power reduncancy achieved with CC 2950 and/or 3550s?
    Thanks in advance,
    Dardan

    You will need to press the active/standby button on the RPS for the internal power supply in the switch to take over. Note that this can cause the switch to reload and do it in your maintenance window if this switch is in production.
    http://www.cisco.com/cgi-bin/bugtool/onebug.pl?bugid=CSCdx81023

  • Cisco Catalyst 4000 Switch Console

    I have a dumb Question what type of connection is this console connection?  I thought this switch used a RJ45 + Serial so I plugged into the ethernet jack next console console not noticing its just a regular 10 base-t could this be used to console into this switch?  I have attached an image below.

    I have a dumb Question what type of connection is this console
    connection?  I thought this switch used a RJ45 + Serial so I plugged
    into the ethernet jack next console console not noticing its just a
    regular 10 base-t could this be used to console into this switch?  I
    have attached an image below.
    Hi,
    A console connection is a  service that provides access to the system console of a computing device via networking technologies.
    Check out the below link for console connection using PC on cisco devices.
    http://www-tss.cisco.com/eservice/compass/common/tasks/task_console_port_connect.htm
    Hope to Help !!
    Ganesh.H
    Remember to rate the helpful post

  • AAA with Catalyst 2950 switch

    I have a Cisco ACS 4.2 running on Windows 2003. Authentication is working fine for various cisco devices like routers, VPN concentrator etc.
    Today I added a 48 port L2 switch as a AAA client, the authentication works fine. However I see many failed login attempts from this L2 switch with the user "C"
    Message-Type: Authen failed
    Caller-ID: async
    Authen-Failure-Code: External DB user invalid or bad password
    NAS-Port: tty0
    What is causing this failed login?

    If the console port on the switch generating the spurious login errors is connected to a device offering remote access to the console port, then it's likely that some output from this device is causing the bogus login attempt.
    If this device is an IOS router with a bunch of asynch ports add "no exec" to the line connected to the switch console port.

  • "Cisco Catalyst Blade Switch 3020 for HP" Best Practices

    Hi all,
    Here we use this blade switch cluster for the Data Center server farm. Here we noticed some network traffic delay. when I monitor the up link I can see there is not much traffic in the link. So doubt about the traffic delay. If anyone can help me on this it would be great...
    Thanks in Progress.....
    Chandana

    Here in the "blade switch for HP" a request processing application is running in a server. when we use the same type server stand alone with a separate switch it processes 80,000 requests per 4 hours. But when this blade server in the blade switch it only processes near 6,000 requests per 4 hours.
    That what I mean like "Network delay"...
    That is what I cannot understand.
    I have attached the current configuration of the blade switch so you can go through it.
    Is there any best practices specific to that type of blade switch that should enable?
    Thanks for your help
    regards
    Chandana

Maybe you are looking for