I saw that the command
Code: Select all
/interface bridge monitor bridge once
Thank you.
/interface bridge monitor bridge once
:global bridge1id ([/interface bridge monitor bridge1 once as-value ]->"root-bridge-id")
:put $bridge1id
:global getid do={:return ([/interface bridge monitor $1 once as-value ]->"root-bridge-id")}
:global bridge1id [$getid bridge1]
:put $bridge1id
/interface bridge
:foreach idx in=[find] do={
:put ([monitor $idx once as-value ]->"root-bridge-id")
}