EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 210

Ruijie RG-S2900G-E Series
943 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...
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.

Table of Contents

Related product manuals