Reference Guide

418 | Interfaces
www.dell.com | support.dell.com
Adding or removing a port channel from a VLAN
As with other interfaces, you can add Layer 2 port channel interfaces to VLANs. To add a port channel to a
VLAN, you must place the port channel in Layer 2 mode (by using the
switchport command).
To add a port channel to a VLAN, use either of the following commands:
To remove a port channel from a VLAN, use either of the following commands:
To see which port channels are members of VLANs, enter the
show vlan command in the EXEC Privilege
mode.
Assigning an IP address to a port channel
You can assign an IP address to a port channel and use port channels in Layer 3 routing protocols.
To assign an IP address, use the following command in the INTERFACE mode:
Command Syntax Command Mode Purpose
tagged port-channel id number
INTERFACE
VLAN
Add the port channel to the VLAN as a tagged
interface. An interface with tagging enabled can
belong to multiple VLANs.
untagged port-channel id number INTERFACE
VLAN
Add the port channel to the VLAN as an untagged
interface. An interface without tagging enabled can
belong to only one VLAN.
Command Syntax Command Mode Purpose
no tagged port-channel id number
INTERFACE
VLAN
Remove the port channel with tagging enabled
from the VLAN.
no untagged port-channel id number INTERFACE
VLAN
Remove the port channel without tagging
enabled from the VLAN.
Command Syntax Command Mode Purpose
ip address ip-address mask [secondary] INTERFACE Configure an IP address and mask on the interface.
ip-address mask: enter an address in
dotted-decimal format (A.B.C.D) and the mask
must be in slash format (/24).
secondary: the IP address is the interface’s
backup IP address. You can configure up to eight
secondary IP addresses.