Interfaces | 435
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.
Assign 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: 
Delete or disable a port channel
To delete a port channel, you must be in the CONFIGURATION mode and use the no interface 
portchannel 
channel-number command.
When you disable a port channel (using the 
shutdown command) all interfaces within the port channel are 
operationally down also.
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.