上传者: 33195791
|
上传时间: 2021-09-07 16:04:16
|
文件大小: 43KB
|
文件类型: NONE
#注意,打开文件后在python语法格式下查看可能会更友好(或将文件重命名为.py结尾)
bridge(8) — Linux manual page
#目录列表
SYNOPSIS | OPTIONS | BRIDGE - COMMAND SYNTAX | bridge link - bridge port
| bridge fdb - forwarding database management | bridge mdb - multicast group database management
| bridge vlan - VLAN filter list | bridge monitor - state monitoring | NOTES
'''
命令线索参考语法概要
'''
bridge - 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