Cisco Systems OL-6244-01 Switch User Manual


  Open as PDF
of 1438
 
2-510
Catalyst 6500 Series Switch Command Reference—Release 8.4
OL-6244-01
Chapter 2 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 module.
dynamic Specifies that the port become a member of dynamic VLANs.
static Specifies that the port become a member of static VLANs.