SMC Networks SMC6824M manual 241, Following example shows how to display information for Vlan

Models: SMC6824M

1 608
Download 608 pages 58 Kb
Page 533
Image 533

COMMAND LINE INTERFACE

Example

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

Console#show vlan id 1

 

 

 

Vlan ID:

1

 

 

Type:

Static

 

 

Name:

DefaultVlan

 

 

Status:

Active

Eth1/ 3(S)

Eth1/ 4(S) Eth1/ 5(S)

Ports/Port channel:

Eth1/ 1(S) Eth1/ 2(S)

 

Eth1/ 6(S) Eth1/ 7(S)

Eth1/ 8(S)

Eth1/ 9(S) Eth1/10(S)

 

Eth1/11(S) Eth1/12(S)

Eth1/13(S)

Eth1/14(S) Eth1/15(S)

 

Eth1/16(S) Eth1/17(S)

Eth1/18(S)

Eth1/19(S) Eth1/20(S)

Console#

Eth1/21(S) Eth1/22(S)

Eth1/23(S)

Eth1/24(S) Eth1/26(S)

 

 

 

Configuring Private VLANs

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.

Table 4-61 Private VLAN Commands

Command

Function

Mode

Page

 

 

 

 

Edit Private VLAN Groups

 

 

 

 

 

 

private-vlan

Adds or deletes primary and secondary

VC

4-243

 

VLANs

 

 

 

 

 

 

private-vlan association

Associates a secondary with a primary

VC

4-243

 

VLAN

 

 

 

 

 

 

Configure Private VLAN

Interfaces

 

 

 

 

 

 

switchport mode

Sets an interface to host mode or

IC

4-245

private-vlan

promiscuous mode

 

 

 

 

 

 

switchport private-vlan

Associates an interface with a secondary

IC

4-246

host-association

VLAN

 

 

 

 

 

 

switchport private-vlan

Maps an interface to a primary VLAN

IC

4-246

mapping

 

 

 

 

 

 

 

4-241

Page 533
Image 533
SMC Networks SMC6824M manual 241, Following example shows how to display information for Vlan, Private Vlan Commands