设为首页收藏本站language 语言切换
查看: 2731|回复: 19
收起左侧

[求助] 伪新人求助~~~ip cef和ip route-cache有什么异同啊

[复制链接]
发表于 2015-9-21 14:19:49 | 显示全部楼层 |阅读模式
3鸿鹄币
如题,感觉两个都是快速交换技术啊,我的认为是两个都是用于一次路由多次交换的,求打醒

最佳答案

查看完整内容

这个更清楚一点: http://www.cisco.com/c/en/us/td/ ... w_i1.html#wp1085449 也就是说,CEF是众多switching方式中的一种。 其它的有distributed switching, fast-switching, 等等。 这些都是全局模式下的。 当你要对某一个接口disable/enable这些switching方式的时候,就要用到 ip route-cache 这个命令了。 ip route-cache [cef | distributed | flow | policy | same-interface]no ip route-cache [cef | distri ...
发表于 2015-9-21 14:19:50 | 显示全部楼层
这个更清楚一点:

http://www.cisco.com/c/en/us/td/ ... w_i1.html#wp1085449

也就是说,CEF是众多switching方式中的一种。 其它的有distributed switching, fast-switching, 等等。

这些都是全局模式下的。  当你要对某一个接口disable/enable这些switching方式的时候,就要用到 ip route-cache 这个命令了。

ip route-cache [cef | distributed | flow | policy | same-interface]
no ip route-cache [cef | distributed | flow | policy | same-interface]

沙发 2015-9-21 14:19:50 回复 收起回复
回复

使用道具 举报

发表于 2015-9-22 01:54:02 | 显示全部楼层
来一段英文:

During the history of Cisco IOS, multiple switching methods have been developed. Some methods are supported only on particular platforms. CEF is the latest switching method. When CEF is enabled globally (default behavior), the iproute-cache cef interface specific command is also enabled. This command ensures CEF switching is done for packets that enter this interface. Occasionally, if needed to disable CEF on one interface alone, the no ip route-cache cef command is added. This disables CEF switching for that interface alone. Cisco IOS does not add the no ip route-cache command to the running-config on its own when it is forced to disable CEF. It was introduced on many platforms in Cisco IOS 12.0 mainline, particularly low- and mid-range platforms such as the Cisco 1600, 2500, and 3600 Series.
When a router receives a packet on a routed interface, it first removes the Layer 2 (L2) frame information. It then stores the Layer 3 (L3) packet in Input/Output (I/O) memory. What happens next depends on the switching path that the packet follows.
板凳 2015-9-22 01:54:02 回复 收起回复
回复

使用道具 举报

发表于 2015-9-22 11:18:09 | 显示全部楼层
cef转发和路由缓存
地板 2015-9-22 11:18:09 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2015-9-23 13:47:44 | 显示全部楼层
dingjerry 发表于 2015-9-22 01:54
来一段英文:

During the history of Cisco IOS, multiple switching methods have been developed. Som ...

原来是这样~~
5# 2015-9-23 13:47:44 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:00:56 | 显示全部楼层
6# 2017-6-8 10:00:56 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:01:06 | 显示全部楼层
7# 2017-6-8 10:01:06 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:01:16 | 显示全部楼层
route-cache
8# 2017-6-8 10:01:16 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:01:27 | 显示全部楼层
route-cache
9# 2017-6-8 10:01:27 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:01:37 | 显示全部楼层
route-cache
10# 2017-6-8 10:01:37 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:01:46 | 显示全部楼层
route-cache
11# 2017-6-8 10:01:46 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:01:59 | 显示全部楼层
route-cache
12# 2017-6-8 10:01:59 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:02:04 | 显示全部楼层
route-cache
13# 2017-6-8 10:02:04 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:02:11 | 显示全部楼层
route-cache
14# 2017-6-8 10:02:11 回复 收起回复
回复

使用道具 举报

发表于 2017-6-8 10:02:21 | 显示全部楼层
route-cache
15# 2017-6-8 10:02:21 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-9 10:23 , Processed in 0.074862 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表