pvlan pvlan-trunk
Creates a Private VLAN domain with Primary-Secondary pair. Maps ISL and host ports
to VLAN based forwarding in PVLAN domain.
Syntax
pvlan pvlan-trunk
num
ethernet
unit/slot/port
[
to
unit/slot/port
|
[
ethernet
unit/slot/port
to
unit/slot/port
|
ethernet
unit/slot/port
]...
]
no pvlan pvlan-trunk
num
ethernet
unit/slot/port
[
to
unit/slot/port
|
[
ethernet
unit/slot/port
to
unit/slot/port
|
ethernet
unit/slot/port
]...
]
pvlan pvlan-trunk
num
lag
decimal
[
to
decimal
|
[
lag
decimal
to
decimal
|
lag
decimal
]...
]
no pvlan pvlan-trunk
num
lag
decimal
[
to
decimal
|
[
lag
decimal
to
decimal
|
lag
decimal
]...
]
Command Default
The inter-switch link for the primary VLAN is not configured.
Parameters
Modes
VLAN configuration mode
Privileged EXEC mode
Usage Guidelines
Issue this command only on Primary VLAN. Secondary VLAN for which an inter-switch link is to be created should be VALID. Port or LAG on which an inter-switch link is to be created should be a member of Primary VLAN.
Examples
The following example shows on Ethernet interfaces how to identify the ISL in the PVLAN.
device(config)# vlan 100 device(config-vlan-100)# tagged ethernet 1/1/10 to 1/1/11 device(config-vlan-100)# untagged ethernet 1/1/4 device(config-vlan-100)# pvlan type primary device(config-vlan-100)# pvlan mapping 101 ethernet 1/1/4 device(config-vlan-100)# pvlan mapping 102 ethernet 1/1/4 device(config-vlan-100)# pvlan pvlan-trunk 101 ethernet 1/1/10 to 1/1/11
History
| Release version | Command history |
|---|---|
| 08.0.61 | This command was modified to support the LAG ID option. |
| 08.0.70 | This command was modified to support mapping of secondary VLAN to promiscuous port or LAG. |