T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
64
Syntax
switchport private-vlan mapping
primary_vlan_id secondary_vlan_id
no switchport private-vlan mapping
Parameter
primary-vlan-id
—— Primary VLAN ID, ranging from 2 to 4094.
secondary-vlan-id
—— Secondary VLAN ID, ranging from 2 to 4094.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure promiscuous type Gigabit Ethernet port 1/0/3 as a member of primary
VLAN 3 and secondary VLAN 4:
T2700G-28TQ(config)#interface gigabitEthernet
1/0/3
T2700G-28TQ(config-if)#switchport private-vlan mapping
3 4
show vlan private-vlan
Description
The
show vlan private-vlan
command is used to display the Private VLAN
configuration information of the switch.
Syntax
show vlan private-vlan
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Example
Display the configuration information of all Private VLAN:
T2700G-28TQ(config)#show vlan private-vlan