beautypg.com

Command list, Private-vlan, Command list private-vlan – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 430

background image

VLAN Commands

Software Reference for x310 Series Switches

17.2

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

Command List

This chapter provides an alphabetical reference of commands used to configure VLANs.
For more information see

Chapter 16, VLAN Introduction

.

private-vlan

Use this command to a create a private VLAN. Private VLANs can be either primary or
secondary. Secondary VLANs can be ether community or isolated.

Use the no variant of this command to remove the specified private VLAN.

For more information, see the section

“Private VLANs” on page 16.5

.

Syntax

private-vlan <vlan-id> {community|isolated|primary}

no private-vlan <vlan-id> {community|isolated|primary}

Mode

VLAN Configuration

Examples

Parameter

Description

<vlan-id>

VLAN ID in the range <2-4094> for the VLAN which is to be made a
private VLAN.

community

Community VLAN.

isolated

Isolated VLAN.

primary

Primary VLAN.

awplus#

configure terminal

awplus(config)#

vlan database

awplus(config-vlan)#

vlan 2 name vlan2 state enable

awplus(config-vlan)#

vlan 3 name vlan3 state enable

awplus(config-vlan)#

vlan 4 name vlan4 state enable

awplus(config-vlan)#

private-vlan 2 primary

awplus(config-vlan)#

private-vlan 3 isolated

awplus(config-vlan)#

private-vlan 4 community

awplus#

configure terminal

awplus(config)#

vlan database

awplus(config-vlan)#

no private-vlan 2 primary

awplus(config-vlan)#

no private-vlan 3 isolated

awplus(config-vlan)#

no private-vlan 4 community