Cisco VLAN Configuration

Dear All,

   I have core switch 4500 with 10 VLANs configured, as Vlan 2, 3,4,etc,  a fiber link is going from the core switch to each location, some ports from the core switch 4500 is connected to 2 sites ( Diffrenet Vlans ), cisco 2950 switches are configured as client mode in all the location,  this setup was there for two years, my problem is that in one day I had a network slowness and some Vlans were down ( Trunk light was off) and when i restared the swicth the truck was on again,  in my core switch I have configured the Trunk as below

interface GigabitEthernet3/1
 switchport access vlan 5
 switchport trunk encapsulation dot1q
 switchport mode trunk

I think I have problem with the second line ( switchport access vlan 5 ) as it should not be there)
How to change the configuration in the core switch and have it replicated to other swicthes as I have done the same command  (switchport access vlan ) on all he 2950 trunks. also how to use Vlan allow command.

Kindly assist.
LVL 1
ITMaster1979Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bkepfordCommented:
First of all  "switchport access vlan 5" will place the link in vlan 5 if trunking fails. But as long as trunking is up it does no harm. A simple "no switchport access vlan 5"  will remove it.

Now the "switchport trunk allowed vlan 2,3,4,5" or "switchport trunk allowed vlan 2-5" are pretty self explanitory they will only trunk VLANs that are in the list. Just be carefull and check your configs after especially if you are making changes to a current allow using the "switchport trunk allowed vlan add" or "switchport trunk allowed vlan remove"

Now your asking how you can propagate these changes. I don't know how or if that can be done. I honestly have never heard of changes like this being automatically forced to other switches. You just have to configure both sides of the trunk the same.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lrmooreCommented:
Agree with above.
You should remove the switchport access line with a simple "no"
Then start with the farthest switch, change it, then change the one it is connected to and so on.
Else you can use something like Kiwi Cattools to create a simple script to make the changes, then push on a scheduled job. Even with the automated tools, you would make sure the farthest ones get changed first.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.