09-18-2015 06:27 AM - edited 03-08-2019 01:51 AM
I am in a position where our Network Engineer is gone and I need to activate a port and add it to the correct VLAN. I do not have any Cisco experience so I have no clue on how to do this. I am using a Catalyst 3850-48F. Any help would be greatly appreciated.
Solved! Go to Solution.
09-18-2015 07:29 AM
You obviously need to know the Port ID of the port you are trying to configure, so you need to know if it is Port 1 on the Switch or Port 26 for example.
The following show command will list all the interfaces on the switch:
#show interface status
You should be able to get the exact port name from the command above.
If you know its Port 26 on the switch, you may find the actual Port name is Fa1/0/26.
Anyway, once you have this its fairly easy to add it to a Vlan:
#conf t
(config)#interface fa1/0/26
(config-if)#switchport access vlan 50
(config-if)#no shut
I have chosen Vlan 50 above but this needs to be the relevant Vlan ID you want to put the port into.
A good command to show the actual configuration of a port is:
#show run interface fa1/0/26
Thanks
09-18-2015 06:48 AM
Do you know how, and can you, logon to the device? Via the console or a telnet session?
If you know how to and can access the device, can you list the configuration? Can you "see" an existing port that's like what you want the new port to be?
09-18-2015 07:15 AM
I do know how, and can logon to the device. I do know how to go into enable mode, and configure mode to enable/disable port security. However, that is the extent of my knowledge on this topic. If I knew how to list the configuration I would be able to determine an existing port, and what the new port should look like.
09-18-2015 07:29 AM
You obviously need to know the Port ID of the port you are trying to configure, so you need to know if it is Port 1 on the Switch or Port 26 for example.
The following show command will list all the interfaces on the switch:
#show interface status
You should be able to get the exact port name from the command above.
If you know its Port 26 on the switch, you may find the actual Port name is Fa1/0/26.
Anyway, once you have this its fairly easy to add it to a Vlan:
#conf t
(config)#interface fa1/0/26
(config-if)#switchport access vlan 50
(config-if)#no shut
I have chosen Vlan 50 above but this needs to be the relevant Vlan ID you want to put the port into.
A good command to show the actual configuration of a port is:
#show run interface fa1/0/26
Thanks
09-18-2015 08:22 AM
That worked perfectly. Thank you!
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