02-22-2012 03:11 AM - edited 03-07-2019 05:05 AM
Hi
cant assign cisco switch 3560G port g0/1to access vlan 10
main-switch(config-if)#switchport access vlan 10
Command rejected: Gi0/1 not a switching port.
Pls help way forward
joseph
Solved! Go to Solution.
02-22-2012 03:33 AM
Ok, ok, ok ...
Try this:
conf t
default interface G0/1
interface g0/1
switchport mode access
switch access vlan 10
02-22-2012 01:28 PM
Thanks for the rating.
02-22-2012 03:15 AM
Try this:
interface g0/1
switchport
switchport mode access
switch access vlan 10
02-22-2012 03:26 AM
Thx here are result,still rejecting
main-switch(config)#interface gigabitEthernet 0/1
main-switch(config-if)#swi
main-switch(config-if)#switchport mode ac
main-switch(config-if)#switchport mode access
Command rejected: Gi0/1 not a switching port.
main-switch(config-if)#swi
main-switch(config-if)#switchport ac
main-switch(config-if)#switchport access vlan 10
Command rejected: Gi0/1 not a switching port.
main-switch(config-if)#
02-22-2012 03:33 AM
Ok, ok, ok ...
Try this:
conf t
default interface G0/1
interface g0/1
switchport mode access
switch access vlan 10
02-22-2012 03:41 AM
Thanks very much,it works out
nice time
J
02-22-2012 01:28 PM
Thanks for the rating.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide