port-channel load-balance
This command allows you to select the type of IPv4 traffic balancing.
Syntax
port-channel load-balance <METHOD>
Parameters
< METHOD > – balancing type:
- ip – based on IP address of sender and receiver;
- ip-l4 – based on IP address of sender and receiver, and L4;
- mac – based on MAC address of sender and receiver;
- mac-ip – based on MAC address and IP address of sender and receiver;
- mac-ip-l4 – based on MAC and IP addresses and L4 of sender and receiver.
Command mode
CONFIG
Example
ma4000(config)# port-channel load-balance ip
no interface port-channel
This command removes the group of port-channel uplink-interfaces.
Syntax
no interface port-channel <NUMBER>
Parameters
<NUMBER> – group number, may take values [1 .. 8].
Command mode
CONFIG
Example
ma4000(config)# no interface port-channel 2
lacp system-priority
This command sets the system priority LACP, which determines which of the switches in the interaction on the LACP protocol determines the priority ports.
The use of a negative from of the command (no) sets the default LACP system priority.
Syntax
lacp system-priority <PRIORITY>
no lacp system-priority
Parameters
<PRIORITY> – LACP priority, may take values [0 .. 65535].
Default value
32768
Command mode
CONFIG
Example
ma4000(config)# lacp system-priority 32541
mode
This command sets the channel aggregation mode:
- use LACP channel aggregation protocol;
- do not use channel aggregation.
Syntax
mode <ACT>
Parameters
<ACT> – mode:
- lacp – use LACP;
- static – don't use LACP.
Command mode
PORT-CHANNEL
SLOT-CHANNEL
PLC-SLOT-CHANNEL
Example
ma4000(switch-config-slot-channel-0/0)# mode lacp
The channel aggregation mode is allowed on the configurable interface.
channel-group
This command adds a port/ports to the aggregation group.
The use of the negative form of the command (no) removes a port/port group from the aggregation group.
Syntax
channel-group <ID> <FORCE>
no channel-group
Parameters
<ID> – sequence number of the aggregation group, to which the port will be added, takes values [1 ... 8];
<FORCE> – compatibility with other members of the aggregation group:
- force – set automatic port speed and duplex;
- normal – do not change the port speed and duplex mode.
Command mode
FRONT-PORT
Example
ma4000(front-port-all)# channel-group 3 normal
All uplink ports are combined in aggregation group 3.
lacp mode
This command allows you to select the channel aggregation mode:
- Passive – switch does not initiate creation of a logical link, but processes incoming LACP packets;
- Active – in this mode it is necessary to form an aggregated communication line and initiate coordination. Connection of communication lines is formed if the other side works in LACP active or passive modes.
The use of the negative form of the command (no) sets the default channel aggregation mode.
Syntax
lacp mode <NAME>
no lacp mode
Parameters
<NAME> – mode:
- active;
- passive.
Default value
active
Command mode
FRONT-PORT
PLC-SLOT-PORT
Example
ma4000(front-port-all)# lacp mode active
The channel aggregation mode 'active' is enabled on the configurable ports.
lacp port-priority
This command sets the priority for the configurable port. The priority is set in the range [1 .. 65535]. 1 is the highest priority.
The use of a negative form (no) of the command sets the default priority value.
Syntax
lacp port-priority <PRIORITY>
no lacp port-priority
Parameters
<PRIORITY> – the priority for this port is [0 .. 65535].
Default value
The default priority for all ports is 32768.
Command mode
FRONT-PORT
PLC-SLOT-PORT
Example
ma4000(front-port-all)# lacp port-priority 256
Port 256 priority is set on the configurable ports.
lacp rate
This command sets the transmission interval of control packets of LACPDU protocol. The use of the negative form of the command (no) sets the transmission interval of control packets of the LACPDU protocol by default.
Syntax
lacp rate <RATE>
no lacp rate
Parameters
<RATE> – transmission interval:
- fast – transmission interval is 1 second;
- slow – transmission interval is 1 second.
Default value
The default setting is 1 second (fast).
Command mode
FRONT-PORT
PLC-SLOT-PORT
Example
ma4000(front-port-1/1)# lacp rate slow
LACPDU control packets transmission interval is set to 30 seconds.
show channel-group counters
This command allows you to view information about LACPDU counters as well as connection breaks.
Syntax
show channel-group counters <NUMBER>
Parameters
<NUMBER> – group number, may take values [1 .. 8].
Command mode
ROOT
Example
ma4000# show channel-group counters 1 Channel group 1 Mode: static Port front-port 1/4: Link failure count: 0 LACPDU Rx: 5 LACPDU Tx: 0 Port front-port 2/4: Link failure count: 0 LACPDU Rx: 5 LACPDU Tx: 0
show channel-group hw
This command allows you to view the LAG aggregation group composition.
Syntax
show channel-group hw <NUMBER>
Parameters
<NUMBER> – group number, may take values [1 .. 8].
Command mode
CONFIG
Example
ma4000# show channel-group hw 1 Channel group 1 (2 members): front-port 2/4 [E], front-port 1/4 [E]
show channel-group lacp
This command is used to view LACP information for a given aggregation group.
Syntax
show channel-group lacp <NUMBER>
Parameters
<NUMBER> - group number, takes the following values [1 ... 8] or '0' to view information about all groups.
Command mode
CONFIG
Example
ma4000# show channel-group lacp 1 Channel group 1 Mode: static
show channel-group summary
This command allows you to view general information about the group.
Syntax
show channel-group summary <NUMBER>
Parameters
<NUMBER> - group number, takes the following values [1 ... 8] or '0' to view information about all groups.
Command mode
CONFIG
Example
ma4000# show channel-group summary 1 Channel group 1 Mode: static Port front-port 1/4: [active], link up, 1 Gbps , full duplex Port front-port 2/4: [active], link up, 1 Gbps , full duplex