Users Guide

Konfigurieren von PVLANs mit Hilfe von CLI-Befehlen
In der folgenden Tabelle werden die der Seite Private VLAN (Privates VLAN)äquivalentenCLI-Befehle zum Konfigurieren von PVLANs zusammengefasst.
Tabelle 7-23. CLI-BefehlefürprivateVLANs
ImFolgendeneinBeispielfürdieCLI-Befehle:
CLI-Befehl
Beschreibung
switchport mode private vlan promiscuous
FügteinemPromiscuous-VLAN einen Promiscuous-Port
hinzu.
switchport mode private vlan community
FügteinemCommunity-VLAN einen Community-Port hinzu.
switchport mode private vlan isolated
FügteinemisoliertenVLANeinenisoliertenPorthinzu.
private-vlan primary
DefinierteinprimäresVLAN.
private-vlan community {add Community-VLAN-Liste | remove Community-VLAN-
Liste }
Definiert oder entfernt ein Community-VLANdesprimären
VLANs.
private-vlan isolated
Definiert ein Isolated-VLANdesprimärenVLANs.
switchport private-vlan PVLAN [community CVLAN]
Definiert private VLAN-Ports.
show vlan private-vlan [primary vlan-id]
ZeigtdasprivateprimäreVLAN.
console(config)# vlan
database
console(config-vlan)#vlan
2
console(config-vlan)#exit
console(config)#interface
vlan 2
console(config-if)#
private-vlan primary
console(config)#interface
vlan 2
console(config-if)#
private-vlan isolated 10
console(config-if)#
private-vlan community add
20