OcNOS-RON-6.3.1 : Layer 1 Guide : Layer 1 Configuration Guide : Cross-Connect (XC) : Cross-connect using Dynamic/Static LAG
Cross-connect using Dynamic/Static LAG
The following configuration example illustrates configuration of cross-connect using LAG interfaces on XC Nodes.
Topology
 
Figure 1-2: Cross-connect using LAG Interfaces
R1
 
#configure terminal
Enter configure mode
(config)#interface po100
Create Port channel interface
(config-if)#exit
Exiting from interface level
(config)#interface xe1/1
Enter into interface mode
(config-if)#channel-group 100 mode active
Adding member port to the port channel interface
(config-if)#exit
Exiting from interface level
(config)#interface xe1/2
Enter into interface level
(config-if)#channel-group 100 mode active
Adding member port to the port channel interface
(config-if)#commit
Commit the configuration
XC_node1
 
#configure terminal
Enter configure mode
(config)#interface po100
Create Port channel interface
(config-if)#switchport
Configuring Switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#interface po200
Create Port channel interface
(config-if)#switchport
Configuring Switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#interface ce11/1
Enter into interface level
(config-if)#channel-group 100 mode active
Adding member port to the port channel interface
(config-if)#exit
Exiting from interface level
(config)#interface ce11/2
Enter into interface level
(config-if)#channel-group 100 mode active
Adding member port to the port channel interface
(config-if)#exit
Exiting from interface level
(config)#interface ce29
Enter into interface level
(config-if)#channel-group 200 mode active
Adding member port to the port channel interface
(config-if)#exit
Exiting from interface level
(config)#interface ce30
Enter into interface level
(config-if)#channel-group 200 mode active
Adding member port to the port channel interface
(config-if)#exit
Exiting from interface level
(config)#cross-connect lag
Create cross-connect by providing the name
(config-XC)#ep1 po100 ep2 po200
Adding end-points ep1 and ep2 as lag interfaces
(config-XC)#exit
Exit Cross-connect mode
(config)#commit
Commit the configuration
XC_node2
 
#configure terminal
Enter configure mode
(config)#interface po200
Create Port channel interface
(config-if)#switchport
Configuring Switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#interface ce29
Enter into interface level
(config-if)#channel-group 200 mode active
Adding member port to the port channel interface
(config-if)#exit
Exiting from interface level
(config)#interface ce30
Enter into interface level
(config-if)#channel-group 200 mode active
Adding member port to the port channel interface
(config-if)#exit
Exiting from interface level
(config)#interface ce11/1
Enter into interface level
(config-if)#switchport
Configuring Switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#cross-connect lag
Create cross-connect by providing the name
(config-XC)#ep1 po100 ep2 ce11/1
Adding end-points ep1 and ep2 as lag interfaces
(config-XC)#exit
Exit Cross-connect mode
(config)#commit
Commit the configuration
Validation
Cross-connect using Dynamic LAG on XC_node1
# sh cross-connect
Codes: EP - Endpoint, Bkp_EP - Backup endpoint
* - Active Endpoint, none - not configured Cross-connect name : lag
EP1:po100 EP2:po200 Revertive:No Bkp_EP1:None Bkp_EP2:None Admin Status:UP Oper Status:UP
+======================================================================================
============================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes
|Interface Status|
+======================================================================================
============================+
| EP1*
|UP | -
| | - |0 |0 |0 |0
| EP2*
|UP | -
| | - |0 |0 |0 |0
+======================================================================================
============================+
cross-connect summary Total XC : 1
Admin Up : 1
Admin Down : 0
Total Rules : 1
 
#sh running-config cross-connect
!
cross-connect lag
ep1 po100 ep2 po200
!
 
#sh etherchannel summary
Aggregator po100 100100
Aggregator Type: Layer2
Admin Key: 0100 - Oper Key 0100
Link: ce11/1 (5073) sync: 1
Link: ce11/2 (5074) sync: 1
--------------------------------------
Aggregator po200 100200
Aggregator Type: Layer2
Admin Key: 0200 - Oper Key 0200
Link: ce30 (5005) sync: 1
Link: ce29 (5006) sync: 1
Cross-connect using Dynamic lag on XC_node2
# sh cross-connect
Codes: EP - Endpoint, Bkp_EP - Backup endpoint
* - Active Endpoint, none - not configured Cross-connect name : lag
EP1:po200 EP2:ce11/1 Revertive:No Bkp_EP1:None Bkp_EP2:None Admin Status:UP Oper Status:UP
+======================================================================================
============================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes
|Interface Status|
+======================================================================================
============================+
| EP1*
|UP | -
| | - |0 |0 |0 |0
| EP2*
|UP | -
| | - |0 |0 |0 |0
+======================================================================================
============================+
cross-connect summary Total XC : 1
Admin Up : 1
Admin Down : 0
Total Rules : 1
 
#show running-config cross-connect
!
cross-connect lag
ep1 po200 ep2 ce11/1
 
#sh etherchannel summary
Aggregator po200 100200
Aggregator Type: Layer2
Admin Key: 0200 - Oper Key 0200
Link: ce18 (5009) sync: 1
Link: ce17 (5010) sync: 1
Configuring Cross-connect using Static LAG Interfaces
R1
 
#configure terminal
Enter configure mode
(config)#interface sa100
Create static LAG interface
(config-if)#exit
Exiting from interface level
(config)#interface xe1/1
Enter into interface mode
(config-if)#static-channel-group 100
Adding member port to the static LAG interface
(config-if)#exit
Exiting from interface level
(config)#interface xe1/2
Enter into interface level
(config-if)#static-channel-group 100
Adding member port to the static LAG interface
(config-if)#commit
Commit the configuration
XC_node1
 
