Westermo MRI-128-F4G-PSE24 User Manual
Page 112
![background image](https://www.manualsdir.com/files/809531/content/doc112.png)
108
Private VLAN Port
Configuration
PVLAN Port Type
Host Association
primary to secondary
(The command is
only available for
host port.)
Switch(config)# interface gi26
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan
host-association
<2-4094> Primary range VLAN ID of the private
VLAN port association
Switch(config-if)# switchport private-vlan
host-association 2
<2-4094> Secondary range VLAN ID of the private
VLAN port association
Switch(config-if)# switchport private-vlan
host-association 2 3
Mapping primary to
secondary VLANs
(This command is
only available for
promiscuous port)
Switch(config)# interface gi27
Switch(config-if)# switchport mode private-vlan
promiscuous
Switch(config-if)# switchport private-vlan mapping 2
add 3
Switch(config-if)# switchport private-vlan mapping 2
add 4
Switch(config-if)# switchport private-vlan mapping 2
add 5
Private VLAN Information
Private VLAN
Information
Switch# show vlan private-vlan
FLAGS: I -> Isolated P -> Promiscuous
C -> Community
Primary Secondary Type Ports
------- --------- ----------------- ---------------------
2 3 Isolated gi27(P),gi26(I)
2 4 Community gi27(P),gi25(C)
2 5 Community gi27(P),fa7(C),gi26(I)
10 - - -
PVLAN Type
Switch# show vlan private-vlan type
Vlan Type Ports
---- ----------------- -----------------
2 primary gi27
3 isolated gi26
4 community gi25
5 community fa7,gi26
10 primary -
Host List
Switch# show vlan private-vlan port-list
Ports Mode Vlan
----- ----------- ----
1 normal -
2 normal -
3 normal -
4 normal -
5 normal -
6 normal -
7 host 5
8 host 4