Command Line Interface
4-160
4
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 between ports within the assigned VLAN.
This switch supports primary/secondary associated groups of private VLAN. A
primary VLAN contains promiscuous ports that can communicate with all other ports
in the private VLAN group, while a secondary (or community) VLAN contains
community ports that can only communicate with other hosts within the secondary
VLAN and with any of the promiscuous ports in the associated primary VLAN. In
both cases, the promiscuous ports are designed to provide open access to an
external network such as the Internet, while the community ports provide restricted
access to local users.
Multiple primary VLANs can be configured on this switch, and multiple community
VLANs can be associated with each primary VLAN. (Note that private VLANs and
normal VLANs can exist simultaneously within the same switch.)
Console#show vlan id 1
VLAN ID: 1
Type: Static
Name: DefaultVlan
Status: Active
Ports/Port Channels: 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)
Console#
Table 4-58. Private VLAN Commands
Command
Function
Mode
Page
Edit Private VLAN Groups
private-vlan
Adds or deletes primary or community VLANs
VC
4-161
private-vlan association
Associates a community VLAN with a primary VLAN VC
4-162
Configure Private VLAN Interfaces
switchport mode private-vlan
Sets an interface to host mode or promiscuous
mode
IC
4-162
switchport private-vlan
host-association
Associates an interface with a secondary VLAN
IC
4-163
switchport private-vlan
mapping
Maps an interface to a primary VLAN
IC
4-164
Display Private VLAN Information
show vlan private-vlan
Shows private VLAN information
NE, PE
4-164
Содержание 8124PL2
Страница 1: ...MANAGEMENT GUIDE TigerSwitchTM 10 100 1000 24 Port Managed Switch with PoE SMC8124PL2 ...
Страница 2: ......
Страница 20: ...xvi Contents ...
Страница 27: ...xxiii Figures ...
Страница 35: ...Introduction 1 8 1 ...
Страница 45: ...Initial Configuration 2 10 2 ...
Страница 148: ...Port Configuration 3 103 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Страница 473: ...Command Line Interface 4 240 4 ...
Страница 477: ...Software Specifications A 4 A ...
Страница 489: ...Index Index 4 menu list 3 3 panel display 3 3 ...
Страница 490: ......