# 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

<table data-header-hidden><thead><tr><th width="178.5"></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td>Command</td><td><p></p><p>port-channel &#x3C;channelid>ports&#x3C;portname>[description&#x3C;string>]<br>no port-channel &#x3C;channelid>ports</p></td><td></td></tr><tr><td>Description</td><td>Port-channel configuration</td><td></td></tr><tr><td>Parameters</td><td>channelid - within 1 to 16<br>portname - valid interface names delimited by (,)<br>string - a maximum of 50 characters, within double quotes</td><td></td></tr><tr><td>Mode</td><td>CONFIG</td><td></td></tr></tbody></table>

{% hint style="warning" %}
PortChannel can only be configured as a Tool port in a flow
{% endhint %}

#### Example

<pre><code>pbnoscli# configure terminal  
pbnoscli(config)# port-channel 1 
  ports                 Add physical ports to port channel
pbnoscli(config)# port-channel 1 ports 
  &#x3C;portname>            Add ports (Add multiple ports comma delimited)
pbnoscli(config)# port-channel 1 ports Ethernet63/1,Ethernet64/1
pbnoscli(config)# 
<strong>
</strong><strong>pbnoscli(config)# no port-channel 1 ports 
</strong>pbnoscli(config)# 
</code></pre>

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#
```
