Cisco Nexus 5000 Series Interfaces Command Reference - Cisco Nexus 5000 Series Command Reference Manual

Interface
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

interface port-channel
• The MAC address of the EtherChannel is the address of the first operational port added to the channel
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.
You can configure one or more subinterfaces on a port channel made from routed interfaces.
Examples
This example shows how to create an EtherChannel group interface with channel-group number 50:
switch(config)# interface port-channel 50
switch(config-if)#
This example shows how to create a Layer 3 EtherChannel group interface with channel-group number 10:
switch(config)# interface port-channel 10
switch(config-if)# no switchport
switch(config-if)# ip address 192.0.2.1/24
switch(config-if)#
This example shows how to configure a Layer 3 EtherChannel subinterface with channel-group number 1 in
interface configuration mode:
switch(config)# interface port-channel 10
switch(config-if)# no switchport
switch(config-if)# interface port-channel 10.1
switch(config-subif)# ip address 192.0.2.2/24
switch(config-subif)#
This example shows how to configure a Layer 3 EtherChannel subinterface with channel-group number 20.1
in global configuration mode:
switch(config)# interface port-channel 20.1
switch(config-subif)# ip address 192.0.2.3/24
switch(config-subif)#
Related Commands
Command
encapsulation
ip address

Cisco Nexus 5000 Series Interfaces Command Reference

54
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.
Description
(Layer 3 interfaces) Sets the encapsulation type for
an interface.
(Layer 3 interfaces) Sets a primary or secondary IP
address for an interface.
I Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents