CONFIGURING PRIVATE VLANS
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.
]
Console#show vlan | |||
Primary | Secondary | Type | Interfaces |
5 |
| primary | Eth1/ 3 |
5 | 6 | community | Eth1/ 4 Eth1/ 5 |
Console# |
|
|
|
|
|
|
|
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.