![D-Link DES-3010FA-TAA - Switch 10/100MBPS Mgmt Скачать руководство пользователя страница 297](http://html1.mh-extra.com/html/d-link/des-3010fa-taa-switch-10-100mbps-mgmt/des-3010fa-taa-switch-10-100mbps-mgmt_manual_3291073297.webp)
VLAN Commands
Page 296
switchport private-vlan
The
switchport private-vlan
Interface Configuration command configures private-vlan port VLANs. To return to
the default configuration, use the
no
form of this command.
Syntax
switchport private-vlan promiscuous
pvlan
no switchport private-vlan promiscuous
switchport private-vlan isolated pvlan
no switchport private-vlan isolated
switchport private-vlan community cvlan
no switchport private-vlan community
•
pvlan
— Specifies the ID of the primary VLAN.
•
cvlan
— Specifies the ID of the community VLAN.
Default Configuration
The port is not a member of a PVLAN.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
•
The community VLAN should be associated with the primary VLAN by using the
switchport access vlan
Interface Configuration mode command.
Example
This example configures private VLAN 200 as the primary private VLAN and associates it with promiscouous pri-
vate VLAN Ethernet port 5.
Console#
config
Console(config)#
vlan database
Console(config-vlan)#
vlan
200
Console(config-vlan)#
exit
Console(config)#
interface vlan
200
Console(config-if)#
private-vlan primary
Console(config-if)#
exit
Console(config)#
interface ethernet
5
Console(config-if)#
switchport private-vlan promiscuous
200