24-Port Fast Ethernet Switch Management Guide

C
ONFIGURING
THE
S
WITCH
3-200
CLI – This example shows the switch configured with primary VLAN 5
and secondary VLAN 6. Port 3 has been configured as a promiscuous port
and mapped to VLAN 5, while ports 4 and 5 have been configured as a
host ports and associated with VLAN 6. This means that traffic for port 4
and 5 can only pass through port 3.
Configuring Private VLAN Interfaces
Use the Private VLAN Port Configuration and Private VLAN Trunk
Configuration menus to set the private VLAN interface type, and associate
the interfaces with a private VLAN.
Command Attributes
Port/Trunk – The switch interface.
PVLAN Port Type – Sets the private VLAN port types.
- Normal – The port is not configured into a private VLAN.
- Host – The port is a community port and can only communicate with
other ports in its own community VLAN, and with the designated
promiscuous port(s).
- Promiscuous – A promiscuous port can communicate with all
interfaces within a private VLAN.
Primary VLAN – Conveys traffic between promiscuous ports, and
between promiscuous ports and community ports within the associated
secondary VLANs. If PVLAN type is “Promiscuous,” then specify the
associated primary VLAN. For “Host” type, the Primary VLAN
displayed is the one to which the selected secondary VLAN has been
associated.
Secondary VLAN – On this switch, all secondary VLANs are
community VLANs. A community VLAN conveys traffic between
community ports, and from community ports to their designated
Console#show vlan private-vlan 4-247
Primary Secondary Type Interfaces
-------- ----------- ---------- --------------------------------
5 primary Eth1/ 3
5 6 community Eth1/ 4 Eth1/ 5
Console#