CLI ReferenceInterface Configuration Commands
Private VLAN Configuration Commands
switchport mode private-vlan
Use this command to declare the private VLAN mode of the interface.
switchport mode private-vlan
{
host | promiscuous
}
no switchport mode
Parameter
description
Parameter
Description
host
Host mode of the private VLAN
promiscuous
Promiscuous mode of the private VLAN
no
Delete the private VLAN configuration of
the port.
Command
mode
Interface configuration mode.
Examples
Ruijie(config)#
interface
gigabitEthernet
0/2
Ruijie(config-if)#
switchport mode private-vlan host
Related
commands
Command
Description
show vlan private-vlan
Platform
description
The software version must be RGOS10.1 and later.
switchport private-vlan host-association
Use this command to associate the primary VLAN, which is associated with the private VLAN mode of
the interface, with the secondary VLAN.
switchport private-vlan host-association
p_vid
s_vid
no switchport private-vlan host-association
Parameter
description
Parameter
Description
p_vid
Primary VID.
s_vid
Secondary VID
no
Delete the host port from the private
VLAN.
Command
mode
Interface configuration mode.
Examples
Ruijie(config)#
interface gigabitEthernet
0/1
Ruijie(config-if)#
switchport mode private-vlan host
Ruijie(config-if)#
switchport private-vlan host-association
22 23
Summary of Contents for RG-S2600G-I Series
Page 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Page 5: ...5...
Page 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Page 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Page 642: ...CLI Reference TACACS Configuration Commands host...
Page 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Page 776: ...CLI Reference ND Snooping Configuration Commands...
Page 901: ...CLI Reference NFPP Configuration Commands...
Page 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Page 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Page 1005: ...CLI Reference DLDP Configuration Commands...
Page 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Page 1192: ...CLI Reference Guide...