Private vlan commands, Private vlan commands -132 – SMC Networks TIGERSWITCH 10/100 User Manual

Page 274

Advertising
background image

C

OMMAND

L

INE

I

NTERFACE

3-132

Example

The following example shows how to display information for
VLAN 1:

Private VLAN Commands

Private VLANs provide port-based security and isolation between
ports within the assigned VLAN. This switch supports two types of
private VLAN ports: promiscuous, and community ports. A
promiscuous port can communicate with all interfaces within a
private VLAN. Community ports can only communicate with other
ports in their own community VLAN, and with their designated
promiscuous ports. This section describes commands used to
configure private VLANs.

Console#show vlan id 1
VLAN Type

Name

Status

Ports/Channel groups

---- ------- ----------- ------

-------------------------------

1

Static

DefaultVlan

Active

Eth1/1

Eth1/2

Eth1/3

Eth1/4

Eth1/5

Eth1/6

Eth1/7

Eth1/8

Eth1/9

Eth1/10 Eth1/11 Eth1/12

Eth1/13 Eth1/14 Eth1/15 Eth1/16
Eth1/17 Eth1/18 Eth1/19 Eth1/20
Eth1/21 Eth1/22 Eth1/23 Eth1/24

Console#

Command

Function

Mode Page

Edit Private VLAN Groups

private-vlan

Adds or deletes primary and secondary
VLANs

VC

3-134

private-vlan
association

Associates a secondary with a primary
VLAN

VC

3-135

Configure Private VLAN Interfaces

switchport mode
private-vlan

Sets an interface to host mode or
promiscuous mode

IC

3-136

Advertising