Add Vlan access

Answered Question
Aug 6th, 2014
User Badges:

I was able to do this before but forgot what the command is to do it.

I don't make changes to the switches often so I forget the commands I dont use regularly.

We have a catalyst 4500 Level 3 switch as our main switch. It has all the vlans and everything already set.

That is connected to a few other switches via fiber, 2960-G switches.

We have one switch upstairs for vlan 2 access

We have one switch downstairs for Vlan 1 access

The Vlan addresses are given out via a DHCP server.

Can someone provide me the process/commands to add Vlan2 to the downstairs switch so one of the ports can get a Vlan 2 address?

I want to say it is trunk or something but I tried and failed.

Thanks

Correct Answer by Leo Laohoo about 3 years 1 week ago

If you've got trunk enabled and you want to enable VLAN 2 on both sides of the trunk, then the command is "switchport trunk allowed vlan add 2".

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (5 ratings)
Loading.
Correct Answer
Leo Laohoo Wed, 08/06/2014 - 15:25
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

If you've got trunk enabled and you want to enable VLAN 2 on both sides of the trunk, then the command is "switchport trunk allowed vlan add 2".

jamescrescenzo Thu, 08/07/2014 - 05:47
User Badges:

Thanks, I do remember doing something like that before.

I also remember needing to add all the vlans that need to go through the switch or I have issues :)

I want to confirm switchport trunk allowed vlan add 2 at the interface layer, correct?

jamescrescenzo Thu, 08/07/2014 - 06:20
User Badges:

Thanks again,

I figured it out/remembered i need to do this on the port that the fiber is coming in on.

Leo Laohoo Thu, 08/07/2014 - 15:10
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

Thanks for taking the time to rate our posts.  laugh

Actions

This Discussion