11.9. Port Group Commands

11.9.1. port-group

Command Purpose

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

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

port-group PORT_GROUP_NAME

no port-group PORT_GROUP_NAME

Parameter

Parameter Description

Parameter Value

PORT_GROUP_NAME

The name of the port group

A string with up to 32 characters

Command Mode

Global Config

Default

None

Usage

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

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

Examples

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

Switch# configure terminal
Switch(config)# port-group port_group_1
Switch(config-port-group)#

This example shows how to remove the port group named list_mac_1:

Switch# configure terminal
Switch(config)# no port-group port_group_1

11.9.2. member interface

Command Purpose

Use this command to add a physical interface or an aggregation interface to port group. Use no member interface command to delete the physical interface or aggregation interface.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

member interface ( IFPHYSICAL | IFAGG )

no member interface

Parameter

Parameter Description

Parameter Value

IFPHYSICAL

The name of the physical interface

Support physical ports

IFAGG

The name of the aggregation interface

Support aggregation ports

Command Mode

Port-group Configuration

Default

None

Usage

If the interface is already an aggregation member interface, it cannot be added. If the interface has already been added to another port group, it cannot be added.

Examples

This example shows how to create a member interface :

Switch# configure terminal
Switch(config)# port-group port_group_1
Switch(config-port-group)# member interface eth-0-1

This example shows how to remove the member interface :

Switch# configure terminal
Switch(config)# port-group port_group_1
Switch(config-port-group)# no member interface eth-0-1

Related Commands

None