Users Guide

Layer 2 Switching Commands 395
Syntax
default [interface-id]
interface-id—An Ethernet or port channel, loopback, tunnel or VLAN
interface identifier.
Default Configuration
This command has no defaults.
Command Mode
Global Configuration mode
User Guidelines
This command returns an Ethernet, port channel, VLAN, tunnel or loopback
interface to the interface defaults as follows:
Trunk and general mode configuration is removed.
The interface is set to access mode using VLAN 1.
The port is removed from all access-groups.
The port is removed from port-channels.
Speed/duplex are set to defaults.
Spanning tree is enabled.
Loop protection, BFD, and UDLD are disabled.
Port MAC locking is disabled.
Static MAC address entries referencing the interface are removed.
Private VLAN configuration is removed.
Use of this command may cause the interface to drop the link. This is
particularly true when the port defaults to a 10G fiber port and the installed
transceiver requires auto-negotiation to be enabled.
Command History
Command introduced in version 6.5 firmware.
Example
console(config)#default gi1/0/1