EasyManua.ls Logo

Ruijie RG-S29 Series

Ruijie RG-S29 Series
1510 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...
Command Reference Private VLAN Commands
One host port can be associated with only one PVLAN pair.
Configuration
Examples
The following example associates the secondary VLAN with the primary VLAN on the host port.
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode private-vlan host
Ruijie(config-if)# switchport private-vlan host-association 22 23
Ruijie(config-if)# default switchport private-vlan host-asscioation
Ruijie(config-if)# switchport private-vlan host-association 22 25
Related
Commands
Command
Description
show vlan private-vlan
N/A
Platform
Description
N/A
7.8 switchport private-vlan mapping
Use this command to configure the secondary VLAN for the promiscuous port. Use the no or default
form of this command to restore the default setting.
switchport private-vlan mapping p_vid { svlist | add svist | remove svlist }
no switchport private-vlan mapping
default switchport private-vlan mapping
Parameter
Description
Parameter
Description
p_vid
Indicates the primary VLAN ID in a PVLAN pair.
svlist
Indicates the secondary VLAN associated with a promiscuous port.
Layer-2 association must be performed between it and p_vid.
add
Adds a secondary VLAN to be associated with a port.
remove
Cancels the secondary VLAN associated with a port.
Defaults
This function is disabled by default.
Command
mode
Interface configuration mode
Usage Guide
The port mode must be configured as the promiscuous mode.
Layer-2 association must be performed between the primary and secondary VLAN.
Configuration
Examples
The following example configures the secondary VLAN for the promiscuous port.
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode private-vlan
promiscuous

Table of Contents

Related product manuals