Switchport Private-Vlan Host-Association; Switchport Private-Vlan Mapping - TP-Link JetStream T3700G-28TQ Reference Manual

Jetstream 28-port gigabit stackable l3 managed switch
Hide thumbs Also See for JetStream T3700G-28TQ:
Table of Contents

Advertisement

T3700G-28TQ
JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide

switchport private-vlan host-association

Description
The switchport private-vlan host-association command is used to add host
type port to private VLAN. To remove the port from Private VLAN, please use no
switchport private-vlan host-association command.
Syntax
switchport private-vlan host-association primary_vlan_id secondary_vlan_id
vlantype
no switchport private-vlan host-association
Parameter
primary-vlan-id —— Primary VLAN ID, ranging from 2 to 4094.
secondary-vlan-id —— Secondary VLAN ID, ranging from 2 to 4094.
vlantype —— Specify the type of the secondary VLAN, either community or
isolated.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure host type Gigabit Ethernet port 1/0/3 as a member of primary VLAN 3
and secondary VLAN 4, with the type of VLAN 4 as community:
T3700G-28TQ(config)#interface gigabitEthernet 1/0/3
T3700G-28TQ(config-if)#switchport private-vlan host-association 3 4
community

switchport private-vlan mapping

Description
The switchport private-vlan mapping command is used to add promiscuous
type port to private VLAN. To remove the port from Private VLAN, please use no
switchport private-vlan mapping command.
59

Advertisement

Table of Contents
loading

Table of Contents