Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Cisco Support Community site will be in read only mode on Dec14, 2017 from 12:01am PST to 11:30am for standard maintenance. Sorry for the inconvenience.

New Member

MLS and CEF

Hi, referring to this document "http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a00804c5472.shtml"

and the section "Difference between IP CEF and MLS CEF" it says to use show ip cef exact-route <src-ip> <dst-ip> to view the next hop however before that it says that when using MLS CEF the packets are hardware switched hence wouldn't that mean that "show mls cef exact-route" be more accurate. Am I reading this incorrectly?

Per my understanding any show mls cef commands provide information on the PFC wheras any commands with show ip cef provide information on the RP. Is that correct? thx

3 REPLIES
Cisco Employee

Re: MLS and CEF

Hi,

Correct.

sh ip cef will show you the FIB created by the RP

sh mls cef will show you how the PFC/DFC programmed this FIB entry in the FIB TCAM used for Hw lookup.

Hope this helps

Laurent.

New Member

Re: MLS and CEF

Hi Laurent,

Thank you for the response. Could you please confirm if this means that the doc specified in my original post is incorrect. Thx

Cisco Employee

Re: MLS and CEF

Hi,

I understand it's confusing ;-)

Actually both commands are the same. The main difference is the sh mls cef exact-route will give you the information from the adjacency table as well (destination MAC + output VLAN).

So if you're interesting only by the next-hop address, the document is correct.

Thanks

Laurent.

422
Views
0
Helpful
3
Replies
CreatePlease to create content