Command:

port group

Mode:

Switch(config-if)#

Syntax:

port group group-number [distribution {source | destination}]

no port group

Syntax Description:

group-number

Port group number to which the port belongs. The range is
from 1 to 6.

distribution {source | destination}

(Optional) Forwarding method for the port group.

  • source�Set the port to forward traffic to a port group based on the packet source address. This is the default forwarding method
  • destination�Set the port to forward traffic to a port group based on the packet destination address.


Command Description:

Use the port group interface configuration command to assign a port to a Fast EtherChannel or Gigabit EtherChannel port group. Up to six port groups can be created on a switch. Up to eight ports can belong to a source-based or destination-based port group. Use the no form of this command to remove a port from a port group.

The following restrictions apply for all ports:

When a group is first formed, the switch automatically sets the following parameters to be the same on all ports:

Configuration of the first port added to the group is used when setting the above parameters for other ports in the group. After a group is formed, changing any parameter in the above list changes the parameter on all other ports.

Use the distribution keyword to customize the port group to your particular environment. The forwarding method you choose depends on how your network is configured. However, source-based forwarding works best for most network configurations.

 

Example:

The following example shows how to add a port to a port group by using the default source-based forwarding:

Switch(config-if)#port group 1

The following example shows how to add a port to a group by using destination-based forwarding:

Switch(config-if)#port group 2 distribution destination

You can verify the previous commands by entering the show port group command in privileged EXEC mode.


Misconceptions:

None

Related Commands:
None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)