Solved

Quick IOS CLI syntax

Posted on 2008-06-17
4
525 Views
Last Modified: 2012-08-13
Hi,
I was attempting to set up some Voice VLan and Data Vlans on my cisco switches, and in doing so I lost connection to one switch.  I had placed this switch on it's own vlan, and completely lost connectivity.  I now have a PC connected via console cable, and am using Putty to console in.  I'm trying to select all fastethernet ports so I can re-assign them back to the default vlan.  I've done the following

switch>enable
Password:****
Switch#config t
Switch(config)interface fa0/1-24

this doen't seem to work.  I know there is a way to select multiple enet ports, but I can't remember how.  Any suggestions?
0
Comment
Question by:JamesonJendreas
  • 2
4 Comments
 
LVL 50

Accepted Solution

by:
Don Johnston earned 500 total points
ID: 21808818
interface range fa0/1 -24

Don't forget that there must be a space before the "-".
0
 
LVL 21

Expert Comment

by:from_exp
ID: 21810253
hm...
I would say that "-" is a command, so it should look like:
interface range fa0/1 - 24
however possible that one space is enough
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 21811596
Nothing possible about it. ;-)

The space only needs to be before the hyphen (or the comma). You can put after it, but it's not required.
0
 
LVL 1

Author Comment

by:JamesonJendreas
ID: 21813752
Yep, I actually figured that one out yesterday, it's definitely interface range fa0/1-24
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question