Switchport private-vlan association trunk – Brocade Network OS Command Reference v4.1.0 User Manual
Page 1320
1282
Network OS Command Reference
53-1003115-01
switchport private-vlan association trunk
2
switchport private-vlan association trunk
Assigns a primary private VLAN to private VLAN trunk port.
Synopsis
switchport private-vlan association trunk primary_vlan_ID secondary_vlan_ID
no switchport private-vlan association trunk primary_vlan_ID
no switchport private-vlan association trunk primary_vlan_ID secondary_vlan_ID
Operands
primary_vlan_ID
The primary VLAN identification.
secondary_vlan_ID
The secondary VLAN identification.
Defaults
The port does not have any PVLAN attributes by default.
Command Modes
Interface subtype configuration mode
Description
This command associates primary VLAN and secondary VLAN to a private VLAN trunk port. Refer to
the Usage Guidelines.
Usage Guidelines
Multiple PVLAN pairs (Primary VLAN, multiple secondaries) can be specified using this command.
Therefore, two no versions of this command are used to remove association for one primary VLAN,
or remove any trunk association.
On the Brocade VDX family of switches, VLANs are treated as interfaces from a configuration point
of view. By default, all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). Valid VLAN IDs
are as follows:
•
On Brocade VDX 8770 switches: 1 through 4086 for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.
•
On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.
Examples
To associate a primary VLAN to PVLAN trunk port, in this example 2 is primary VLAN and 302 is
secondary VLAN:
switch(conf-if-te-178/0/9)# switchport private-vlan association trunk 2 302
To remove a primary VLAN to PVLAN trunk port,
switch(conf-if-te-178/0/9)# no switchport private-vlan association trunk 2
See Also
private-vlan, switchport mode private-vlan, switchport private-vlan mapping