Comtrol ES7510 User Manual

Page 159

Advertising
background image

RocketLinx ES7510 User Guide: 2000544 Rev. B

Private VLAN (CLI) - 159

Configuration Using the Command Line Interface (CLI)

Private VLAN Port Configuration

Go to the port
configuration

Switch(config)# interface (port_number, ex: fa1)

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

fa

1

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 fa1

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 fa1(P),fa2(I)

2 4 Community fa2(P),fa3(C)

2 5 Community fa2(P),fa1(C),fa3(I)

10 - - -

Advertising