1

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
  • 37,405
  • 5
  • 53
  • 95
salonMonsters
  • 129
  • 1
  • 2
  • 5

2 Answers2

7
conf t
int g1/0/3
switchport access vlan 3
do wr mem
sclarson
  • 3,684
  • 22
  • 20
  • 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. – sclarson Nov 10 '09 at 23:49
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

Chad Huneycutt
  • 2,116
  • 1
  • 16
  • 14