User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 153
5.2.5.1. switchport private-vlan
This command defines a private-VLAN association for an isolated or community port or a mapping for a
promiscuous port.
Format switchport private-vlan {host-association <primary-vlan-id> <secondary-vlan-id> | mapping <primary-
vlan-id> [add | remove] <secondary-vlan-list>}
Mode Interface Config
5.2.5.2. no switchport private-vlan
This command removes the private-VLAN association or mapping from the port.
Format no switchport private-vlan {host-association|mapping}
Mode Interface Config
5.2.5.3. switchport mode private-vlan
This command configures a port as a promiscuous or host private VLAN port. Note that the properties of each
mode can be configured even when the switch is not in that mode. However, they will only be applicable once
the switch is in that particular mode.
Format switchport mode private-vlan {host|promiscuous}
Default general
Mode Interface Config
Parameter
Definition
host-association
Defines the VLAN association for community or host ports.
mapping
Defines the private VLAN mapping for promiscuous ports.
primary-vlan-id
Primary VLAN ID of a private VLAN.
secondary-vlanid
Secondary (isolated or community) VLAN ID of a private VLAN.
add
Associates the secondary VLAN with the primary one.
remove
Deletes the secondary VLANs from the primary VLAN association.
secondary-vlanlist
A list of secondary VLANs to be mapped to a primary VLAN.
Parameter
Definition
host
Configures an interface as a private VLAN host port. It can be either isolated or
community port depending on the secondary VLAN it is associated with.
promiscuous
Configures an interface as a private VLAN promiscuous port. The promiscuous
ports are members of the primary VLAN.