Accton Technology ES4626 Switch User Manual


 
260
3. Enter port-channel configuration mode.
Command Explanation
Global Mode
interface port-channel
<port-channel-number>
Create and enter port-channel
configuration mode.
10.2.2 Port Channel Configuration Commands
10.2.2.1 port-group
Command: port-group <port-group-number> [load-balance { src-mac|dst-mac |
dst-src-mac | src-ip| dst-ip|dst-src-ip}]
no port-group <port-group-number> [load-balance]
Function: Create a port group and set the load balance method for that group. If no
method is specified, the default load balance method is used. The “no port-group
<port-group-number> [load-balance]” command deletes that group or restores the
default load balance setting. Enter “load-balance” for restoring default load balance,
otherwise, the group will be deleted.
Parameter: <port-group-number> is the group number of a port channel from 1 to 8, if
the group number already exists; an error message will be given. dst-mac performs load
balance according to destination MAC; src-mac performs load balance according to
source MAC; dst-src-mac performs load balance according to source and destination
MAC; dst-ip performs load balance according to destination IP; src-ip performs load
balance according to source IP; dst-src-ip performs load balance according to destination
and source IP. If a port group has formed a port-channel, load balance setting cannot be
modified, please set load balance mode before port-channel.
Default: Switch ports do not belong to port channel by default; LACP not enabled by
default.
Command mode: Global Mode
Example: Create a port group and set the default load balance method.
Command Explanation
Interface Mode
port-group <port-group-number> mode {active|passive|on}
no port-group <port-group-number>
Add ports to the
port group and
set their mode.