07-10-2020 06:52 AM
I have a lab with 2 interconnected switches and 2 vlan: vlan 10 and vlan 14. I would like to manage both vlan from a single PC connected to a free port of one of the switches. How can I configure the switch and the PC? Attached image...
07-10-2020 10:33 AM
managing networking gear is from reserved vlan x for such purpose; then you can manage all networking devices. those L2 switches can have 1 SVI interface up, aka interface vlan x with ip address. and such interface is used to connect to switches via telnet or ssh. also, L2 switches must have ip default gateway x.x.x.x to be able to reach outside network
otherwise, you would have to have PC in IT closet connecting to gear via console cable.
Regards, ML
**Please Rate All Helpful Responses **
07-10-2020 10:53 AM - edited 07-10-2020 10:54 AM
Pick a free port of one of the switches
Connect your pc/laptop to it.
add that port to one of the vlans (10 or 14). see config below for vlan 10 as an example.
Create an SVI on each switch for that vlan if there is none already. There should already be at least one SVI for each vlan so, you can route traffic between therm. If that is the case add another SVI to the other switch and put it in the same subnet as the other switch:
example for vlan 10 and IP range of 10.10.10.0/24
sw1
interface vlan 10
ip address 10.10.10.1
no sh
sw2
interface vlan 10
ip address 10.10.10.2
no sh
add the pc to vlan 10
interface x/x
switchport
switchport mode access
switch access vlan 10
on the pc
ip 10.10.10.100
gateway 10.10.10.1
Now ping 10.10.10.1 and 10.10.10.2 from that pc.
If ping is good, try accessing one of the switches via telnet and test.
HTH
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