SMC Networks TIGERSWITCH SMC6752AL2 ユーザーズマニュアル

ページ / 516
VLAN C
OMMANDS
4-209
Command Mode 
Normal Exec, Privileged Exec
Example 
The following example shows how to display information for VLAN 1:
Configuring Private VLANs
Private VLANs provide port-based security and isolation between ports 
within the assigned VLAN. This switch supports three types of private 
VLAN ports: promiscuous, community and isolated ports. A promiscuous 
port can communicate with all interfaces within a private VLAN. 
Community ports can only communicate with other ports in their own 
community VLAN, and with their designated promiscuous ports. Isolated 
ports can only communicate with their designated promiscuous ports, and 
not with any other host ports in its isolated VLAN.  This section describes 
commands used to configure private VLANs. 
Console#show vlan id 1
Vlan ID:               1
Type:                  Static
Name:                  DefaultVlan
Status:                Active
Ports/Port Channel:    Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S) Eth1/ 4(S) Eth1/ 5(S)
                       Eth1/ 6(S) Eth1/ 7(S) Eth1/ 8(S) Eth1/ 9(S) Eth1/10(S)
                       Eth1/11(S) Eth1/12(S) Eth1/13(S) Eth1/14(S) Eth1/15(S)
                       Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/19(S) Eth1/20(S)
                       Eth1/21(S) Eth1/22(S) Eth1/23(S) Eth1/24(S) Eth1/25(S)
                       Eth1/26(S) Eth1/27(S) Eth1/28(S) Eth1/29(S) Eth1/30(S)
                    
 Eth1/31(S) Eth1/32(S) Eth1/33(S) Eth1/34(S) Eth1/35(S)
                       Eth1/36(S) Eth1/37(S) Eth1/38(S) Eth1/39(S) Eth1/40(S)
                       Eth1/41(S) Eth1/42(S) Eth1/43(S) Eth1/44(S) Eth1/45(S)
                       Eth1/46(S) Eth1/47(S) Eth1/48(S) Eth1/49(S) Eth1/50(S)
                       Eth1/51(S) Eth1/52(S) 
Console#
Table 4-55  Private VLAN Commands 
Command
Function
Mode Page
Edit Private VLAN Groups
private-vlan 
Adds or deletes primary, community, or 
isolated VLANs 
VC
private-vlan association Associates a community VLAN with a 
primary VLAN
VC