interface
Selects an interface and places the CLI into interface context, or deconfigures an interface.
Syntax
Syntax Description
no
(Optional) Causes the specified interface to be deconfigured.
string
The name of the interface to be configured.
Defaults
The CLI is in global context by default.
Usage Guidelines
This command must be given before issuing any commands that modify an interface. The specified interface remains the “selected” interface until another interface command or the end command is issued.
The “no” form of this command deletes all configuration information, both learned and manually-configured, from the specified interface. For physical interfaces (e.g., Ethernet), the interface is placed into automatic configuration mode. For virtual interfaces, the interface is deleted from the system.
Examples
Related Command
Last updated