
166 Chapter 5 VLANs and IGMP
212160-B
vlan members command
The vlan members command adds a port to or deletes a port from a VLAN. The
syntax for the
vlan members command is:
vlan members [add|remove] <1-4094> <portlist>
The vlan members command is in the config mode.
Table 96 describes the parameters and variables for the
vlan members
command.
show vlan mac-address command
The show vlan mac-address command displays the configured MAC address
for a MAC source address-based VLAN. The syntax for the
show vlan
mac-address command is:
show vlan mac-address <1-4094> [address H.H.H]
The show vlan mac-address command is in the privExec mode.
Table 97 describes the parameters and variables for the
show vlan
mac-address command.
Table 96 vlan members command parameters and variables
Parameters and
variables
Description
add|remove Adds a port to or removes a port from a VLAN.
Note: If you omit this parameter, you are setting the exact port
membership for the VLAN; the prior port membership of the VLAN
is discarded and replaced by the new list of ports.
<1-4094> Specifies the target VLAN.
portlist Enter the list of port(s) you are adding, removing, or assigning to
the VLAN.
Comentarios a estos manuales