Skip to content
Ask AI

fdb

AsterNOS Model for Forwarding Data Base

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>
PathAccess
/fdbRead-Write
/fdb/fdb-entryRead-Write
/fdb/fdb-entry/mac-addressRead-Write
/fdb/fdb-entry/vlan-idRead-Write
/fdb/fdb-entry/typeRead-Write
/fdb/fdb-entry/outer-if-typeRead-Write
/fdb/fdb-entry/outer-if-type/portRead-Write
/fdb/fdb-entry/outer-if-type/port/portRead-Write
/fdb/fdb-entry/outer-if-type/blackholeRead-Write
/fdb/fdb-entry/outer-if-type/blackhole/blackholeRead-Write
/fdb/aging-timeRead-Write

Path

/fdb

Node Type

container

Access

Read-Write

Path

/fdb/fdb-entry

Node Type

list

Access

Read-Write

Constraints

Has local type

Path

/fdb/fdb-entry/mac-address

Node Type

leaf

Description

MAC address for the fdb entry

Access

Read-Write

Data Type

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.

Path

/fdb/fdb-entry/vlan-id

Node Type

leaf

Access

Read-Write

Data Type

Constraints

Valid range: 1 to 4094

Path

/fdb/fdb-entry/type

Node Type

leaf

Description

The type of fdb

Access

Read-Write

Data Type

Constraints

Enumeration with options:

  • static
  • dynamic

Path

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

Node Type

choice

Description

Mutually exclusive configuration options for FDB entry.

Access

Read-Write

Mandatory

Yes

Path

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

Node Type

choice-case

Access

Read-Write

Path

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

Node Type

leaf

Description

The name of the port

Access

Read-Write

Data Type

Path

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

Node Type

choice-case

Access

Read-Write

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

Section titled “/fdb/fdb-entry/outer-if-type/blackhole/blackhole”

Path

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

Node Type

leaf

Description

Configure blackhole mac address

Access

Read-Write

Data Type

Constraints

Valid in [true, false]

Path

/fdb/aging-time

Node Type

leaf

Description

Mac aging time, default is 1800 seconds

Access

Read-Write

Data Type

Constraints

Valid range: 30 to 7200