показывать / управлять адресами моста и устройствами (show / manipulate bridge addresses and devices)
Синопсис (Synopsis)
bridge
[ OPTIONS ] OBJECT { COMMAND | help
}
OBJECT := { link
| fdb
| mdb
| vlan
| monitor
}
OPTIONS := { -V
[ersion] | -s
[tatistics] | -n
[etns] name |
-b
[atch] filename | -c
[olor] | -p
[retty] | -j
[son] |
-o
[neline] }
bridge link set dev
DEV [ cost
COST ] [ priority
PRIO ] [ state
STATE ] [ guard
{ on
| off
} ] [ hairpin
{ on
| off
} ] [
fastleave
{ on
| off
} ] [ root_block
{ on
| off
} ] [
learning
{ on
| off
} ] [ learning_sync
{ on
| off
} ] [
flood
{ on
| off
} ] [ hwmode
{ vepa
| veb
} ] [
mcast_flood
{ on
| off
} ] [ mcast_to_unicast
{ on
| off
} ] [ neigh_suppress
{ on
| off
} ] [ vlan_tunnel
{ on
|
off
} ] [ isolated
{ on
| off
} ] [ backup_port
DEVICE ]
[ nobackup_port
] [ self
] [ master
]
bridge link
[ show
] [ dev
DEV ]
bridge fdb
{ add
| append
| del
| replace
} LLADDR dev
DEV {
local
| static
| dynamic
} [ self
] [ master
] [ router
]
[ use
] [ extern_learn
] [ sticky
] [ src_vni
VNI ] { [
dst
IPADDR ] [ vni
VNI ] [ port
PORT ] [ via
DEVICE ] |
nhid
NHID }
bridge fdb
[ [ show
] [ br
BRDEV ] [ brport
DEV ] [ vlan
VID ] [
state
STATE ] [ dynamic
] ]
bridge fdb get
[ to
] LLADDR [ br
BRDEV ] { brport | dev }
DEV [
vlan
VID ] [ vni
VNI ] [ self
] [ master
] [ dynamic
]
bridge mdb
{ add
| del
} dev
DEV port
PORT grp
GROUP [ src
SOURCE
] [ permanent
| temp
] [ vid
VID ]
bridge mdb show
[ dev
DEV ]
bridge vlan
{ add
| del
} dev
DEV vid
VID [ tunnel_info
TUNNEL_ID
] [ pvid
] [ untagged
] [ self
] [ master
]
bridge vlan set dev
DEV vid
VID [ state
STP_STATE ]
bridge vlan
[ show
| tunnelshow
] [ dev
DEV ]
bridge monitor
[ all
| neigh
| link
| mdb
| vlan
]