---
title: fdb
slug: enterprise-v6p1/KmVh-fdb
createdAt: 2025-12-17T08:18:21.570Z
---

AsterNOS Model for Forwarding Data Base

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

```none
module: asternos-fdb
  +--rw fdb
     +--rw fdb-entry* [vlan-id mac-address]
     |  +--rw mac-address        yang:mac-address
     |  +--rw vlan-id            uint16
     |  +--ro type?              enumeration
     |  +--rw (outer-if-type)
     |     +--:(port)
     |     |  +--rw port?        fdb-outif-interface-name
     |     +--:(blackhole)
     |        +--rw blackhole?   boolean
     +--rw aging-time?   union

  rpcs:
    +---x show-mac-address
    |  +---w input
    |  |  +---w interface-name?   union
    |  +--ro output
    |     +--ro data
    |        +--ro mac-address-info* []
    |        |  +--ro mac-address?   yang:mac-address
    |        |  +--ro vlan-id?       uint16
    |        |  +--ro type?          enumeration
    |        |  +--ro port?          union
    |        |  +--ro index?         uint32
    |        +--ro aging-time?         union
    +---x clear-mac-address
    |  +---w input
    |  |  +---w interface-name?   union
    |  |  +---w fdb-type?         enumeration
    |  +--ro output
    |     +--ro data?   <anydata>
    +---x show-mac-learning
       +--ro output
          +--ro data?   <anydata>
```

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

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

| **Path**                                         | **Access** |
| ------------------------------------------------ | ---------- |
| /fdb                                             | Read-Write |
| /fdb/fdb-entry                                   | Read-Write |
| /fdb/fdb-entry/mac-address                       | Read-Write |
| /fdb/fdb-entry/vlan-id                           | Read-Write |
| /fdb/fdb-entry/type                              | Read-Write |
| /fdb/fdb-entry/outer-if-type                     | Read-Write |
| /fdb/fdb-entry/outer-if-type/port                | Read-Write |
| /fdb/fdb-entry/outer-if-type/port/port           | Read-Write |
| /fdb/fdb-entry/outer-if-type/blackhole           | Read-Write |
| /fdb/fdb-entry/outer-if-type/blackhole/blackhole | Read-Write |
| /fdb/aging-time                                  | Read-Write |

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

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

**Path**

/fdb

**Node Type**

container

**Access**

Read-Write

### <font color="#1d50a2">/fdb/fdb-entry</font>

**Path**

/fdb/fdb-entry

**Node Type**

list

**Access**

Read-Write

**Constraints**

Has local type

### <font color="#1d50a2">/fdb/fdb-entry/mac-address</font>

**Path**

/fdb/fdb-entry/mac-address

**Node Type**

leaf

**Description**

MAC address for the fdb entry

**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">/fdb/fdb-entry/vlan-id</font>

**Path**

/fdb/fdb-entry/vlan-id

**Node Type**

leaf

**Access**

Read-Write

**Data Type**

\<YANG type uint16>

**Constraints**

Valid range: 1 to 4094

### <font color="#1d50a2">/fdb/fdb-entry/type</font>

**Path**

/fdb/fdb-entry/type

**Node Type**

leaf

**Description**

The type of fdb

**Access**

Read-Write

**Data Type**

\<YANG type enumeration>

**Constraints**

Enumeration with options:

- static
- dynamic

### <font color="#1d50a2">/fdb/fdb-entry/outer-if-type</font>

**Path**

/fdb/fdb-entry/outer-if-type

**Node Type**

choice

**Description**

Mutually exclusive configuration options for FDB entry.

**Access**

Read-Write

**Mandatory**

Yes

### <font color="#1d50a2">/fdb/fdb-entry/outer-if-type/port</font>

**Path**

/fdb/fdb-entry/outer-if-type/port

**Node Type**

choice-case

**Access**

Read-Write

### <font color="#1d50a2">/fdb/fdb-entry/outer-if-type/port/port</font>

**Path**

/fdb/fdb-entry/outer-if-type/port/port

**Node Type**

leaf

**Description**

The name of the port

**Access**

Read-Write

**Data Type**

\<YANG type fdb-outif-interface-name>

### <font color="#1d50a2">/fdb/fdb-entry/outer-if-type/blackhole</font>

**Path**

/fdb/fdb-entry/outer-if-type/blackhole

**Node Type**

choice-case

**Access**

Read-Write

### <font color="#1d50a2">/fdb/fdb-entry/outer-if-type/blackhole/blackhole</font>

**Path**

/fdb/fdb-entry/outer-if-type/blackhole/blackhole

**Node Type**

leaf

**Description**

Configure blackhole mac address

**Access**

Read-Write

**Data Type**

\<YANG type boolean>

**Constraints**

Valid in \[true, false]

### <font color="#1d50a2">/fdb/aging-time</font>

**Path**

/fdb/aging-time

**Node Type**

leaf

**Description**

Mac aging time, default is 1800 seconds

**Access**

Read-Write

**Data Type**

\<YANG type union>

**Constraints**

Valid range: 30 to 7200

