Configuring PortChannel

You can use the port-channel command to create groups of tool ports and provide traffic load-balancing. By default, symmetric hashing is enabled for IPv4 and IPv6 traffic, redirecting the source-destination pair to the same tool-connected port.

Reference

Command

port-channel <channelid>ports<portname>[description<string>] no port-channel <channelid>ports

Description

Port-channel configuration

Parameters

channelid - within 1 to 16 portname - valid interface names delimited by (,) string - a maximum of 50 characters, within double quotes

Mode

CONFIG

PortChannel can only be configured as a Tool port in a flow

Example

pbnoscli# configure terminal  
pbnoscli(config)# port-channel 1 
  ports                 Add physical ports to port channel
pbnoscli(config)# port-channel 1 ports 
  <portname>            Add ports (Add multiple ports comma delimited)
pbnoscli(config)# port-channel 1 ports Ethernet63/1,Ethernet64/1
pbnoscli(config)# 

pbnoscli(config)# no port-channel 1 ports 
pbnoscli(config)# 

You can verify the configuration by using the command(s) below:

pbnoscli# show port-channel information 
===================================
Name         : port-channel1
Member ports : Ethernet63/1[up] Ethernet64/1[up] 

===================================
pbnoscli# 

pbnoscli# show port-channel rate
=====================================================
Port-channel Rate Counter
=====================================================

	Port-Channel                  :1
	Member Port                   :Ethernet1/1[up],Ethernet2/1[up],Ethernet3/1[up],Ethernet4/1[down],Ethernet5/1[down]
	PACKETS RECEIVED              :0
	PACKETS RECEIVED BPS          :51.25 B/s
	PACKETS RECEIVED PPS          :0.20 P/s
	RECEIVED UTIL                 :0.00 %
	RECEIVED ERROR PACKETS        :0
	RECEIVED DISCARDED PACKETS    :0
	RECEIVED OVERSIZE PACKETS     :0
	PACKETS TRANSMITTED           :0
	PACKETS TRANSMITTED BPS       :20.51 B/s
	PACKETS TRANSMITTED PPS       :0.09 P/s
	TRANSMITTED UTIL              :0.00 %
	TRANSMITTED ERROR PACKETS     :0
	TRANSMITTED DISCARDED PACKETS :0
	TRANSMITTED OVERSIZE PACKETS  :0

pbnoscli#
pbnoscli# show running-config
configure terminal
port-channel 1 ports Ethernet63/1,Ethernet64/1
!
interface mgmt
ip address 10.4.4.53/23 gateway 10.4.4.1
!
pbnoscli#