I was checking the VLAN’s on one of my switches. It’s two stacked Catalyst C9200L-24P-4X.<\/p>\n
Advertisement
There is one port that I didn’t see on any VLAN, neither is it a trunk. So I went config t, port, switchport access VLAN 2, then I check the VLANs again and the port still doesn’t appear on any VLAN. The switch takes the command, meaning there are not error messages.<\/p>\n
Exit configuration mode to use the show commands.<\/p>\n
The output from ‘sh int gi1/0/10 switchport’ shows that the port IS in trunk mode.<\/p>\n
try again the “switchport mode access” on the interface. \nIf not as agenglercain suggests default the port and reconfigure it.<\/p>\n
conf t\ndefault int gi 1/0/10\nint gi 1/0/10\nswitchport mode access\nswitchport access vlan 9\nno shut\nend\n<\/code><\/pre>","upvoteCount":1,"datePublished":"2025-06-13T10:20:38.888Z","url":"https://community.spiceworks.com/t/unable-to-assign-a-port-to-any-vlan/1214803/13","author":{"@type":"Person","name":"matt7863","url":"https://community.spiceworks.com/u/matt7863"}},"suggestedAnswer":[{"@type":"Answer","text":"
I was checking the VLAN’s on one of my switches. It’s two stacked Catalyst C9200L-24P-4X.<\/p>\n
There is one port that I didn’t see on any VLAN, neither is it a trunk. So I went config t, port, switchport access VLAN 2, then I check the VLANs again and the port still doesn’t appear on any VLAN. The switch takes the command, meaning there are not error messages.<\/p>\n
Not in config t mode, but at the # type this command. → interface “your port #info<\/span>” swithport, then hit enter and review the displayed information. You should see the information regarding the assigned vlan.<\/p>","upvoteCount":1,"datePublished":"2025-06-12T19:02:44.215Z","url":"https://community.spiceworks.com/t/unable-to-assign-a-port-to-any-vlan/1214803/2","author":{"@type":"Person","name":"alexis","url":"https://community.spiceworks.com/u/alexis"}},{"@type":"Answer","text":"