2-411
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set port membership
set port membership
To set the VLAN membership assignment to a port, use the set port membership command.
set port membership mod/port {dynamic | static}
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines Dynamic VLAN support for VVID includes these restrictions to the following configuration of MVAP
on the switch port:
You can configure any VVID on a dynamic port including dot1p and untagged, except when the
VVID is equal to dot1p or untagged. If this is the case, then you must configure VMPS with the
MAC address of the IP phone. When you configure the VVID as dot1p or untagged on a dynamic
port, this warning message is displayed:
VMPS should be configured with the IP phone mac’s.
You cannot change the VVID of the port equal to PVID assigned by the VMPS for the dynamic port.
You cannot configure trunk ports as dynamic ports, but you can configure MVAP as a dynamic port.
Examples This example shows how to set the port membership VLAN assignment to dynamic:
Console> (enable) set port membership 5/5 dynamic
Port 5/5 vlan assignment set to dynamic.
Spantree port fast start option enabled for ports 5/5.
Console> (enable)
This example shows how to set the port membership VLAN assignment to static:
Console> (enable) set port membership 5/5 static
Port 5/5 vlan assignment set to static.
Console> (enable)
mod/port Number of the module and the port on the mod ule.
dynamic Specifies that the port become a member of dynamic VLANs.
static Specifies that the port become a member of static VLANs.