02-09-2024 04:37 PM
question on the switchport command.
the ports on the primary nexus all follow this format, for example:
interface Ethernet100/1/16
description Server1A-1
switchport access vlan 550
no snmp trap link-status
but on the secondary they all include switchport:
interface Ethernet100/1/16
description Server1A-1
switchport
switchport access vlan 550
no snmp trap link-status
Any idea why?
and should i go through the primary ports and add the command?
or no it out of the secondary switch interface commands?
never really paid attention to it before but i was looking at both configs today and realized i have no idea why that was done
02-09-2024 10:05 PM
- There is no harm in adding the switchport command to the primary too for the particular port ; it confirms it to be a layer 2 port ,
M.
02-10-2024 12:34 AM
Beginning with NX-OS Release 5.0(3)N1(1), on Cisco Nexus 5000 Platform switches, you can configure a Layer 3 interface.
You can change a Layer 3 interface into a Layer 2 interface by using the switchport command. You can change a Layer 2 interface into a Layer 3 interface by using the no switchport command.
02-10-2024 12:47 AM
As @marce1000 there is no harm at all to add switch port under l2.
MHM
02-10-2024 02:53 AM
Hello,
you might want to check if both Nexus switches have different switch profiles configured:
Nexus5K#show switch-profile
02-10-2024 06:55 AM
That’s a good idea thanks.
02-10-2024 06:56 AM
Thanks everyone much appreciated.
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