Jobs & Careers | Warranty & Testing | Privacy Policy | Asset Recovery Services

Buy Juniper & Cisco Equipment Online

Used Cisco | Used Extreme | Used Foundry | Used Nortel | New Force10 | New F5 Networks | New Juniper | Used HP


Jump to Telecom Equipment

Request a Free Quote

Sell to us or Recycle your Equipment

Watch Company Virtual Tour

Cisco Catalyst 2900 Configurations

Page:  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 or Go To our Certification Articles Section

Cisco Catalyst 2900 Configurations

Here you can learn more about Cisco Catalyst 2900 configurations. If the Cisco Catalyst 2900 switch does not ask you about continuing with the initial configuration dialog, you must reset it to factory defaults. If the enable password is not set, please follow these commands:

switch> enable

switch# erase startup-config

Verify the command worked:

switch# show startup-config

%% Non-volatile configuration memory is not present

Then power cycle the Catalyst switch.

Entering a New Configuration on the Catalyst 2900

  • Enter Y at the first prompt:
    Continue with configuration dialog? [yes/no]: y
  • Enter the switch IP address:
    Enter IP address: XXX.XXX.XXX.XXX
  • Enter the subnet mask:
    Enter IP netmask: XXX.XXX.XXX.XXX
  • Press <enter> to enter a default gateway:
    Would you like to enter a default gateway address? [yes]:
  • Enter the IP address of the default gateway:
    IP address of the default gateway: XXX.XXX.XXX.XXX
  • Enter the fully-qualified hostname for the switch:
    Enter a host name: [Switch] switchname.example.com
  • Enter the enable secret password:
    Enter enable secret: your password here
  • Press enter if you want a Telnet password:
    Would you like to configure a Telnet password? [yes]:
  • Enter the Telnet password:
    Enter Telnet secret: your password here
  • Enter no unless you really want to enable this as a cluster command switch:
    Would you like to enable as a cluster command switch? yes/no]:no
  • It will show the initial configuration. Type yes if you got it all right, or no to re-do it.
  • Now you need to fix the default SNMP settings, plus possibly more. Start by pressing enter to get a prompt.
  • Get into enable mode:
    switch>enable
  • Get into configuration mode:
    switch#configure terminal
    Note that you only need to type conf t, or you can type conf and press and then type t and press to get the IOS to auto-complete.
  • If you want to support SNMP read-only access, set a password which is not the well-known default:
    switch(c)#snmp-server community new-snmp-password RO
  • Definitely disable the well-known default SNMP passwords (community strings):
    switch(c)#no snmp-server community private RW
    switch(c)#no snmp-server community public RO
  • You probably want to turn off Cisco Discovery Protocol:
    switch(c)#no cdp run
  • When you are done making configuration changes, exit the configuration:
    switch(c)#end
    00:03:18: %SYS-5-CONFIG_I: Configured from console by console
  • Verify that the configuration looks right:
    switch#show running-config
  • If all looks good, save the configuration:
    switch#copy running-config startup-config

Erasing an Existing Configuration on the Catalyst 2900

Get into enable mode and erase the startup configuration:

switch>enable
switch#erase startup-config

Verify that it worked:

switch# show startup-config
%% Non-volatile configuration memory is not present

Breaking into the Catalyst 2900 when all else Fails

  • Unplug the switch.
  • Press the Mode button (left side of front panel) and keep it depressed.
  • Reconnect power.
  • When the LED above Port 1x goes out, release the Mode button.
  • Issue the flash_init command: switch: flash_init Initializing flash... (output deleted...)
  • Issue the load_helper command: switch: load_helper
  • Issue the dir flash: command (don't omit the colon): switch: dir flash:
  • You should see the configuration file listed as config.text. Rename it: switch: rename flash:config.text flash:config.old
  • Boot the switch with an empty configuration (that is, no config.text): switch: boot Loading "flash:c2900xl-c3h2s-mz.120-5.WC7.bin"...######## (output deleted...)
  • The switch should now present you with the initial configuration dialog. You are ready to configure the switch.
About the Author - Admin: The Admin didn't really write this, however, this information is still useful. It's like knowing you can buy milk at the store and finally learning how to pour and drink it.

Page:  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 or Go To our Certification Articles Section

You are Viewing article cisco catalyst 2900 configurations