cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
794
Views
3
Helpful
5
Replies

Command on a Nex5K

wwwillster07
Level 1
Level 1

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....

1 Accepted Solution

Accepted Solutions

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)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

its all depends on the code some time new version have different syntax :

system default switchport shutdown

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.

system default switchport shutdown

no system default switchport shutdown

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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?

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)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

wwwillster07
Level 1
Level 1

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