Command:

set port membership

Mode:

Switch> (enable)


Syntax:

set port membership mod_num/port_num {dynamic | static}


Syntax Description:

mod_num

Variable that specifies the module number.

port_num

Variable that specifies the port number.

dynamic

Keyword that specifies to configure the port for dynamic VLAN membership.

static

Keyword that specifies to configure the port for static VLAN membership.

 


Command Description:

Use the set port membership command to configure ports for dynamic or static VLAN membership.

Ports configured for dynamic VLAN membership obtain their VLAN assignment through VMPS. Ports configured for static VLAN membership obtain their VLAN assignment through the set vlan command.

When a port is assigned a VLAN dynamically, the show port command output identifies the VLAN as dynamic. If the dynamic port is shut down by a VMPS, its status is shown as shutdown. 

This command is not supported by the Access Gateway module.

Dynamic VLAN support for VVID includes these restrictions to the following configuration of MVAP on the switch port:

VMPS should be configured with the IP phone mac's.

 


Example:

This example shows how to set the port membership VLAN assignment to dynamic on module 3, ports 1 to 3:

Console> (enable) set port membership 3/1-3 dynamic

Ports 3/1-3 vlan assignment set to dynamic.
Spantree port fast start option enabled for ports 3/1-3.
Console> (enable)
 

This example shows how to configure a port for static VLAN membership on module 3, ports 1 to 3:

Console> (enable) set port membership 3/1-3 static

Ports 3/1-3 vlan assignment set to static.
Console> (enable)

 


Misconceptions:
None

Related Commands:
set port enable
show port

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)