Cisco Tips & Tricks

April 1, 2007

Configuring Switch ports in Campus Environments

Filed under: Router, Switching — ciscotips @ 12:13 am

Last week,  I saw my colleague doing something pretty weird and that kind of initiated me to write this tip which i thought was not a tip initally. Due to Large 6500 48 ports 10/100 cards deployment we need to assign vlans to probably different set of ports. I aw my colleague getting in to each interface and then configuring vlan with switchport access vlan command. I realised that most of us are not aware of cool cisco command to configure similar interfaces in a single go. Here is the command

In a large switch environment, to configure all or

multiple interfaces on a switch with the same configuration

parameters, do the following:

Switch(config)# interface range [ interface { port

range } ]

For example:

Switch(config)#interface range fastEthernet 0/1 – 30

To configure different ports with the same configuration:

Switch(config)#int range fa0/1 , fa0/12 , fa0/13

Advertisements

5 Comments »

  1. Great tip. I also see this at work, but when I mentioned this tip to a fellow admin, the admin says that he likes to “touch” each interface. Well, I say go ahead and “touch” your interfaces all night long, while I touch a cold brew at the pub and my girl later. 🙂

    Comment by aciscoadmin — September 7, 2007 @ 3:46 pm

  2. Hai i am also working in a very big environment this command is very useful for me thanks a lllllllllllllllllllllllot dude.

    Comment by anbazhagan — October 22, 2007 @ 10:36 pm

  3. try using it in conjunction with “switchport host”

    disables channeling and to enable spanning-tree portfast and the switchport nonegotiate command to turn off DTP negotiation packets.

    Comment by swampie51 — November 17, 2007 @ 8:40 pm

  4. It is very important to have good or at least decent credit history if you want to be approved for any kind of credit. Your credit report is the document that shows your creditworthiness. I’ve been working hard on my credit history – paying my bills, keeping my income stable and I’m really hoping to be a proved for a good credit card deal at

    low apr discover card

    R56ma87de

    Comment by Good Credit — January 5, 2008 @ 7:40 am

  5. It’s remarkable inn favor of me to have a web site, which
    is beneficial iin support of my know-how. thanks admin

    Comment by Ubuntu Server Help — August 14, 2014 @ 8:05 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: