VLAN COMMANDS

This section describes commands used to configure private VLANs.

Table 4-55 Private VLAN Commands

Command

Function

Mode

Page

Edit Private VLAN Groups

 

 

 

 

 

 

private-vlan

Adds or deletes primary, community, or

VC

4-208

 

isolated VLANs

 

 

 

 

 

 

private-vlan association

Associates a community VLAN with a

VC

4-210

 

primary VLAN

 

 

 

 

 

 

Configure Private VLAN

Interfaces

 

 

 

 

 

 

switchport mode

Sets an interface to host mode or

IC

4-211

private-vlan

promiscuous mode

 

 

 

 

 

 

switchport private-vlan

Associates an interface with a secondary

IC

4-212

host-association

VLAN

 

 

 

 

 

 

switchport private-vlan

Associates an interface with an isolated

IC

4-212

isolated

VLAN

 

 

 

 

 

 

switchport private-vlan

Maps an interface to a primary VLAN

IC

4-213

mapping

 

 

 

 

 

 

 

Display Private VLAN

Information

 

 

 

 

 

 

show vlan private-vlan

Shows private VLAN information

NE,

4-215

 

 

PE

 

 

 

 

 

To configure primary/secondary associated groups, follow these steps:

1.Use the private-vlancommand to designate one or more community VLANs and the primary VLAN that will channel traffic outside of the community groups.

2.Use the private-vlan association command to map the community VLAN(s) to the primary VLAN.

3.Use the switchport mode private-vlancommand to configure ports as promiscuous (i.e., having access to all ports in the primary VLAN) or host (i.e., community port).

4.Use the switchport private-vlan host-association command to assign a port to a secondary VLAN.

4-207

Page 455
Image 455
SMC Networks SMC6224M manual 207, Private Vlan Commands