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>Resources
Section titled “Resources”Resource List
Section titled “Resource List”| 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 |
Detailed Nodes
Section titled “Detailed Nodes”Path
/fdb
Node Type
container
Access
Read-Write
/fdb/fdb-entry
Section titled “/fdb/fdb-entry”Path
/fdb/fdb-entry
Node Type
list
Access
Read-Write
Constraints
Has local type
/fdb/fdb-entry/mac-address
Section titled “/fdb/fdb-entry/mac-address”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.
/fdb/fdb-entry/vlan-id
Section titled “/fdb/fdb-entry/vlan-id”Path
/fdb/fdb-entry/vlan-id
Node Type
leaf
Access
Read-Write
Data Type
Constraints
Valid range: 1 to 4094
/fdb/fdb-entry/type
Section titled “/fdb/fdb-entry/type”Path
/fdb/fdb-entry/type
Node Type
leaf
Description
The type of fdb
Access
Read-Write
Data Type
Constraints
Enumeration with options:
- static
- dynamic
/fdb/fdb-entry/outer-if-type
Section titled “/fdb/fdb-entry/outer-if-type”Path
/fdb/fdb-entry/outer-if-type
Node Type
choice
Description
Mutually exclusive configuration options for FDB entry.
Access
Read-Write
Mandatory
Yes
/fdb/fdb-entry/outer-if-type/port
Section titled “/fdb/fdb-entry/outer-if-type/port”Path
/fdb/fdb-entry/outer-if-type/port
Node Type
choice-case
Access
Read-Write
/fdb/fdb-entry/outer-if-type/port/port
Section titled “/fdb/fdb-entry/outer-if-type/port/port”Path
/fdb/fdb-entry/outer-if-type/port/port
Node Type
leaf
Description
The name of the port
Access
Read-Write
Data Type
/fdb/fdb-entry/outer-if-type/blackhole
Section titled “/fdb/fdb-entry/outer-if-type/blackhole”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]
/fdb/aging-time
Section titled “/fdb/aging-time”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