Configuration Guide
Private VLAN Configuration
Ruijie(config-if)#
end
Ruijie#
Note
The primary VLAN and the secondary VLANs in this process are associated.
This configuration is supported in RGOS10.3(5) and later.
Configuring a Layer 2 Interface as the Promiscuous Port of a Private VLAN
To configure a layer 2 interface as the promiscuous port of a private VLAN,
execute the following commands:
Command
Description
configure terminal
Enter the global configuration mode.
interface <
interface
>
Enter the interface configuration mode.
Three kinds of interfaces are available: Megabit,
Gigabit, 10 Gigabit.
switchport mode private-vlan
promiscuous
Configure the interface as the promiscuous port of the
private VLAN.
no switchport mode
Remove the configuration.
switchport private-vlan mapping
p_vid{svlist | add
svlist
| remove
svlist
}
Map the secondary VLANs to the promiscuous port.
no switchport private-vlan mapping
Remove the mapping.
For example:
Ruijie#
configure terminal
Ruijie(config)#
interface gigabitEthernet
0/2
Ruijie(config-if)#
switchport mode private-vlan promiscuous
Ruijie(config-if)#
switchport private-vlan mapping
202
add
203
Ruijie(config-if)#
end
Note
The primary VLAN and the secondary VLANs in this process are associated.
Showing a Private VLAN
Showing a Private VLAN
To show a private VLAN, execute the following command:
Command
Description
show vlan private-vlan
[
type
]
Show the private VLAN.
Summary of Contents for RG-S2900G-E Series
Page 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Page 91: ...Configuration Guide Configuring PoE Configuration ...
Page 133: ...Configuration Guide EEE Configuration ...
Page 319: ...Configuration Guide QinQ Configuration ...
Page 408: ......
Page 409: ...IP Routing Configuration 1 Static Route Configuration ...
Page 412: ......
Page 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Page 757: ......
Page 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Page 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Page 901: ...Configuration Guide ERSPAN Configuration ...
Page 902: ...Web based Configuration 1 Web based Configuration ...