Configuring VEM Management of LACP
Step 6
Step 7
Step 8
This example shows how to remove a port channel group from a port profile:
switch# configure terminal
switch(config)# port-profile testProf
switch(config-port-prof)# no channel-group auto
switch(config-port-prof)# show port-profile testProf
switch(config-port-prof)#
Configuring VEM Management of LACP
You can offload management of LACP from the VSM to the VEMs.
Before You Begin
• Log in to the CLI in EXEC mode.
Cisco Nexus 1000V for VMware vSphere Interface Configuration Guide, Release 5.x
80
Command or Action
switch(config-port-prof)#
switchport trunk allowed
vlan vlan-id-list
switch(config-port-prof)#
show port-profile name
switch(config-port-prof)#
copy running-config
startup-config
Purpose
• trunk
A trunk port transmits untagged packets for the native VLAN and
transmits encapsulated, tagged packets for all other VLANs.
Designates the port profile as trunking and defines VLAN access
to it as follows:
• allowed-vlans—Defines VLAN IDs that are allowed on the
port.
• add—Lists VLAN IDs to add to the list of those allowed on
the port.
• except—Lists VLAN IDs that are not allowed on the port.
• remove—Lists VLAN IDs whose access is to be removed
from the port.
• all—Indicates that all VLAN IDs are allowed on the port,
unless exceptions are also specified.
• none—Indicates that no VLAN IDs are allowed on the port.
If you do not configure allowed VLANs, the default VLAN 1 is
used as the allowed VLAN.
If you want traffic forwarded on the native VLAN of the trunk port,
the native VLAN must be in the allowed VLAN list.
(Optional)
Displays the configuration for verification.
(Optional)
Saves the change persistently through reboots and restarts by
copying the running configuration to the startup configuration.
Configuring Port Channels