API Guide

Interface commands
channel-group
Assigns an interface to a port-channel group.
Syntax
channel-group channel-number mode {active | on | passive}
Parameters
channel-number Enter a port-channel number, from 1 to 128.
mode Sets LACP Actor mode.
active Sets Channeling mode to Active.
on Sets Channeling mode to static.
passive Sets Channeling mode to passive.
Default Not configured
Command Mode INTERFACE
Usage
Information
The no version of this command resets the value to the default, and unassigns the interface from the
port-channel group.
Example
OS10(config)# interface ethernet 1/1/2:1
OS10(conf-if-eth1/1/2:1)# channel-group 20 mode active
Supported
Releases
10.3.0E or later
default interface
Resets an Ethernet or Fibre Channel interface to its default settings.
Syntax
default interface interface-type
Parameters interface-type Enter the interface type:
ethernet node/slot/port[:subport] Resets an Ethernet interface to its default settings.
fibrechannel node/slot/port[:subport] Resets a Fibre Channel interface to its default
settings.
range ethernet node/slot/port:[subport]-node/slot/port[:subport] Resets a
range of Ethernet interfaces to their default settings.
Default Not configured
Command mode CONFIGURATION
Usage
information
To remove the configuration 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 using the no shutdown command; a Fibre Channel interface is
disabled using the shutdown command.
An Ethernet interface is assigned to the default VLAN.
The default interface command removes all software settings and all L3, VLAN, and port-channel
configurations on a physical interface. You must manually remove configured links to the interface from
other software features; for example, if you configure 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 effect.
Example
(Ethernet)
OS10# show running-configuration interface ethernet 1/1/15
!
282 Interfaces