Users Guide

778 VLANs
Configuring VLAN Settings for a LAG
The VLAN mode and memberships settings you configure for a port are also
valid for a LAG (port-channel). Use the following commands to configure the
VLAN mode for a LAG. Once the switchport mode settings are specified for a
LAG, other VLAN memberships settings can be specified that are valid for
the switchport mode.
Command Purpose
configure Enter global configuration mode.
interface port-channel
channel-id
Enter interface configuration mode for the specified
interface.
channel-id — Specific port-channel. (The range is
platform specific). A range of LAGs can be specified using
the interface range port-channel command. For example,
interface range port-channel 4-8.
switchport mode
[access|general|trunk]
Configure the interface as an untagged layer-2 VLAN
interface.
CTRL + Z Exit to Privileged Exec mode.
show interfaces
switchport port-channel
channel-id
Display information about the VLAN settings configured
for the specified LAG.