3.6. Link Aggregation Commands
3.6.1. channel-group
Command Purpose
Use this command to assign a port to a channel group. Use the no form of this command to remove a port from a channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
channel-group GROUP_NUMBER mode ( active | passive )
no channel-group
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
1-63 |
active |
Enable initiation of LACP negotiation on a port |
- |
passive |
Disable initiation of LACP negotiation on a port |
- |
Command Mode
Interface Configuration
Default
None
Usage
None
Examples
This example shows how to assign a port to a channel group 1:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# channel-group 1 mode active
This example shows how to remove a port from an channel group 1:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no channel-group
3.6.2. static-channel-group
Command Purpose
Use this command to assign a port to a static channel group. Use the no form of this command to remove a port from a static channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
static-channel-group GROUP_NUMBER
no static-channel-group
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Interface Configuration
Default
None
Usage
None
Examples
This example shows how to assign a port to a static channel group 1:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# static-channel-group 1
This example shows how to remove a port from a static channel group 1:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no static-channel-group
Related Commands
None
3.6.3. distribute-weight
Command Purpose
Use this command to configure the distribute-weight of member for the static channel group or the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
distribute-weight WEIGHT
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
WEIGHT |
Distribute-weight |
1-256 |
Command Mode
Interface Configuration
Default
1
Usage
Distribute-weight is only supported in non-selfing-healing of static load-balance-mode member port, and the total weights of member ports cannot exceed the maximum number of member ports.
Examples
This example shows how to configure the distribute-weight 10 for member:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# static-channel-group 1
Switch(config-if)# distribute-weight 10
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# static-channel-group 1
Switch(config-if)# no distribute-weight
Related Commands
None
3.6.4. lacp max-active-linknumber
Command Purpose
Use this command to configure the aggregator max active link number for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp max-active-linknumber NUMBER
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
NUMBER |
-Max-active-linknumber |
1-255 |
Command Mode
Interface Configuration
Default
255
Usage
Max-active-linknum is only supported in the aggregator of Link Aggregation Control Protocol (LACP)
Examples
This example shows how to configure the max-active-linknumber 100 for the Link Aggregation Control Protocol (LACP) aggregator:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# lacp max-active-linknumber 100
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# no lacp max-active-linknumber
Related Commands
None
3.6.5. lacp preempt enable
Command Purpose
Use this command to enable the aggregator of Aggregation Control Protocol (LACP) preemption. Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp preempt enable
no lacp preempt enable
Command Mode
Interface Configuration
Default
Disabled
Usage
lacp preempt enable is only supported in the aggregator of Link Aggregation Control Protocol (LACP)
Examples
This example shows how to enable preempt for the Link Aggregation Control Protocol (LACP) aggregator:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# lacp preempt enable
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# no lacp preempt enable
Related Commands
None
3.6.6. lacp preempt delay
Command Purpose
Use this command to config the aggregator of Aggregation Control Protocol (LACP) preempt delay. Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp preempt delay TIME
no lacp preempt delay
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
TIME |
preempt delay time |
0-180 |
Command Mode
Interface Configuration
Default
30
Usage
lacp preempt delay is only supported in the aggregator of Link Aggregation Control Protocol (LACP), and take effect when preempt is enabled
Examples
This example shows how to configure lacp preempt delay 100 for the Link Aggregation Control Protocol (LACP) aggregator:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# lacp preempt delay 100
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# no lacp preempt delay
Related Commands
None
3.6.7. lacp port-id extend
Command Purpose
Use this command to configure the port number extend for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp port-id extend Value
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
VALUE |
LACP port id extend value |
1-2 |
Command Mode
Interface Configuration
Default
Disabled
Usage
None
Examples
This example shows how to configure the port-id extend 1 for the Link Aggregation Control Protocol (LACP) aggregator:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# lacp port-id extend 1
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# interface agg1
Switch(config-if)# no lacp port-id extend
Related Commands
None
3.6.8. lacp port-priority
Command Purpose
Use this command to configure the port priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp port-priority PRIORITY
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PRIORITY |
LACP port priority |
1-65535 |
Command Mode
Interface Configuration
Default
32768
Usage
None
Examples
This example shows how to configure the port priority 100 for the Link Aggregation Control Protocol (LACP) member:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# lacp port-priority 100
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no lacp port-priority
Related Commands
None
3.6.9. lacp timeout
Command Purpose
Use this command to configure the port timeout for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp timeout ( short | long )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
short |
Set LACP short timeout |
- |
long |
Set LACP long timeout |
- |
Command Mode
Interface Configuration
Default
Long
Usage
None
Examples
This example shows how to configure the port timeout short for the Link Aggregation Control Protocol (LACP):
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# lacp timeout short
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# no lacp timeout
Related Commands
None
3.6.10. lacp system-priority
Command Purpose
Use this command to configure the system priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp system-priority PRIORITY
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
PRIORITY |
LACP system priority |
1-65535 |
Command Mode
Global Config
Default
32768
Usage
None
Examples
This example shows how to configure the system priority 100 for the Link Aggregation Control Protocol (LACP):
Switch# configure terminal
Switch(config)# lacp system-priority 100
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# no lacp system-priority
Related Commands
None
3.6.11. lacp mlag system-id
Command Purpose
Use this command to configure the mlag system id for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
lacp mlag system-id MAC
no lacp mlag system-id
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
MAC |
LACP mlag system id |
Mac address in HHHH.HHHH.HHHH format |
Command Mode
Global Config
Default
system route-mac
Usage
None
Examples
This example shows how to configure the mlag system id 1111.1111.1111 for the Link Aggregation Control Protocol (LACP):
Switch# configure terminal
Switch(config)# lacp mlag system-id 1111.1111.1111
This example shows how to return to the default setting:
Switch# configure terminal
Switch(config)# no lacp mlag system-id
Related Commands
None
3.6.12. port-channel channel-group-number load-balance-mode dynamic
Command Purpose
Use this command to enable dynamic load balance for the Link Aggregation Group (both static and dynamic aggregator). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel GROUP_NUMBER load-balance-mode dynamic ( flow-number FLOW_NUMBER | )
no port-channel GROUP_NUMBER load-balance-mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
AQ-N3000, AQ-N5000
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
FLOW_NUMBER |
Flow Number,default value is 32, can be 32/64/128/256/512/1024/2048 |
- |
AQ-N6000
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
FLOW_NUMBER |
Flow Number,default value is 32, can be 32/64/128/256/512/1024/2048/4096/8192 |
- |
Command Mode
Global Config
Default
None
Usage
Before enable or disable the load-balance mode, the Link Aggregation Group should not be create.
Examples
This example shows how to enable dynamic load balance for agg1:
Switch# configure terminal
Switch(config)# port-channel 1 load-balance-mode dynamic
Related Commands
None
3.6.13. port-channel channel-group-number load-balance-mode resilient
Command Purpose
Use this command to enable resilient load balance for the Link Aggregation Group(both static and dynamic aggregator). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel GROUP_NUMBER load-balance-mode resilient ( flow-number FLOW_NUMBER | )
no port-channel channel-group-number load-balance-mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
FLOW_NUMBER |
Flow Number, default value is 32, can be 32/64/128/256 |
- |
Command Mode
Global Config
Default
None
Usage
Before enable or disable the load-balance mode, the Link Aggregation Group should not be create.
Examples
This example shows how to enable resilient load balance for agg1:
Switch# configure terminal
Switch(config)# port-channel 1 load-balance-mode resilient
Related Commands
None
3.6.14. port-channel channel-group-number load-balance-mode round-robin
Command Purpose
Use this command to enable round-robin load balance for the Link Aggregation Group(both static and dynamic aggregator). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel GROUP_NUMBER load-balance-mode round-robin ( flow-number FLOW_NUMBER | )
no port-channel GROUP_NUMBER load-balance-mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
FLOW_NUMBER |
Flow Number, default value is 24 |
- |
Command Mode
Global Config
Default
None
Usage
Before enable or disable the load-balance mode, the Link Aggregation Group should not be create.
Examples
This example shows how to enable round-robin load balance for agg1:
Switch# configure terminal
Switch(config)# port-channel 1 load-balance-mode round-robin
Related Commands
None
3.6.15. port-channel channel-group-number self-healing
Command Purpose
Use this command to enable self-healing for the Link Aggregation Group(both static and dynamic aggregator). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel GROUP_NUMBER self-healing
no port-channel GROUP_NUMBER self-healing
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Global Config
Default
None
Usage
Before enable or disable the self-healing, the Link Aggregation Group should not be create.
Examples
This example shows how to enable self-healing for agg1:
Switch# configure terminal
Switch(config)# port-channel 1 self-healing
Related Commands
None
3.6.16. port-channel channel-group-number session-preservation
Command Purpose
Use this command to enable Enable session preservation mechanism for the Link Aggregation Group(both static and dynamic aggregator). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
not supported |
Base |
|
AQ-N5000 |
not supported |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel GROUP_NUMBER session-preservation
no port-channel GROUP_NUMBER session-preservation
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Global Config
Default
None
Usage
Before enable or disable session-preservation, the Link Aggregation Group should not be create.
Examples
This example shows how to enable session-preservation for agg1:
Switch# configure terminal
Switch(config)# port-channel 1 session-preservation
Related Commands
None
3.6.17. port-channel channel-group-number static
Command Purpose
Use this command to enable static load balance for the Link Aggregation Group (both static and dynamic aggregator). Use the no form of this command to return to the default setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel GROUP_NUMBER load-balance-mode static ( flow-number FLOW_NUMBER | )
no port-channel GROUP_NUMBER load-balance-mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
FLOW_NUMBER |
Flow Number, default value is 16, can be 1~24/32/64/128 |
- |
Command Mode
Global Config
Default
None
Usage
Before enable or disable the load-balance mode, the Link Aggregation Group should not be create.
Examples
This example shows how to enable static load balance for agg1:
Switch# configure terminal
Switch(config)# port-channel 1 load-balance-mode static
Related Commands
None
3.6.18. port-channel channel-group-number lacp-mode dynamic
Command Purpose
Use this command to enable dynamic lacp for the Link Aggregation Group (only dynamic aggregator). Use the no form of this command to unset the setting.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel GROUP_NUMBER lacp-mode dynamic
no port-channel GROUP_NUMBER lacp-mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Global Config
Default
None
Usage
Before enable or disable the dynamic lacp mode, the Link Aggregation Group should not be create.
Examples
This example shows how to enable dynamic lacp-mode for agg1:
Switch# configure terminal
Switch(config)# port-channel 1 lacp-mode dynamic
Related Commands
None
3.6.19. port-channel group-mode
Command Purpose
Use this command to switch the Link Aggregation Group mode. Use the no form of this command to return to the default group mode(56). Lacp cannot use ID 0.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
port-channel group-mode ( flexible | 8 | 16 | 32 | 56 )
no port-channel group-mode
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
flexible |
Group mode flexible, the group range is 0~63 |
- |
8 |
Group mode 8, the group range is 0~7 |
8 |
16 |
Group mode 16, the group range is 0~15 |
16 |
32 |
Group mode 32, the group range is 0~31 |
32 |
56 |
Group mode 32, the group range is 0~55 |
56 |
Command Mode
Global Config
Default
flexible
Usage
The linkagg group-mode you specified will not take effect until you save configuration and reboot
Examples
This example shows how to switch to group mode 32:
Switch# configure terminal
Switch(config)# port-channel group-mode 32
Related Commands
None
3.6.20. local-preference
Command Purpose
Use this command to configure local-preference mode of link aggregation.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
local-preference (enable | disable)
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
enable |
Enable local-preference |
- |
disable |
Disable local-preference |
- |
Command Mode
Interface Configuration
Default
Enabled
Usage
None
Examples
This example shows how to configure local-preference mode of link aggregation:
DUT1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DUT1(config)# interface agg 1
DUT1(config-if)# local-preference enable
Related Commands
None
3.6.21. show channel-group summary
Command Purpose
Use this command to display a summary of all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show channel-group ( channel-group-number | ) summary
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
channel-group-number |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display a summary of all of the channel groups:
Switch# show channel-group summary
port-channel load-balance hash-arithmetic: xor
port-channel load-balance hash-field-select:
ipsa ipda srcport dstport ip-protocol
port-channel group-mode: flexible
Flags: s - Suspend T - Standby
D - Down/Admin down B - In bundle
R - Layer3 S - Layer2
w - Wait U - In use
Mode: SLB - Static load balance
DLB - Dynamic load balance
RR - Round robin load balance
RLB - Resilient load balance
Aggregator Name Mode Protocol Ports
----------------+---------+------------+---------------------------------
agg4(SD) SLB Static eth-0-10(D)
Related Commands
None
3.6.22. show channel-group detail
Command Purpose
Use this command to display detailed information of all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show channel-group ( GROUP_NUMBER | ) detail
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display detailed information of the channel group 10:
Switch# show channel-group detail
Channel-group listing:
------------------------------
Group: 4
---------------
Group state: L2
Ports: 1 Maxports: 16
Number of ports in bundle: 0 Max Channel-groups: 63
Protocol: Static
Ports in the group:
-------------------------------
Port: eth-0-10
-------------------------------
Port state : down Not-in-Bndl
Channel group : 4 Protocol : Static Port-channel : agg4
Port index : 10
Related Commands
None
3.6.23. show lacp internal
Command Purpose
Use this command to display internal information of all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show lacp ( GROUP_NUMBER | ) internal
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display internal information of all of the channel groups:
Switch# show lacp internal
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 1
LACP port Admin Oper Port Port
Port Flags State Priority key Key Number State
eth-0-9 SA bndl 32768 1 1 0x9 0x3d
Related Commands
None
3.6.24. show lacp internal detail
Command Purpose
Use this command to display detailed internal information of all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show lacp ( GROUP_NUMBER | ) internal detail
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display detailed internal information of all of the channel groups:
Switch# show lacp internal detail
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 1
Actor's information:
Actor Actor Actor
Port System ID Port Number Flags
eth-0-9 32768,e0ef.1a32.7e00 0x9 SA
LACP Actor Actor Actor
Port Priority Oper Key Port State
32768 1 0x4d
Port State Flags Decode:
Activity: Timeout: Aggregation: Synchronization:
Active Long Yes Yes
Collecting: Distributing: Defaulted: Expired:
No No Yes No
Related Commands
None
3.6.25. show lacp neighbor
Command Purpose
Use this command to display neighbor information of all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show lacp ( GROUP_NUMBER | ) neighbor
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
- channel-gro up-numberGROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display neighbor information of all of the channel groups:
Switch# show lacp neighbor
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 1 neighbors
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID key Key Number State
eth-0-9 FP 0 0000.0000.0000 0 0 0x0 0x46
Related Commands
None
3.6.26. show lacp neighbor detail
Command Purpose
Use this command to display detailed neighbor information of all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show lacp ( GROUP_NUMBER | ) neighbor detail
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display detailed neighbor information of all of the channel groups:
Switch# show lacp neighbor detail
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 1 neighbors
Partner's information:
Partner Partner Partner
Port System ID Port Number Flags
eth-0-9 32768,0000.0000.0000 0x0 SP
LACP Partner Partner Partner
Port Priority Oper Key Port State
0 0 0x44
Port State Flags Decode:
Activity: Timeout: Aggregation: Synchronization:
Passive Long Yes No
Collecting: Distributing: Defaulted: Expired:
No No Yes No
Related Commands
None
3.6.27. show channel-group port
Command Purpose
Use this command to display details of the LACP port of all of the channel groups, or a specified channel group, or a specified port.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show channel-group port ( IFNAME | )
show channel-group GROUP_NUMBER port
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
IFNAME |
Interface name |
Support physical ports |
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display details of the LACP port of all of the channel group:
Switch# show channel-group port
Channel-group listing:
--------------------
Group: 1
--------------------
Ports in the group:
--------------------
Port: eth-0-9
--------------------
Port state : Up Sngl-port-Bndl Not-in-Bndl
Channel number : 1 Protocol : LACP Channel-group : agg1
Port index : 9 Mode : Active
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast
LACPDUs
A - Device is in active mode P - Device is in passive mode
Local information:
Actor LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
eth-0-9 SA indep 32768 1 1 9 0x4d
Partner\'s information:
Actor LACP port Oper Port Port
Port Flags Priority Dev ID Key Number State
eth-0-9 SP 0 0000.0000.0000 0 0 0x44
This example shows how to display details of the LACP port of a specified port:
Switch# show channel-group port eth-0-9
Port: eth-0-9
--------------------
Port state : Up Sngl-port-Bndl Not-in-Bndl
Channel number : 1 Protocol : LACP Channel-group : agg1
Port index : 9 Mode : Active
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast
LACPDUs
A - Device is in active mode P - Device is in passive mode
Local information:
Actor LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
eth-0-9 SA indep 32768 1 1 9 0x4d
Partner\'s information:
Actor LACP port Oper Port Port
Port Flags Priority Dev ID Key Number State
eth-0-9 SP 0 0000.0000.0000 0 0 0x44
Related Commands
None
3.6.28. show lacp counters
Command Purpose
Use this command to display the packet traffic on all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show lacp [ GROUP_NUMBER ] counters
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the packet traffic on all of the channel groups:
Switch# show lacp counters
Traffic statistics
Port LACPDUs Pkts err
Sent Recv Sent Recv
---------------------------------------
Channel-group agg1
eth-0-9 27 0 0 0
Related Commands
None
3.6.29. show lacp sys-id
Command Purpose
Use this command to display the LACP system ID.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show lacp sys-id
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to display the LACP system ID:
Switch# show lacp sys-id
System ID: 32768,4600.0987.6c01
Related Commands
None
3.6.30. clear lacp counters
Command Purpose
Use this command to clear all counters of all of the channel groups, or a specified channel group.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
clear lacp ( GROUP_NUMBER | ) counters
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
GROUP_NUMBER |
Channel group number |
0-63 |
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
This example shows how to clear all counters of all of the channel groups:
Switch# clear lacp counters
This example shows how to clear a specified channel group:
Switch# clear lacp 10 counters
Related Commands
None
3.6.31. debug lacp
Command Purpose
Use this command to specify the options for the displayed debugging information for LACP cli, LACP event, LACP ha, LACP packet, LACP sync and LACP timer. Use the no parameter with this command to disable all debugging.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
debug lacp ( all | cli | event | ha | packet | sync | timer )
no debug lacp ( all | cli | event | ha | packet | sync | timer )
Parameter |
Parameter Description |
Parameter Value |
---|---|---|
all |
All LACP debug information |
- |
cli |
LACP commands debug information is displayed |
- |
event |
LACP events debug information is displayed |
- |
ha |
LACP high availability events debug information is displayed |
- |
packet |
LACP packet contents debug information is displayed |
- |
sync |
LACP synchronization debug information is displayed |
- |
timer(detail|) |
LACP timer expiry debug information is displayed |
- |
Command Mode
Privileged EXEC
Default
Disabled
Usage
None
Examples
The following example displays information about the lacp packets that are received and sent out from the connected router:
Switch# debug lacp packet
Related Commands
show debugging lacp
3.6.32. show debugging lacp
Command Purpose
Use this command to display the LACP debugging status for these debugging options: LACP cli debugging, LACP event debugging, LACP ha debugging, LACP packet debugging, LACP sync debugging and LACP timer debugging.
Prerequisites
Platform |
Software |
License |
Comments |
---|---|---|---|
AQ-N3000 |
7.0 |
Base |
|
AQ-N5000 |
7.0 |
Base |
|
AQ-N6000 |
7.0 |
Base |
Command Syntax
show debugging lacp
Command Mode
Privileged EXEC
Default
None
Usage
None
Examples
The following is sample output from the show debugging lacp command:
Switch# show debuging lacp
LACP debugging status:
LACP packet debugging is on
Related Commands
debug lacp all