EasyManua.ls Logo

Ruijie RG-S2600G-I Series - Page 234

Ruijie RG-S2600G-I Series
1192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 gigabitEthernet0/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

Table of Contents

Related product manuals