cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4459
Views
0
Helpful
5
Replies

cant assign cisco switch 3560G port g0/1to access vlan 10

malai.joseph
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

Ok, ok, ok ...


Try this:

conf t

default interface G0/1

interface g0/1

switchport mode access

switch access vlan 10

View solution in original post

Thanks for the rating.

View solution in original post

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame

Try this:

interface g0/1

switchport

switchport mode access

switch access vlan 10

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)#

Ok, ok, ok ...


Try this:

conf t

default interface G0/1

interface g0/1

switchport mode access

switch access vlan 10

Thanks very much,it works out

nice time

J

Thanks for the rating.

Review Cisco Networking for a $25 gift card