How to Change a VLAN Assignement for an Interface on a Cisco 3750

46,922

Solution 1

conf t
int g1/0/3
switchport access vlan 3
do wr mem

Solution 2

What have you tried? It should go something like this:

switch# config t
switch(config)#  int gi1/0/3
switch(config-if)#switchport access vlan 3

Then ctrl-z and write mem

Share:
46,922

Related videos on Youtube

salonMonsters
Author by

salonMonsters

Updated on September 17, 2022

Comments

  • salonMonsters
    salonMonsters over 1 year

    I'm having some trouble trying to figure out how to Change a VLAN Assignement for an Interface on a Cisco 3750.

    I want to change:

    !
    interface GigabitEthernet1/0/3
    switchport access vlan 2
    switchport mode access
    spanning-tree portfast
    !
    

    Into:

    !
    interface GigabitEthernet1/0/3
     switchport access vlan 3
     switchport mode access
     spanning-tree portfast
    !
    

    However I haven't been able to do it successfully.

    Any suggestions?

    Thanks!

  • Zypher
    Zypher over 14 years
    it should be 'swichtport access vlan 3' he wants to change from 2 to 3
  • Dave Klotz
    Dave Klotz over 14 years
    shouldn't there be a space in there as well? Or am I forgetting IOS quicker than I thought.
  • Dave Klotz
    Dave Klotz over 14 years
    If you aren't used to it forgetting what mode you're in is a pretty easy mistake. Especially if you're trying to do a change during a 3am outage.