11.10. Vlan Group Commands

11.10.1. vlan-group

Command Purpose

Use this command to create vlan group and then enter vlan group in Global Config mode. Use no vlan-group command to delete the vlan group.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

vlan-group VLAN_GROUP_NAME

no vlan-group VLAN_GROUP_NAME

Parameter

Parameter Description

Parameter Value

VLAN_GROUP_NAME

The name of the vlan group

A string with up to 32 characters

Command Mode

Global Config

Default

None

Usage

If the system already has a vlan group with the same name, this command will enter the vlan group configuration mode.

When the name is not used by any vlan group, this command is to create the vlan group firstly and then enter the vlan group configuration mode.

Examples

This example shows how to create a vlan group named vlan_group_1 and then enter the vlan group configuration mode:

Switch# configure terminal
Switch(config)# vlan-group vlan_group_1
Switch(config-vlan-group)#

This example shows how to remove the vlan group named vlan_group_1:

Switch# configure terminal
Switch(config)# no vlan-group vlan_group_1

11.10.2. menber vlan

Command Purpose

Use this command to add a vlan to vlan group. Use no member vlan command to delete the vlan.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

member vlan VLAN_ID

no member vlan

Parameter

Parameter Description

Parameter Value

VLAN_ID

The vlan id

1-4094

Command Mode

Vlan-group Configuration

Default

None

Usage

If the vlan has already been added to another vlan group, it cannot be added.

Examples

This example shows how to create a member vlan:

Switch# configure terminal
Switch(config)# vlan-group vlan_group_1
Switch(config-vlan-group)# member vlan 10

This example shows how to remove the member vlan :

Switch# configure terminal
Switch(config)# vlan-group vlan_group_1
Switch(config-vlan-group)# no member vlan 10

Related Commands

None