02-09-2018 11:49 AM - edited 03-08-2019 01:47 PM
Hi i recently bought a nexus 5020 for a 10gb network for storage for my vmware hosts. I had problems at first with my router not detecting the 10gb fiber card i had. So i bought a new one got that side all good and now on the switch side i cant get ip address to my host. From the switch i cant ping the router @ 192.168.2.1. I have create a vlan 2 and added ports 9 through 17 and set them to switchport access. With no change. They i tired putting port 17 which is the port going to the router into trunk with no change. Here are pictures on my config:
Thanks for your help!
02-09-2018 12:15 PM
Hi,
Can you post "sh run" from the router and the Nexus
Is Nexus supposed to be just layer-2?
On the Nexus, port 17 is connected to the router on what port?
HTH
02-09-2018 12:22 PM
@Reza Sharifi On startup it says level 3. I have a 10gb cable running from port 17 on the 5020 to my router which is a custom pfsense box.
02-09-2018 12:47 PM
I am not familiar with pfsense box but in order to do layer-3 in Nexus, you need layer-3 card installed.
02-09-2018 12:55 PM
@Reza Sharifi How can i set it to layer 2. I dont need layer 3 as its just a storage network.
02-09-2018 03:27 PM
You don't need to do anything. That switch by default is layer-2.
HTH
02-09-2018 03:29 PM
02-09-2018 04:13 PM
From what you posted, the switch configuration seems to be ok. All you need is the access ports configured with specific vlan facing the end devices and a trunk port to the router. The IP address for the vlan/subnet you are using (default gateway for the end devices) should be configured on the router.
02-09-2018 04:24 PM
02-10-2018 08:19 AM
Here is an example on how to do it for all ports facing the end devices:
this is assuming they are all in vlan 2
config t
vlan 2
name production-vlan
exit
then configure all ports like this:
config t
interface Ethernet1/10
switchport access vlan 2
spanning-tree port type edge
and then configure the trunk which connects to the router
interface Ethernet1/17
switchport mode trunk
HTH
02-10-2018 09:34 AM
02-10-2018 04:21 PM
I Have now did a reset and created the vlan 2 and i still dont have any ip address's.
02-10-2018 07:28 PM
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