Westermo PMI-110-F2G User Manual

Page 101

Advertising
background image

 
Private VLAN Port Configuraiton
Go to the port 
configuraiton 

Switch(config)# interface (port_number, ex: gi9) 
Switch(config‐if)# switchport private‐vlan 

  host‐association    Set the private VLAN host association 
  mapping                  map primary VLAN to secondary VLAN 

Private VLAN Port Type 
 
 
 
 
Promiscuous Port Type 
 
 
Host Port Type 

Switch(config‐if)# switchport mode 

  private‐vlan    Set private‐vlan mode 

Switch(config‐if)# switchport mode private‐vlan 

  host                  Set the mode to private‐vlan host 
  promiscuous    Set the mode to private‐vlan promiscuous 

Switch(config‐if)# switchport mode private‐vlan promiscuous 

  <cr> 

Switch(config‐if)# switchport mode private‐vlan host 

  <cr> 

Private VLAN Port 
Configuration 
PVLAN Port Type 
 
Host Association primary 
to secondary 
 
(The command is only 
available for host port.) 
 
 
 

Switch

(config)# interface gi9 

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 gi10 

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                    gi10(P),gi9(I) 
2              4                  Community              gi10(P),gi8(C) 
2              5                  Community              gi10(P),fa7(C),gi9(I) 
10            ‐                    ‐                                ‐ 

PVLAN Type 

Switch# show vlan private‐vlan type 
Vlan Type                            Ports 
‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ 
2        primary                      gi10 
3        isolated                    gi9 
4        community                  gi8 
5        community                  fa7,gi9 
10      primary                      ‐ 

97

Advertising