182
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter I Commands
interface port-channel
interface port-channel
To create an EtherChannel interface and enter interface configuration mode, use the
interface
port-channel
command. To remove an EtherChannel interface, use the
no
form of this command.
interface port-channel
channel-number
[.
subintf-channel-no
]
no interface port-channel
channel-number
[.
subintf-channel-no
]
Syntax Description
Command Default
None
Command Modes
Global configuration mode
Interface configuration mode
Command History
Usage Guidelines
A port can belong to only one channel group.
When you use the
interface port-channel
command for Layer 2 interfaces, follow these guidelines:
•
If you are using CDP, you must configure it only on the physical interface and not on the
EtherChannel interface.
•
If you do not assign a static MAC address on the EtherChannel interface, a MAC address is
automatically assigned. If you assign a static MAC address and then later remove it, the MAC
address is automatically assigned.
•
The MAC address of the EtherChannel is the address of the first operational port added to the
channel group. If this first-added port is removed from the channel, the MAC address comes from
the next operational port added, if there is one.
You must use the
no switchport
command in the interface configuration mode to configure the
EtherChannel interface as a Layer 3 interface. When you configure the interface as a Layer 3 interface,
all Layer 2 specific configurations on this interface are deleted.
Use the
switchport
command to convert a Layer 3 EtherChannel interface into a Layer 2 interface. When
you configure the interface as a Layer 2 interface, all Layer 3 specific configurations on this interface
are deleted.
channel-number
Channel number that is assigned to this EtherChannel logical interface. The
range is from 1 to 4096.
.
(Optional) Specifies the subinterface separator.
Note
Applies to Layer 3 interfaces.
subintf-channel-no
(Optional) Port number of the EtherChannel subinterface. The range is from
1 to 4093.
Note
Applies to Layer 3 interfaces.
Release
Modification
5.2(1)N1(1)
This command was introduced.