
Chapter 5: Switching Commands
373
Private VLAN Commands
This section describes the commands you use for private VLANs. Private
VLANs provides Layer 2 isolation between ports that share the same broadcast
domain. In other words, it allows a VLAN broadcast domain to be partitioned
into smaller point-to-multipoint subdomains. The ports participating in a private
VLAN can be located anywhere in the Layer 2 network.
switchport private-
vlan
This command defines a private-VLAN association for an isolated or community
port or a mapping for a promiscuous port.
Format
switchport private-vlan {host-association
primary-vlan-
id secondary-vlan-id
| mapping
primary-vlan-id
{add |
remove}
secondary-vlan-list
}
Mode
Interface Config
Parameter
Description
host-association
Defines the VLAN association for community or
host ports.
mapping
Defines the private VLAN mapping for promiscuous
ports.
primary-vlan-id
Primary VLAN ID of a private VLAN.
secondary-vlan-id
Secondary (isolated or community) VLAN ID of a
private VLAN.
add
Associates the secondary VLAN with the primary
one.
remove
Deletes the secondary VLANs from the primary
VLAN association.
secondary-vlan-list
A list of secondary VLANs to be mapped to a
primary VLAN.
Содержание CN1610
Страница 3: ......
Страница 27: ...24 CLI Line Editing Conventions List available commands keywords or parameters Key Sequence Description ...
Страница 31: ...28 Accessing the CLI ...
Страница 309: ...306 Remote Monitoring Commands ...
Страница 473: ...470 Port Mirroring Commands 100 ...
Страница 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Страница 607: ...604 IPv6 Management Commands ...