Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【备忘清单】 请求: CMD中加入路由的操作 #651

Open
pyccl opened this issue May 20, 2024 · 0 comments
Open

【备忘清单】 请求: CMD中加入路由的操作 #651

pyccl opened this issue May 20, 2024 · 0 comments
Assignees
Labels

Comments

@pyccl
Copy link

pyccl commented May 20, 2024

说明项目

在网络运维中,经常需要手动更改路由的命令。
查看路由:route print
添加临时路由(重启失效):route add 目标网络 mask 目标网络掩码 下一跳地址
添加永久路由(重启后还有效)route add 目标网络 mask 目标网络掩码 下一跳地址 -p
删除路由:把添加路由的add改成delete

提供官网

No response

参考资料 URL

baidu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants