Westermo MRI-128-F4G-PSE24 User Manual

Page 111

Advertising
background image

107

Feature

Command Line

Private VLAN Configuration
Create VLAN

Switch(config)# vlan 2
vlan 2 success
Switch(config-vlan)#
end End current mode and change to enable

mode

exit Exit current mode and down to previous

mode

list Print command list

name Assign a name to vlan
no no
private-vlan Configure a private VLAN


Private VLAN Type


Choose the Types




Primary Type


Isolated Type


Community Type

Go to the VLAN you want configure first.

Switch(config)# vlan (VID)


Switch(config-vlan)# private-vlan
community Configure the VLAN as an community

private VLAN

isolated Configure the VLAN as an isolated private

VLAN

primary Configure the VLAN as a primary private

VLAN


Switch(config-vlan)# private-vlan primary
<cr>

Switch(config-vlan)# private-vlan isolated
<cr>

Switch(config-vlan)# private-vlan community
<cr>

Private VLAN Port Configuraiton
Go to the port
configuraiton

Switch(config)# interface (port_number, ex: gi26)
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>

Advertising
This manual is related to the following products: