#
BRIDGE interface
#
URL
frinx-openconfig-interfaces:interfaces/interface=
#
OPENCONFIG YANG
{
"frinx-openconfig-interfaces:interface": [
{
"name": "",
"config": {
"type": "iana-if-type:bridge",
"enabled": ,
"frinx-cisco-if-extension:vrf-forwarding": "",
"frinx-cisco-if-extension:snmp-trap-link-status": ,
"name": ""
},
"subinterfaces": {
"subinterface": [
{
"index": 0,
"frinx-openconfig-if-ip:ipv4": {
"addresses": {
"address": [
{
"ip": "",
"config": {
"prefix-length": ,
"ip": ""
}
}
]
}
}
}
]
}
}
]
}
#
OS Configuration Commands
#
IOS 12
#
CLI
interface BDI shutdown | no shutdown vrf forwarding ip address / snmp trap link-status | no snmp trap link-status
is parsed from
example is BDI10 -> is 10
no shutdown is a conversion of set true
shutdown is a conversion of set false
no snmp trap link-status is a conversion of set false
snmp trap link-status is a conversion of set true
#
Unit
Link to github : ios-unit