首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何删除mtu表?

如何删除mtu表?
EN

Unix & Linux用户
提问于 2020-01-15 12:56:43
回答 1查看 1.9K关注 0票数 2

我试图在我的linux环境中重置mtu表。我正在尝试以下几点:

代码语言:javascript
复制
ip route flush cache

但似乎不起作用。

有暗示吗?谢谢。

EN

回答 1

Unix & Linux用户

发布于 2020-01-15 13:07:16

MTU是最大转移单位。它不是一个表,它是一个参数,用来说明要从接口传输的最大数据包大小。不能被冲了。

你想做什么?如果您想要刷新路由表,您必须为手册(man 8 ip-route)中提到的每个路由规则调用D1

代码语言:javascript
复制
        ip route flush
          flush routing tables
          this command flushes routes selected by some criteria.

          The arguments have the same syntax and semantics as the arguments of ip route show, but routing tables are not listed but purged. The only difference is the default action:
          show dumps all the IP main routing table but flush prints the helper page.

          With the -statistics option, the command becomes verbose. It prints out the number of deleted routes and the number of rounds made to flush the routing table. If the option
          is given twice, ip route flush also dumps all the deleted routes in the format described in the previous subsection.
票数 -1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/562239

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档