Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

CAM and TCAM

what is different between CAM and TCAM table? and both of defult size in switch?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: CAM and TCAM

what is different between CAM and TCAM table? and both of defult size in switch?

Hi Abhinay,

CAM table is a special type of memory used by Cisco switches, in the case of ordinary RAM the IOS uses a memory address to get the data

stored at this memory location, while with CAM the IOS does the inverse, it uses the data and the CAM returns the address where the data is stored, also the CAM is considered to be faster than the RAM since the CAM searches the entire memory in one operation.The problem with CAM is that it can only do exact matches on ones and zeros (binary CAMs), and here TCAM (Ternary CAM) comes, since it can match a third state which is any, this makes TCAM a very important component of Cisco layer 3 switches and modern routers, since they can store their routing table in the TCAMs, allowing for very fast lookups, which is considerably better than routing tables stored in ordinary RAM.


Hope to Help !!

Ganesh.H

Remember to rate the helpful post

2 REPLIES

Re: CAM and TCAM

what is different between CAM and TCAM table? and both of defult size in switch?

Hi Abhinay,

CAM table is a special type of memory used by Cisco switches, in the case of ordinary RAM the IOS uses a memory address to get the data

stored at this memory location, while with CAM the IOS does the inverse, it uses the data and the CAM returns the address where the data is stored, also the CAM is considered to be faster than the RAM since the CAM searches the entire memory in one operation.The problem with CAM is that it can only do exact matches on ones and zeros (binary CAMs), and here TCAM (Ternary CAM) comes, since it can match a third state which is any, this makes TCAM a very important component of Cisco layer 3 switches and modern routers, since they can store their routing table in the TCAMs, allowing for very fast lookups, which is considerably better than routing tables stored in ordinary RAM.


Hope to Help !!

Ganesh.H

Remember to rate the helpful post

New Member

Re: CAM and TCAM

Hi Ganesh,

Thanks yar I was just confused but now I clear the problem...    

790
Views
4
Helpful
2
Replies
CreatePlease to create content