Reference Guide

Table Of Contents
If you globally disable 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 be dynamically bundled 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-10)# 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.
Enter the number of links in a LAG that must be in oper up status in PORT-CHANNEL mode (1 to 32, default 1).
minimum-links number
Configure minimum operationally up links
OS10(config)# interface po 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 format (A.B.C.D) and the mask in slash format.
secondary-ip-address Specify a secondary IP address in dotted-decimal format (A.B.C.D), which will act as the
interfaces backup IP address.
Assign Port Channel IP Address
OS10# configure terminal
OS10(config)# interface port-channel 1
OS10(conf-if-po-1)# ip address 1.1.1.1/24
OS10(conf-if-po-1)#
84
Interfaces