Solved

Quick IOS CLI syntax

Posted on 2008-06-17
4
517 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now