Users Guide

Table Of Contents
Layer 2 Switching Commands 908
Syntax
switchport private-vlan {host-association
primary-vlan-id
secondary-vlan-id
|
mapping
primary-vlan-id
{add|remove}
secondary-vlan-list
} | mapping
trunk
primary-vlan-id
{
secondary-vlan-list
| add
secondary-vlan-list
|
remove
secondary-vlan-list
} | trunk { native vlan
vlan-if
| allowed vlan
vlan-
list
} | association trunk
primary-vlan-id
secondary-vlan-id
}
no switchport private-vlan {host-association|mapping | mapping trunk
primary-vlan-id
| trunk allowed
vlan-list
| trunk native vlan
vlan-id
|
association trunk
primary-vlan-id secondary-vlan-id
}}
no switchport private-vlan mapping trunk
no switchport private-vlan trunk allowed vlan
vlan-list
no switchport private-vlan trunk native vlan
vlan-id
no switchport private-vlan association trunk [ primary-vlan-id ]
no switchport private-vlan {host-association|mapping}
host-association—Defines VLAN associations 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.
mapping trunk—Maps the port to a primary VLAN and selected
secondary VLANs.
trunk native vlan—Defines the VLAN association for untagged packets on
a trunk mode port. If not configured, untagged packets are dropped.
trunk allowed vlan—Specifies the allowed normal VLANs on the trunk
port.