05-23-2016 10:18 PM - edited 03-01-2019 08:16 AM
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
MDS Configuration
Same question for the MDS? how do we make default port in MDS ??
Thank you for your reply.
05-24-2016 03:02 AM
Hi
To return to out of the box use the below in conft mode
NX-OS
LAB5KA1(config)# default interface ethernet 2/10
05-24-2016 08:20 AM
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.
05-24-2016 08:37 AM
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
05-24-2016 09:05 AM
Hi Mark,
any idea with MDS? I tried but it doesn't wipe config of interface.
05-24-2016 11:58 PM
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
To configure trunk mode, follow these steps:
|
|
|
---|---|---|
Enables (default) the trunk mode for the specified interface. |
||
Configures the trunk mode to auto mode, which provides automatic sensing for the interface. |
05-25-2016 08:31 PM
hi Mark,
this command didn't work, and it's for 7K- Switch
LAB5KA1(config)# default interface ethernet 2/10 OR int fc1/1
05-26-2016 12:12 AM
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
05-26-2016 08:36 AM
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.
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.
This example shows how to set all ports as Layer 3 routed ports:
This example shows how to reset all ports back to Layer 2 switchports:
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
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