VLAN COMMANDS

Example

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

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

Eth1/25

 

 

 

Eth1/26

 

 

 

 

Console#

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configuring Private VLANs

Private VLANs provide port-based security and isolation between ports within the assigned VLAN. This section describes commands used to configure private VlANs.

Command

Function

Mode

Page

pvlan

Enables and configured private VLANS

GC

4-173

 

 

 

 

show pvlan

Displays the configured private VLANS

PE

4-174

 

 

 

 

pvlan

Use this command to enable or configure a private VLAN. Use the no form to disable the private VLAN.

Syntax

pvlan [up-linkinterface-list down-linkinterface-list]no pvlan

up-link– Specifies an uplink interface.

down-link– Specifies a downlink interface.

Default Setting

No private VLANs are defined.

Command Mode

Global Configuration

4-173

Page 459
Image 459
SMC Networks SMC6724L3 Pvlan, Following example shows how to display information for Vlan, No private VLANs are defined