cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6154
Views
4
Helpful
4
Replies

Some commands don't appear to be present.

falkensmaze
Level 1
Level 1

Hi,

Just about to start the CCNA and have obtained a 2924XL switch to configure. At this stage I know next to nothing about configuring it. I have downloaded a copy of the "Catalyst 2900 Configuration Guide and Command Reference" to help.

Now within the guide there are multiple variations of the "set" command being used.

My problem is if I try to get a list of set commands (set ?) it returns with:

% Unrecognized command (both in normal and priviledge modes).

Typing something like "set vlan" responds with:

Denna#set vlan

^

% Invalid input detected at '^' marker.

Does anyone know why I can't access these commands or has a similar problem?

I have included a partial show ver below.

Thanks for any help that may be offered.

---------------------------------------

Cisco Internetwork Operating System Software

IOS (tm) C2900XL Software (C2900XL-C3H2S-M), Version 12.0(5)WC10, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2004 by cisco Systems, Inc.

Compiled Fri 28-May-04 09:52 by antonino

Image text-base: 0x00003000, data-base: 0x00351754

ROM: Bootstrap program is C2900XL boot loader

Denna uptime is 1 hour, 3 minutes

System returned to ROM by power-on

System image file is "flash:c2900xl-c3h2s-mz.120-5.WC10.bin"

cisco WS-C2924-XL (PowerPC403GA) processor (revision 0x11) with 8192K/1024K byte

s of memory.

Processor board ID FAB0444S04F, with hardware revision 0x01

Last reset from power-on

Processor is running Enterprise Edition Software

Cluster command switch capable

Cluster member switch capable

24 FastEthernet/IEEE 802.3 interface(s)

------------------------------------------

Regards.

1 Accepted Solution

Accepted Solutions

Hi Ian,

Many commands will be present in the CLI which are not supported on the platform. This certainly causes some confusion, but stems from the fact that the IOS for these switch platforms all come from the same code base as the IOS for the router platforms. Over time, the unused commands get pruned from the CLI, but others remain.

In this case, yes, you can see the "set" command globally if you do a ? at the CLI:

Switch#?

Exec commands:

set Set system parameter (not config)

Switch#set

% Type "set ?" for a list of subcommands

Switch#set ?

% Unrecognized command

So that's an example of what I described above.

The "clear" command, however, does have a tree of usable commands, and is quite valid.

Switch#clear ?

access-list Clear access list statistical information

access-template Access-template

arp-cache Clear the entire ARP cache

cdp Reset cdp information

cgmp Reset CGMP information

controllers Clear interface controller info

counters Clear counters on one or all interfaces

host Delete host table entries

interface Clear the hardware logic on an interface

ip IP

line Reset a terminal line

logging Clear logging buffer

mac-address-table MAC forwarding table

tcp Clear a TCP connection or statistics

vmps VMPS statistics

vtp Clear VTP items

HTH,

Bobby

*Please rate helpful posts.

View solution in original post

4 Replies 4

Bobby Thekkekandam
Cisco Employee
Cisco Employee

Hi,

I think you may have downloaded the wrong configuration guide. The nomenclature can be a little confusing here as well. We had the 2926 switch which was based on the catalyst 5000, and used the "set" command structure, which is the Catalyst Operating System (CatOS) for short. Also, there is the 2948G switches which also run CatOS. Then there's the 2948G-L3 switches which run IOS, like the routers.

Then we have the 2900XL switches, which is what you have. These run what is essentially a streamlined version of IOS. So the "set" based commands don't apply here.

The config guide for it can be found here:

http://www.cisco.com/univercd/cc/td/doc/product/lan/c2900xl/29_35wc6/scg/index.htm

The home page for all 2900xl documentation can be found here:

http://www.cisco.com/univercd/cc/td/doc/product/lan/c2900xl/index.htm

HTH,

Bobby

*Please rate helpful posts.

Thanks Bobby,

That's quite helpful info to know. One question though - why is the "set" command listed when executing a "?" at the CLI if it isn't supported.

It appears the "clear" command also exhibits the same traits, don't know how many other's might also be in there.

The additional links you've given me will be extremely helpful. I will set about devouring them at once. Hopefully they identify other little quirks like this.

In any case coming across problems like this will certainly increase my knowledge base.

Thanks again. Would still like to know why the "set" command is still in there if you can't use it .

Regards,

Ian...

Hi Ian,

Many commands will be present in the CLI which are not supported on the platform. This certainly causes some confusion, but stems from the fact that the IOS for these switch platforms all come from the same code base as the IOS for the router platforms. Over time, the unused commands get pruned from the CLI, but others remain.

In this case, yes, you can see the "set" command globally if you do a ? at the CLI:

Switch#?

Exec commands:

set Set system parameter (not config)

Switch#set

% Type "set ?" for a list of subcommands

Switch#set ?

% Unrecognized command

So that's an example of what I described above.

The "clear" command, however, does have a tree of usable commands, and is quite valid.

Switch#clear ?

access-list Clear access list statistical information

access-template Access-template

arp-cache Clear the entire ARP cache

cdp Reset cdp information

cgmp Reset CGMP information

controllers Clear interface controller info

counters Clear counters on one or all interfaces

host Delete host table entries

interface Clear the hardware logic on an interface

ip IP

line Reset a terminal line

logging Clear logging buffer

mac-address-table MAC forwarding table

tcp Clear a TCP connection or statistics

vmps VMPS statistics

vtp Clear VTP items

HTH,

Bobby

*Please rate helpful posts.

Yep, that's pretty much what confronted me when I did a "set" and then it tells me to try "set ?", haha, some sick code cruncher's idea of fun.

Yep, you're right about the "clear" but try it in the non-privilege mode and see what happens.

So I'm now wondering what the CCNA exam is going to throw at me regarding all of this and whether the 2924 is the switch I should be using. If I get to the exam and it's full of what does this set command do etc etc.

Just the same, that link you pointed me at was immediately helpful - already set up some VLANS and haven't managed to find a "set" command in there yet.

Regards,

Ian...