---
title: portchannels
slug: enterprise-v6p1/pZtz-portchannels
createdAt: 2025-12-17T08:18:01.817Z
---

AsterNOS Model for port-channel groups

# <font color="#1d50a2">YANG Tree Diagram</font>

```none
module: asternos-portchannels
  +--rw portchannels
     +--rw portchannel* [name]
        +--rw name                    string
        +--rw mac-address-learning?   boolean
        +--rw mode?                   enumeration
        +--rw commit?                 boolean
        +--rw lacp
        |  +--rw system-priority?   uint16
        |  +--rw fallback?          boolean
        |  +--rw fast-rate?         boolean
        |  +--rw system-id?         ietf-yang-types:mac-address
        +--rw members
           +--rw member* [port]
              +--rw port                  cmn:ethernet-port-name
              +--rw lacp-port-priority?   uint16

  rpcs:
    +---x show-link-aggregation-summary
       +--ro output
          +--ro data?   <anydata>
```

# <font color="#1d50a2">Resources</font>

## <font color="#1d50a2">Resource List</font>

| **Path**                                                    | **Access** |
| ----------------------------------------------------------- | ---------- |
| /portchannels                                               | Read-Write |
| /portchannels/portchannel                                   | Read-Write |
| /portchannels/portchannel/name                              | Read-Write |
| /portchannels/portchannel/mac-address-learning              | Read-Write |
| /portchannels/portchannel/mode                              | Read-Write |
| /portchannels/portchannel/commit                            | Read-Write |
| /portchannels/portchannel/lacp                              | Read-Write |
| /portchannels/portchannel/lacp/system-priority              | Read-Write |
| /portchannels/portchannel/lacp/fallback                     | Read-Write |
| /portchannels/portchannel/lacp/fast-rate                    | Read-Write |
| /portchannels/portchannel/lacp/system-id                    | Read-Write |
| /portchannels/portchannel/members                           | Read-Write |
| /portchannels/portchannel/members/member                    | Read-Write |
| /portchannels/portchannel/members/member/port               | Read-Write |
| /portchannels/portchannel/members/member/lacp-port-priority | Read-Write |

## <font color="#1d50a2">Detailed Nodes</font>

### <font color="#1d50a2">/portchannels</font>

**Path**

/portchannels

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/portchannels/portchannel</font>

**Path**

/portchannels/portchannel

**Node Type**

list

**Description**

The list of interfaces on the device.

**Access**

Read-Write

### <font color="#1d50a2">/portchannels/portchannel/name</font>

**Path**

/portchannels/portchannel/name

**Node Type**

leaf

**Description**

The name of the PortChannel and PortChannel sub interface.

**Access**

Read-Write

**Data Type**

\<YANG type string>

### <font color="#1d50a2">/portchannels/portchannel/mac-address-learning</font>

**Path**

/portchannels/portchannel/mac-address-learning

**Node Type**

leaf

**Description**

Set interface mac-address learning, only support for vlan and its members.

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/portchannels/portchannel/mode</font>

**Path**

/portchannels/portchannel/mode

**Node Type**

leaf

**Description**

Choose port-channel mode: lacp for running LACP protocol, static for static load banlancing among members

**Access**

Read-Write

**Data Type**

\<YANG type enumeration>

**Constraints**

Enumeration with options:

- lacp
- static

### <font color="#1d50a2">/portchannels/portchannel/commit</font>

**Path**

/portchannels/portchannel/commit

**Node Type**

leaf

**Description**

This is a special leaf to control behavior of server while processing configuration.

If set to false, configurations within this block setting to running datastore WOULD NOT be synchronized to operational datastore automatically.

If true, configurations will be synchronized to operational datastore automatically.

In most cases, this is useless and can be ignored.

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/portchannels/portchannel/lacp</font>

**Path**

/portchannels/portchannel/lacp

**Node Type**

container

**Description**

LACP Protocol configuration of portchannels

**Access**

Read-Write

**Constraints**

When condition: ../mode = 'lacp'

### <font color="#1d50a2">/portchannels/portchannel/lacp/system-priority</font>

**Path**

/portchannels/portchannel/lacp/system-priority

**Node Type**

leaf

**Description**

The LACP system priority identifies the master switch ot the LAG.

The system with the lower system priority is preferred.

**Access**

Read-Write

**Data Type**

\<YANG type uint16>

**Constraints**

Valid range: 0 to 65535

### <font color="#1d50a2">/portchannels/portchannel/lacp/fallback</font>

**Path**

/portchannels/portchannel/lacp/fallback

**Node Type**

leaf

**Description**

The fallback mode brings up one of the LACP member ports to 'UP' state before an LACP PDU is received by the LAG.

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/portchannels/portchannel/lacp/fast-rate</font>

**Path**

/portchannels/portchannel/lacp/fast-rate

**Node Type**

leaf

**Description**

Fast-rate allows the LACP peer to send LACP PDUs at a rate of one per second after synchronization.

The default rate is one per 30 seconds.

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/portchannels/portchannel/lacp/system-id</font>

**Path**

/portchannels/portchannel/lacp/system-id

**Node Type**

leaf

**Description**

Change LACP system id. Default to the system MAC

**Access**

Read-Write

**Data Type**

\<YANG type mac-address>

**Constraints**

The mac-address type represents an IEEE 802 MAC address.

The canonical representation uses lowercase characters.

In the value set and its semantics, this type is equivalent to the MacAddress textual convention of the SMIv2.

### <font color="#1d50a2">/portchannels/portchannel/members</font>

**Path**

/portchannels/portchannel/members

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/portchannels/portchannel/members/member</font>

**Path**

/portchannels/portchannel/members/member

**Node Type**

list

**Access**

Read-Write

### <font color="#1d50a2">/portchannels/portchannel/members/member/port</font>

**Path**

/portchannels/portchannel/members/member/port

**Node Type**

leaf

**Access**

Read-Write

**Data Type**

\<YANG type ethernet-port-name>

### <font color="#1d50a2">/portchannels/portchannel/members/member/lacp-port-priority</font>

**Path**

/portchannels/portchannel/members/member/lacp-port-priority

**Node Type**

leaf

**Description**

The port priority determines which ports should be put in standby mode when there is a hardware limitation that prevents all compatible ports from aggregating.

Ports with lower port-priority are preferred.

**Access**

Read-Write

**Data Type**

\<YANG type uint16>

