|
|
 |
专题栏目 |
 |
 |
相关文章 |
 |
|
|
|
|
 |
怎样配置和验证CEF |
★★★ |
|
怎样配置和验证CEF |
|
作者:bbfish.net 文章来源:本站收集 点击数: 更新时间:2009-4-1 22:36:52  |
|
|
特别注意:Cisco catalyst交换机默认启用CEF,因此catalyst交换机执行第3层硬件转发。
配置CEF
•ip cef (默认已经启用)
•ip route-cache cef (只能在VLAN interface上配置)
验证CEF
•show ip cef fa 0/1 detail (查询fa0/1的FIB表信息)
•show adjacency fa 0/1 detail (查询fa0/1的邻接表信息)
验证CEF命令
Switch#show ip cef [type mod/port | vlan_interface] [detail]
Switch# show ip cef vlan 11 detail IP CEF with switching (Table Version 11), flags=0x0 10 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 0 13 leaves, 12 nodes, 14248 bytes, 14 inserts, 1 invalidations 0 load sharing elements, 0 bytes, 0 references universal per-destination load sharing algorithm, id 4B936A24 2(0) CEF resets, 0 revisions of existing leaves Resolution Timer: Exponential (currently 1s, peak 1s) 0 in-place/0 aborted modifications refcounts: 1061 leaf, 1052 node
Table epoch: 0 (13 entries at this epoch)
172.16.11.0/24, version 6, epoch 0, attached, connected 0 packets, 0 bytes via Vlan11, 0 dependencies valid glean adjacency
验证三层交换命令 Switch#show interface {{type mod/port} | {port-channel number}} | begin L3
Switch#show interface fastethernet 3/3 | begin L3
L3 in Switched: ucast: 0 pkt, 0 bytes - mcast: 12 pkt, 778 bytes mcast
L3 out Switched: ucast: 0 pkt, 0 bytes - mcast: 0 pkt, 0 bytes
4046399 packets input, 349370039 bytes, 0 no buffer
Received 3795255 broadcasts, 2 runts, 0 giants, 0 throttles
.....
Switch#
显示三层硬件交换统计
Switch#show interfaces {{type mod/port} | {port-channel number}} include switched
Switch#show interfaces gigabitethernet 9/5 | include switched
L2 Switched: ucast: 8199 pkt, 1362060 bytes - mcast: 6980 pkt, 371952 bytes
L3 in Switched: ucast: 3045 pkt, 742761 bytes - mcast: 0 pkt, 0 bytes mcast
L3 out Switched: ucast: 2975 pkt, 693411 bytes - mcast: 0 pkt, 0 bytes
验证邻接信息 Switch#show adjacency [{{type mod/port} |
{port-channel number}} | detail | internal | summary] Switch#show adjacency gigabitethernet 9/5 detail
Protocol Interface Address
IP GigabitEthernet9/5 172.20.53.206(11)
504 packets, 6110 bytes
00605C865B82
000164F83FA50800
ARP 03:49:31
Debugging CEF操作 显示CEF的debug信息 Switch#debug ip cef {drops | access-list | receive | events | prefix-ipc | table} 显示设计IPC的CEF debug信息 Switch#debug ip cef {ipc | interface-ipc} 执行扩展PING Switch#ping ip
|
|
| 文章录入:admin 责任编辑:admin |
|
|
上一篇文章: 基于CEF的多层交换 下一篇文章: EBGP multipath load sharing and CEF |
|
|
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |
|
网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) |
|
|
|
|
|
|