#configure terminal
Enter configure mode
(config)#interface sa100
Create static LAG interface
(config-if)#switchport
Configuring Switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#interface sa200
Create static LAG interface
(config-if)#switchport
Configuring Switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#interface ce11/1
Enter into interface level
(config-if)#static-channel-group 100
Adding member port to the static LAG interface
(config-if)#exit
Exiting from interface level
(config)#interface ce11/2
Enter into interface level
(config-if)#static-channel-group 100
Adding member port to the static LAG interface
(config-if)#exit
Exiting from interface level
(config)#interface ce29
Enter into interface level
(config-if)#static-channel-group 200
Adding member port to the static LAG interface
(config-if)#exit
Exiting from interface level
(config)#interface ce30
Enter into interface level
(config-if)#static-channel-group 200
Adding member port to the static LAG interface
(config-if)#exit
Exiting from interface level
(config)#cross-connect static-lag
Create cross-connect by providing the name
(config-XC)#ep1 sa100 ep2 sa200
Adding end-points ep1 and ep2 as lag interfaces
(config-XC)#exit
Exit Cross-connect mode
(config)#commit
Commit the configuration
XC_node2
 
#configure terminal
Enter configure mode
(config)#interface sa200
Create static LAG interface
(config-if)#switchport
Configuring Switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#interface ce29
Enter into interface level
(config-if)#static-channel-group 200
Adding member port to the static LAG interface
(config-if)#exit
Exiting from interface level
(config)#interface ce30
Enter into interface level
(config-if)#static-channel-group 200
Adding member port to the static LAG interface
(config-if)#exit
Exiting from interface level
(config)#interface ce11/1
Enter into interface level
(config-if)#switchport
Configure switchport to the interface
(config-if)#exit
Exiting from interface level
(config)#cross-connect static-lag
Create cross-connect by providing the name
(config-XC)#ep1 po200 ep2 ce11/1
Adding end-points ep1 and ep2 as lag interfaces
(config-XC)#exit
Exit Cross-connect mode
(config)#commit
Commit the configuration
Validation
Cross-connect using Static LAG on XC_node1
#sh cross-connect
Codes: EP - Endpoint, Bkp_EP - Backup endpoint
* - Active Endpoint, none - not configured Cross-connect name : static-lag
EP1:sa100 EP2:sa200 Revertive:No Bkp_EP1:None Bkp_EP2:None Admin Status:UP Oper Status:UP
+======================================================================================
============================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes
|Interface Status|
+======================================================================================
============================+
| EP1*
|UP | -
| | - |0 |0 |0 |0
| EP2*
|UP | -
| | - |0 |0 |0 |0
+======================================================================================
============================+
cross-connect summary Total XC : 1
Admin Up : 1
Admin Down : 0
Total Rules : 1
Cross-connect using Static Lag on XC_node2
# sh cross-connect
Codes: EP - Endpoint, Bkp_EP - Backup endpoint
* - Active Endpoint, none - not configured Cross-connect name : static-lag
EP1:sa200 EP2:ce11/1 Revertive:No Bkp_EP1:None Bkp_EP2:None Admin Status:UP Oper Status:UP
+======================================================================================
============================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes
|Interface Status|
+======================================================================================
============================+
| EP1*
|UP | -
| | - |0 |0 |0 |0
| EP2*
|UP | -
| | - |0 |0 |0 |0
+======================================================================================
============================+
cross-connect summary Total XC : 1
Admin Up : 1
Admin Down : 0
Total Rules : 1
Disable Cross-connect on XC_node1
 
#configure terminal
Enter configure mode
(config)#cross-connect lag
Create cross-connect by providing the name
(config-XC)#disable
Disabling the Cross-connect
(config-XC)#exit
Exit Cross-connect mode
(config)#commit
Commit the configuration
Validation
Disable the cross-connect on XC node1
# sh cross-connect
Codes: EP - Endpoint, Bkp_EP - Backup endpoint
* - Active Endpoint, none - not configured Cross-connect name : lag
EP1:po100 EP2:po200 Revertive:No Bkp_EP1:None Bkp_EP2:None Admin Status:DOWN Oper Status:DOWN
+======================================================================================
============================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes
|Interface Status|
+======================================================================================
============================+
| EP1*
|UP | -
| | - |13082428 |1674550784 |13082429 |1674550784
| EP2*
|UP | -
| | - |13082381 |1674544768 |13082381 |1674544768
+======================================================================================
============================+
cross-connect summary Total XC : 1
Admin Up : 0 Admin Down : 1 Total Rules : 0
Enable Cross-connect on XC_node1
 
#configure terminal
Enter configure mode
(config)#cross-connect lag
Create cross-connect by providing the name
(config-XC)#no disable
Enable the Cross-connect
(config-XC)#exit
Exit Cross-connect mode
(config)#commit
Commit the configuration
Validation
Cross-connect after enable on XC_node1
# sh cross-connect
Codes: EP - Endpoint, Bkp_EP - Backup endpoint
* - Active Endpoint, none - not configured Cross-connect name : lag
EP1:po100 EP2:po200 Revertive:No Bkp_EP1:None Bkp_EP2:None Admin Status:UP Oper Status:UP
+======================================================================================
============================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes
|Interface Status|
+======================================================================================
============================+
| EP1*
|UP | -
| | - |13082428 |1674550784 |13082429 |1674550784
| EP2*
|UP | -
| | - |13082381 |1674544768 |13082381 |1674544768
+======================================================================================
============================+
cross-connect summary Total XC : 1
Admin Up : 1 Admin Down : 0 Total Rules : 1
 
Last modified date: 06-28-2023