02-15-2024 02:32 PM
Is the command:
no system default switchport
the same as:
no system default switchport shutdown
The first one exists on one of my switches, but when i look it up online i only see references to the second one....
Solved! Go to Solution.
02-16-2024 10:23 AM
as best practice and easy maintenance, always expect in vPC both the switch config identical.
if the confiuration entered and globally and switch rebooted then all takes in place.
if the globally enabled later - may be switch has default as before that what i understand my testing (it may be different)
so engineer might have done switchport config to make it Layer 3 to Layer 2 (there is no harm adding switchport in the port config, that give double assurance switchport is layer2)
02-16-2024 01:59 AM
its all depends on the code some time new version have different syntax :
To configure all Layer 2 switchports to be Layer 3 routed ports, use the system default switchport shutdown command. To reset to the default of all Layer 2 swithports, use the no form of this command.
02-16-2024 07:33 AM
one other quick thing, the config on a secondary in a vpc pair has that command, no system default switchport, which essentially is making all the switchports L2.
each interface config also contains the switchport command. Seems somewhat redundant, but would switchport show up in the interface commands due to "no system default switchport" being entered or did someone previous to me likely add that command to each port?
02-16-2024 10:23 AM
as best practice and easy maintenance, always expect in vPC both the switch config identical.
if the confiuration entered and globally and switch rebooted then all takes in place.
if the globally enabled later - may be switch has default as before that what i understand my testing (it may be different)
so engineer might have done switchport config to make it Layer 3 to Layer 2 (there is no harm adding switchport in the port config, that give double assurance switchport is layer2)
02-16-2024 10:27 AM
Make all port l2!!
But you need l3 port for keep alive.
I Don't know why you need this command but sure l3 port is needed for keep alive otherwise vpc is down
MHM
02-16-2024 10:51 AM
The configs got out of whack over time so I'm going through line by line to ensure they are corrected on both sides...Thanks for the help. I'm sure I'll post a few more soon as i work through it
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