mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
bird, birdc: add Chinese translation (#22772)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# bird
|
||||
|
||||
> BIRD 互联网路由守护程序。
|
||||
> 支持 BGP、OSPF、Babel 等协议的路由守护进程。
|
||||
> 更多信息:<https://bird.network.cz/?get_doc&v=30&f=bird-1.html#ss1.3>。
|
||||
|
||||
- 使用特定配置文件启动 Bird:
|
||||
|
||||
`bird -c {{路径/到/bird.conf}}`
|
||||
|
||||
- 以特定用户和组身份启动 Bird:
|
||||
|
||||
`bird -u {{用户名}} -g {{组}}`
|
||||
@@ -0,0 +1,37 @@
|
||||
# birdc
|
||||
|
||||
> BIRD 远程控制。
|
||||
> 从 bird 获取路由等信息,并在运行时执行配置。
|
||||
> 更多信息:<https://bird.network.cz/?get_doc&v=30&f=bird-4.html>。
|
||||
|
||||
- 打开远程控制台:
|
||||
|
||||
`birdc`
|
||||
|
||||
- 无需重启 BIRD 即可重新加载配置:
|
||||
|
||||
`birdc configure`
|
||||
|
||||
- 显示 BIRD 的当前状态:
|
||||
|
||||
`birdc show status`
|
||||
|
||||
- 显示所有已配置的协议:
|
||||
|
||||
`birdc show protocols`
|
||||
|
||||
- 显示协议的所有详细信息:
|
||||
|
||||
`birdc show protocols {{上游1}} all`
|
||||
|
||||
- 显示包含特定 AS 号的所有路由:
|
||||
|
||||
`birdc "show route where bgp_path ~ [{{4242120045}}]"`
|
||||
|
||||
- 显示所有最佳路由:
|
||||
|
||||
`birdc show route primary`
|
||||
|
||||
- 显示从给定前缀出发的所有路由的详细信息:
|
||||
|
||||
`birdc show route for {{fd00:/8}} all`
|
||||
Reference in New Issue
Block a user