cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
905
Views
0
Helpful
8
Replies

What is Cisco Nexus 5000 Series and MDS default Interfaces Configuration ?

Zeeshan Shaikh
Level 1
Level 1

Hi There,

Can anyone tell me how to make default port in Cisco Data Center 5K Switch? 

When I do show run int e2/10 [the output shows as follows]  

switch(config-if)# 

medium p2p

This interface has been changed into L3, I have tried to bring it back into default [L2] mode but  it never comes back in default mode.  

I used to convert a Layer 3 interface back into a Layer 2 interface, by using switchport command. 

Found this doc but doesn't work

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/interfaces/521_N11/b_5k_Interfaces_Config_Guide_Release_521N11/b_5k_Interfaces_Config_Guide_Release_521N11_chapter_011.html#reference_8AC80B1778334A8DAE7A0CA34EA3A6E4

MDS Configuration

Same question for the MDS? how do we make default port in MDS ??

Thank you for your reply.

8 Replies 8

Mark Malone
VIP Alumni
VIP Alumni

Hi

To return to out of the box use the below in conft mode

NX-OS

LAB5KA1(config)# default interface ethernet 2/10

Thanks mate,

i will try and get back to you, also do you know how I can access 5k switch on cisco learning site? 

Thx again.

Sorry not familiar with that site , yes let us know how it goes should work fine im always defaulting  ports it will wipe it completely

Hi Mark,

any idea with MDS? I tried but it doesn't wipe config of interface. 

Sorry I don't have an MDS to test on maybe someone else can answer that part that's more familiar with the product , looking at one of the MDS 9000 cli docs you can though turn it straight to a trunk switchport that should take it back to layer 2 if it works for you

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/mds9000/sw/4_1/configuration/guides/cli_4_1/clibook/trnk.html#pgfId-1141794

Configuring Trunk Mode

To configure trunk mode, follow these steps:

Command
Purpose

Step 1

switch# config t

Enters configuration mode.

Step 2

switch(config)# interface fc1/1

switch(config-if)#

Configures the specified interface.

Step 3

switch(config-if)# switchport trunk mode on

Enables (default) the trunk mode for the specified interface.

switch(config-if)# switchport trunk mode off

Disables the trunk mode for the specified interface.

switch(config-if)# switchport trunk mode auto

Configures the trunk mode to auto mode, which provides automatic sensing for the interface.

hi Mark,

this command didn't work, and it's for 7K- Switch

 LAB5KA1(config)# default interface ethernet 2/10 OR int fc1/1 

Hi

That's a 5K switch I  took it off as an example , its for nx-os and ios and ios-xe not just 7ks it should work what do you get after dfault in conf t

  kickstart image file is: bootflash:///n5000-uk9-kickstart.7.0.6.N1.1.bin
  system image file is:    bootflash:///n5000-uk9.7.0.6.N1.1.bin
 LAB5KA1# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
xir-d126sas02(config)# default ?
  interface  Interface configuration

 LAB5KA1(config)# default interface ?
  bdi           Bdi interface
  ethernet      Ethernet IEEE 802.3z
  loopback      Loopback interface
  mgmt          Management interface
  port-channel  Port Channel interface
  vlan          Vlan interface

xir-d126sas02(config)# default interface

Hi Mark I found this solution.

Can you try at your end and confirm if it works, I dn't have any empty port to test in my production switch.

Usage Guidelines

When the system default switchport shutdown command is issued, any switchports (including FEX HIFs) that are not configured with no shutdown command are shut down. To avoid the shutdown, configure the switchports with no shutdown command.

Examples

This example shows how to set all ports as Layer 3 routed ports:

switch# configure terminal
switch(config)# system default switchport shutdown
switch(config)#
 

This example shows how to reset all ports back to Layer 2 switchports:

switch# configure terminal
switch(config)# system default switchport shutdown
switch(config)#

http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/command/reference/interfaces/N5k_if_cmd_ref/n5k_if_cmds_s.html