---
title: user-bind
slug: enterprise-v6p1/user-bind
createdAt: 2025-12-17T08:18:03.905Z
---

AsterNOS YANG Model for user-bind.

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

```none
module: asternos-user-bind
  +--rw user-bind
     +--rw user-bind-entries
     |  +--rw user-bind-entry* [ip-address mac-address if-name vlan-name]
     |     +--rw vlan-name      cmn:vlan-name
     |     +--rw mac-address    yang:mac-address
     |     +--rw ip-address     inet:ip-address-no-zone
     |     +--rw if-name        cmn:ethernet-port-name
     +--rw alarms
        +--rw alarm* [if-name]
           +--rw if-name      union
           +--rw enable?      boolean
           +--rw threshold?   uint32

  rpcs:
    +---x show-user-bind-counter
    |  +---w input
    |  |  +---w if-name?   union
    |  +--ro output
    |     +--ro data
    |        +--ro counter* []
    |           +--ro if-name?   union
    |           +--ro packets?   uint64
    +---x clear-user-bind-counter
       +--ro output
          +--ro data?   string
```

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

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

| **Path**                                                 | **Access** |
| -------------------------------------------------------- | ---------- |
| /user-bind                                               | Read-Write |
| /user-bind/user-bind-entries                             | Read-Write |
| /user-bind/user-bind-entries/user-bind-entry             | Read-Write |
| /user-bind/user-bind-entries/user-bind-entry/vlan-name   | Read-Write |
| /user-bind/user-bind-entries/user-bind-entry/mac-address | Read-Write |
| /user-bind/user-bind-entries/user-bind-entry/ip-address  | Read-Write |
| /user-bind/user-bind-entries/user-bind-entry/if-name     | Read-Write |
| /user-bind/alarms                                        | Read-Write |
| /user-bind/alarms/alarm                                  | Read-Write |
| /user-bind/alarms/alarm/if-name                          | Read-Write |
| /user-bind/alarms/alarm/enable                           | Read-Write |
| /user-bind/alarms/alarm/threshold                        | Read-Write |

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

### <font color="#1d50a2">/user-bind</font>

**Path**

/user-bind

**Node Type**

container

**Description**

Container for user-bind configurations.

**Access**

Read-Write

### <font color="#1d50a2">/user-bind/user-bind-entries</font>

**Path**

/user-bind/user-bind-entries

**Node Type**

container

**Description**

Container for static user binding entries.

**Access**

Read-Write

### <font color="#1d50a2">/user-bind/user-bind-entries/user-bind-entry</font>

**Path**

/user-bind/user-bind-entries/user-bind-entry

**Node Type**

list

**Access**

Read-Write

### <font color="#1d50a2">/user-bind/user-bind-entries/user-bind-entry/vlan-name</font>

**Path**

/user-bind/user-bind-entries/user-bind-entry/vlan-name

**Node Type**

leaf

**Description**

VLAN name associated with the static user binding.

**Access**

Read-Write

**Data Type**

\<YANG type vlan-name>

### <font color="#1d50a2">/user-bind/user-bind-entries/user-bind-entry/mac-address</font>

**Path**

/user-bind/user-bind-entries/user-bind-entry/mac-address

**Node Type**

leaf

**Description**

MAC address of the static user binding.

**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">/user-bind/user-bind-entries/user-bind-entry/ip-address</font>

**Path**

/user-bind/user-bind-entries/user-bind-entry/ip-address

**Node Type**

leaf

**Description**

IP address of the static user binding.

**Access**

Read-Write

**Data Type**

\<YANG type ip-address-no-zone>

**Constraints**

Multiple constraints:

- An IPv6 address without a zone index. This type, derived from the type ipv6-address, may be used in situations where the zone is known from the context and no zone index is needed.
- An IPv4 address without a zone index. This type, derived from the type ipv4-address, may be used in situations where the zone is known from the context and no zone index is needed.

### <font color="#1d50a2">/user-bind/user-bind-entries/user-bind-entry/if-name</font>

**Path**

/user-bind/user-bind-entries/user-bind-entry/if-name

**Node Type**

leaf

**Description**

Interface name associated with the static user binding.

**Access**

Read-Write

**Data Type**

\<YANG type ethernet-port-name>

### <font color="#1d50a2">/user-bind/alarms</font>

**Path**

/user-bind/alarms

**Node Type**

container

**Description**

Container for security-related alarms.

**Access**

Read-Write

### <font color="#1d50a2">/user-bind/alarms/alarm</font>

**Path**

/user-bind/alarms/alarm

**Node Type**

list

**Access**

Read-Write

### <font color="#1d50a2">/user-bind/alarms/alarm/if-name</font>

**Path**

/user-bind/alarms/alarm/if-name

**Node Type**

leaf

**Description**

Interface, sub-ethernet interface or VLAN name associated with the alarm.

**Access**

Read-Write

**Data Type**

\<YANG type union>

### <font color="#1d50a2">/user-bind/alarms/alarm/enable</font>

**Path**

/user-bind/alarms/alarm/enable

**Node Type**

leaf

**Description**

Enable or disable the alarm.

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/user-bind/alarms/alarm/threshold</font>

**Path**

/user-bind/alarms/alarm/threshold

**Node Type**

leaf

**Description**

Threshold value for the alarm. Alarms will be triggered when this value is exceeded.

**Access**

Read-Write

**Data Type**

\<YANG type uint32>

**Constraints**

Valid range: 10 to 65536

