Switch Configuration

Answered Question
Jun 23rd, 2008

Hello All

I would really appreciate your help with this,I've been moved from the desktop group over to the network department and i just recieved my CCNA a month ago and i just took my first CCNP exam on saturday and my department has assigned me the task of configuring 8 4510 switches.They gave me a copy of a config off of one of the current switches.What i wanted to know is can you look at this and tell me can i just copy and paste this on the switch or what do i need to do to make this work on the new switches.

Correct Answer by stephen.stack about 8 years 8 months ago

Hi,

Well done on promotion and exams.

Fistly, becareful about posting entire configurations on this or any site. You passwords etc.. can be comprimised.

To answer you question... Yes, you can paste this config in to all the other switches. However, it may not take properly. i.e. depending on hardware configuration (where blades are placed etc..) the interface numberings maybe different and the original config will not paste in correctly. Also, if these other 7-8 switchs are being placed in the one network, you may want to configure diffrent ports on different switches for differnt VLANs etc.

Here is a better idea. First - take the standard settings out of the original config i.e. Services, Line settings, acls, time servers etc...

Paste those settings into the other switches.

Then depending on requirements, use the interface range commands to configure lots of switch ports together with the same config.

i.e.

interface range fastethernet 5/1 - 5, gigabitethernet 1/1 - 2

swicthport mode access

switchport access vlan 11

no shut

Hope this helps. (Please rate if it does)

Stephen

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
stephen.stack Tue, 06/24/2008 - 08:19

Hi,

Well done on promotion and exams.

Fistly, becareful about posting entire configurations on this or any site. You passwords etc.. can be comprimised.

To answer you question... Yes, you can paste this config in to all the other switches. However, it may not take properly. i.e. depending on hardware configuration (where blades are placed etc..) the interface numberings maybe different and the original config will not paste in correctly. Also, if these other 7-8 switchs are being placed in the one network, you may want to configure diffrent ports on different switches for differnt VLANs etc.

Here is a better idea. First - take the standard settings out of the original config i.e. Services, Line settings, acls, time servers etc...

Paste those settings into the other switches.

Then depending on requirements, use the interface range commands to configure lots of switch ports together with the same config.

i.e.

interface range fastethernet 5/1 - 5, gigabitethernet 1/1 - 2

swicthport mode access

switchport access vlan 11

no shut

Hope this helps. (Please rate if it does)

Stephen

scooter817 Tue, 06/24/2008 - 08:47

Thanks alot this really helped me get an undertanding of what i have to do.

chirantan85 Sun, 07/13/2008 - 23:41

Thx for the good reply which i got form this article. but i want know how can i configure this above configuration in TXT sheet in switch.

Is it can be done by copying config command.

Plz reply i surely want to know this

stephen.stack Mon, 07/14/2008 - 00:06

Hi,

Not quite sure what you mean. If you want, you can type the commands in to a text editor and then copy those into the console or telnet session to the switch.

Otherwise you can create a full configuration offline (i.e. in a text editor) and then use tftp to upload to the switches startup configuration.

1. create the configuration offline ( interface range will not work here)

2. upload to the switches startup config using

copy tftp start

HTH

Stephen

Actions

This Discussion