beautypg.com

2 interface range port-channel, 3 channel-group, Example – Planet Technology WGSD-8000 User Manual

Page 252: Syntax, Default configuration, Command mode, User guidelines

background image

User’s Manual of WGSD-1022/WGSD-8000

- 252 –

Example

The following example enters the context of port-channel number 1.

Console (config)# interface port-channel 1

5.15.2 interface range port-channel

The interface range port-channel global configuration command enters the interface configuration mode to configure multiple

port-channels.

Syntax

interface range port-channel

{port-channel-range | all}

ƒ

port-channel-range — List of port-channels to configure. Separate non-consecutive port-channels with a comma and no

spaces. A hyphen designates a range of port-channels.

ƒ

all — All the channel-ports.

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

Commands under the interface range context are executed independently on each interface in the range. If the command

returns an error on one of the interfaces, it stops the execution of the command on subsequent interfaces.

Example

The following example shows how port-channels 1, 2 and 8 are grouped to receive the same command.

Console (config)# interface range port-channel 1-2

Console (config-if)#

5.15.3 channel-group

The channel-group interface configuration command associates a port with a port-channel. To remove a port from a port

channel, use the no form of this command.

Syntax

channel-group port-channel-number mode

{on | auto}

no channel-group

ƒ

port-channel_number — Specifies the number of the valid port-channel for the current port to join.