Reference Guide

Table Of Contents
Usage information To remove the conguration from an Ethernet or Fibre Channel interface and reset the interface to its default
settings, use the default interface command. By default:
An Ethernet interface is enabled (no shutdown); a Fibre Channel interface is disabled (shutdown).
An Ethernet interface is assigned to the default VLAN.
For all interfaces, no IP address and no L2 switchport are congured (no IP address).
The default interface command removes all software settings and all L3, VLAN, VXLAN, and port-channel
congurations on a physical interface. You must manually remove congured links to the interface from other
software features — for example, if you congure an Ethernet interface as a discovery interface in a VLT domain.
Enter multiple interfaces in a comma-separated string or a port range using the default interface range
command.
There is no undo for this command. The no version of the command has no eect.
Examples
OS10(conf-if-eth1/5/1)# show config
!
interface Ethernet 1/5/1
description testconfig
no ip address
portmode hybrid
switchport
rate-interval 8
mac learning-limit 10 no-station-move
no shutdown
OS10(conf-if-eth1/5/1)# exit
OS10(config)# default interface ethernet 1/5/1
OS10(config)# do show config interface ethernet 1/5/1
!
interface Ethernet 1/5/1
no ip address
shutdown
OS10# show running-configuration interface fibrechannel 1/1/1
!
interface fibrechannel1/1/1
no shutdown
description fc-port
OS10(config)# default interface fc1/1/1
Proceed to cleanup the interface config? [confirm yes/no]:y
!
OS10(config)# do show running-configuration interface fibrechannel 1/1/1
interface fibrechannel1/1/1
shutdown
OS10(config)# default interface range ethernet 1/1/1-1/1/4,1/1/25:1-1/1/25:4
Proceed to cleanup interface range config? [confirm yes/no]:y
OS10(config)# do show running-configuration interface range ethernet
1/1/1-1/1/4,1/1/25:1-1/1/25:4
!
interface ethernet1/1/1
no shutdown
switchport access vlan 1
!
interface ethernet1/1/2
no shutdown
switchport access vlan 1
!
interface ethernet1/1/3
no shutdown
switchport access vlan 1
!
Interfaces
95