API Guide

If you globally disable a spanning-tree operation, L2 interfaces that are LACP-enabled port-channel members may flap due to
packet loops.
Add port member static LAG
A static port-channel LAG contains member interfaces that you manually assign using the channel-group mode on
command.
OS10(config)# interface port-channel 10
Aug 24 4:5:38: %Node.1-Unit.1:PRI:OS10 %dn_ifm
%log-notice:IFM_ASTATE_UP: Interface admin state up.:port-channel10
Aug 24 4:5:38: %Node.1-Unit.1:PRI:OS10 %dn_ifm
%log-notice:IFM_OSTATE_DN: Interface operational state is down.:port-channel10
OS10(conf-if-po-10)# exit
OS10(config)# interface ethernet 1/1/2
OS10(conf-if-eth1/1/2)# channel-group 10 mode on
Aug 24 4:5:56: %Node.1-Unit.1:PRI:OS10 %dn_ifm
%log-notice:IFM_OSTATE_UP: Interface operational state is up.:port-channel10
Add port member dynamic LACP
LACP enables ports to dynamically bundle as members of a port-channel. To configure a port for LACP operation, use the
channel-group mode {active|passive} command. Active and Passive modes allow LACP to negotiate between ports
to determine if they can form a port channel based on their configuration settings.
OS10(config)# interface port-channel 100
OS10(conf-if-po-100)# exit
OS10(config)# interface ethernet 1/1/2
OS10(conf-if-eth1/1/2)# channel-group 100 mode active
Minimum links
Configure minimum links in a port-channel LAG that must be in oper up status to consider the port-channel to be in oper up
status.
NOTE:
If the minimum links criteria that you have configured is not met, the port channel operationally goes down only in the
device in which you have configured the minimum links and not on the device at the other side of the port channel.
For the port channel to go down operationally on both sides when the minimum links criteria is not met, you must configure
minimum links on both sides of the port channel.
Enter the number of links in a LAG that must be in oper up status in PORT-CHANNEL mode, from 1 to 32, default 1.
minimum-links number
Configure minimum operationally up links
OS10(config)# interface port-channel 1
OS10(conf-if-po-1)# minimum-links 5
Assign Port Channel IP Address
You can assign an IP address to a port channel and use port channels in L3 routing protocols.
Configure an IP address and mask on the interface in INTERFACE PORT-CHANNEL mode.
ip address ip-address/mask [secondary-ip-address]
ip-address/mask Specify an IP address in dotted-decimal A.B.C.D format and the mask.
secondary-ip-address Specify a secondary IP address in dotted-decimal A.B.C.D format, which acts as the
interfaces backup IP address.
Interfaces
261