OcNOS-SP : Layer 3 Guide : Layer 3 Unicast Configuration Guide : Layer 3 Link Aggregation : Configuration
Configuration
R1
 
R1#configure terminal
Enter configure mode.
R1(config)#interface po10
Enter interface mode.
R1(config-if)#ip address 1.1.1.1/24
Assigning IP Address to PO Interface
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R1(config-if)#exit
Exit interface mode.
R1(config)#lacp system-priority 20000
Set the system priority of this switch. This priority is used for determining the system that is responsible for resolving conflicts in the choice of aggregation groups. A lower numerical value has a higher priority.
R1(config)#interface xe1
Enter interface mode.
R1(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R1(config-if)#channel-group 10 mode active
Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system.
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R1(config-if)#exit
Exit interface mode.
R1(config)#interface xe2
Enter interface mode.
R1(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R1(config-if)#channel-group 10 mode active
Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system.
R1(config-if)#exit
Exit interface mode.
R1(config)#interface xe3
Enter interface mode.
R1(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R1(config-if)#channel-group 10 mode active
Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system.
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R1(config-if)#exit
Exit interface mode.
R2
 
R2#configure terminal
Enter configure mode.
R2(config)#interface po10
Enter interface mode.
R2(config-if)#ip address 1.1.1.2/24
Assigning IP Address to PO Interface
R2(config-if)#commit
Commit the candidate configuration to the running configuration
R2(config-if)#exit
Exit interface mode.
R2(config)#lacp system-priority 20000
Set the system priority of this switch. This priority is used for determining the system that is responsible for resolving conflicts in the choice of aggregation groups. A lower numerical value has a higher priority.
R2(config)#interface xe1
Enter interface mode.
R2(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R2(config-if)#channel-group 10 mode active
Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system.
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R2(config-if)#exit
Exit interface mode.
R2(config)#interface xe2
Enter interface mode.
R2(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R2(config-if)#channel-group 10 mode active
Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system.
R2(config-if)#exit
Exit interface mode.
R2(config)#interface xe3
Enter interface mode.
R2(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R2(config-if)#channel-group 10 mode active
Add this interface to channel group 10 and enable link aggregation so that it can be selected for aggregation by the local system.
R2(config-if)#commit
Commit the candidate configuration to the running configuration
R2(config-if)#exit
Exit interface mode.
Static Channel-group
R1
 
R1#configure terminal
Enter configure mode
R1(config)#interface sa12
Enter interface mode
R1(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R1(config-if)#ip address 2.2.2.1/24
Assigning IP Address to PO Interface
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R1(config-if)#exit
Exit interface mode
R1(config)#interface xe1
Enter interface mode
R1(config-if)#static-channel-group 12
Add this interface to channel group 12 and enable link aggregation so that it can be selected for aggregation by the local system.
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R1(config-if)#exit
Exit interface mode
R2
 
R2#configure terminal
Enter configure mode
R2(config)#interface sa12
Enter interface mode
R2(config-if)#no switchport
Making Interface as L3 Port (This command will remove if switchport configuration is present).
R2(config-if)#ip address 2.2.2.2/24
Assigning IP Address to PO Interface
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R2(config-if)#exit
Exit interface mode
R2(config)#interface xe1
Enter interface mode
R2(config-if)#static-channel-group 12
Add this interface to channel group 12 and enable link aggregation so that it can be selected for aggregation by the local system.
R1(config-if)#commit
Commit the candidate configuration to the running configuration
R2(config-if)#exit
Exit interface mode
 
Validation
show etherchannel detail, show etherchannel summary
#sh etherchannel summary
% Aggregator po10 100010
% Aggregator Type: Layer3
% Admin Key: 0010 - Oper Key 0010
% Link: xe1 (10049) sync: 1
% Link: xe2 (10050) sync: 1
% Link: xe3 (10051) sync: 1
 
#sh etherchannel detail
% Aggregator po10 100010
% Aggregator Type: Layer3
% Mac address: 14:18:77:5d:5c:01
% Admin Key: 0010 - Oper Key 0010
% Actor LAG ID- 0x4e20,14-18-77-01-5c-00,0x000a
% Receive link count: 3 - Transmit link count: 3
% Individual: 0 - Ready: 1
% Partner LAG ID- 0x4e20,14-18-77-01-73-00,0x000a
% Link: xe1 (10049) sync: 1
% Link: xe2 (10050) sync: 1
% Link: xe3 (10051) sync: 1
% Collector max delay: 5
 
#sh etherchannel 10
% Aggregator po10 100010 Admin Key: 0010 - Oper Key 0010
% Partner LAG ID: 0x4e20,14-18-77-01-73-00,0x000a
% Partner Oper Key 0010
 
#sh etherchannel
% Lacp Aggregator: po10
% Member:
xe1
xe2
xe3
#show static-channel-group
%Static Aggregator: sa12
% Member Status
% xe1 up
% xe2 up
% xe3 up
Last modified date: 10/16/2023