04-25-2011 12:22 PM - edited 03-06-2019 04:47 PM
Not familiar with Nexus line and had a question about setting up the management interface on a Nexus 5010 switch. I'm attempting to upload a new IOS and can't get connectivity. Currently, I have a team of stacked Nexus 5010's connecting to a pair of access swtiches that are providing the connection to the core. I understand this isn't best practice but it was our only option at the time. Anyways each Nexus switch uses two ports for a vPC connection to the pair of redundant access switches and then each one of the management interfaces on the Nexus's are connected to these access switches as well. I'm attempting to set up the clock and NTP servers as well for the Nexus switches but having some troubles getting the communication going. I'm not able to ping anything from within the Nexus, even the IP address of the Nexus. I'm able to ping and telnet to the Nexus from anywhere outside of Nexus. When I attempt to ping from the Nexus I get a "no route to host" response. There is a route to the gateway in place for the vrf context management. Will I need to set up the access switch connecting to the Nexus to be a trunked port to allow all traffic? Is it an option to do away with the managment interface IP and just assign a SVI for management reasons? I ask the SVI question because the NTP servers are on a separate subnet than that of the IP address of the Nexus. Below is some information on the configuration as it stands now. Thanks in advance for any help!
Nexus 1
vrf context management
ip route 0.0.0.0/0 10.31.35.1
vpc domain 10
peer-keepalive destination 10.31.35.26
interface port-channel3 (assigned to int E1/1)
switchport mode trunk
vpc 3
switchport trunk native vlan 70
speed 1000
interface port-channel4 (assigned to int E1/2)
switchport mode trunk
vpc 4
switchport trunk native vlan 70
speed 1000
interface port-channel19 (assigned to int E1/19 & 20)
description NexusUplinks
switchport mode trunk
vpc peer-link
switchport trunk native vlan 70
spanning-tree port type network
speed 10000
interface mgmt0
vrf member management
ip address 10.31.35.25/24
Nexus 2
vrf context management
ip route 0.0.0.0/0 10.31.35.1
vpc domain 10
peer-keepalive destination 10.31.35.25
interface port-channel3 (assigned to int E1/1)
switchport mode trunk
vpc 3
switchport trunk native vlan 70
speed 1000
interface port-channel4 (assigned to int E1/2)
switchport mode trunk
vpc 4
switchport trunk native vlan 70
speed 1000
interface port-channel19 (assigned to int E1/19 & 20)
description NexusUplinks
switchport mode trunk
vpc peer-link
switchport trunk native vlan 70
spanning-tree port type network
speed 10000
interface mgmt0
vrf member management
ip address 10.31.35.26/24
Access switches connected to the management interfaces of the Nexus's are only set up as an access port and allowing only that certain vlan traffic to pass. If I set the port to be a trunk port will the Cisco managment interface be able to pick that up or will it lose connection?
Thanks!
04-25-2011 05:43 PM
How did you issue the ping command? The correct syntex should be
ping x.x.x.x vrf management
If you are trying to do ping x.x.x.x, it will try to use the default vrf which has not interface and route, and you will get the No route to host message.
Example output from my lab N5K:
N5K1# ping 14.128.173.12
PING 14.128.173.12 (14.128.173.12): 56 data bytes
ping: sendto 14.128.173.12 64 chars, No route to host
--- 14.128.173.12 ping statistics ---
1 packets transmitted, 0 packets received, 100.00% packet loss
N5K1# ping 14.128.173.12 vrf management
PING 14.128.173.12 (14.128.173.12): 56 data bytes
64 bytes from 14.128.173.12: icmp_seq=0 ttl=254 time=3.33 ms
64 bytes from 14.128.173.12: icmp_seq=1 ttl=254 time=4.114 ms
64 bytes from 14.128.173.12: icmp_seq=2 ttl=254 time=3.873 ms
64 bytes from 14.128.173.12: icmp_seq=3 ttl=254 time=4.366 ms
64 bytes from 14.128.173.12: icmp_seq=4 ttl=254 time=3.739 ms
--- 14.128.173.12 ping statistics ---
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min/avg/max = 3.33/3.884/4.366 ms
HTH,
jerry
02-26-2018 12:24 AM
Thanks
12-15-2019 02:58 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