4 Command Line Interface

up-link- Sepcifies an uplink interface.

down-link- Sepcifies a downlink interface.

Default Setting

No private VLANs are defined.

Command Mode

Global Configuration

Command Usage

A private VLAN provides port-based security and isolation between ports within the VLAN. Data traffic on the downlink ports can only be forwarded to, and from, the uplink port.

Private VLANs and normal VLANs can exist simultaneously within the same switch.

Entering the pvlan command without any parameters enables the private VLAN. Entering no pvlan disables the private VLAN.

Example

This example enables the private VLAN, and then sets port 12 as the uplink and ports 5-8 as the downlinks.

Console(config)#pvlan

Console(config)#pvlan up-link ethernet 1/12 down-link ethernet 1/5-8 Console(config)#

show pvlan

This command displays the configured private VLAN.

Command Mode

Privileged Exec

Example

Console#show pvlan

Private VLAN status: Enabled

Up-link port:

Ethernet 1/12

Down-link port:

Ethernet 1/5

Ethernet 1/6

Ethernet 1/7

Ethernet 1/8

Console#

4-180

Page 422
Image 422
SMC Networks SMC8150L2 manual Show pvlan, No private VLANs are defined, This command displays the configured private Vlan