scratch deck Flashcards

1
Q

How is TCAM different than CAM?

A

TCAM allows for the matching and evaluation of a packet on more than one field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Architecturally, describe what the TCAM is.

A

It is an extension of the CAM table but enhanced so that it can do upper-layer processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name 3 things TCAM can identify.

A
  • L2 / L3 source/destination address
  • Protocol
  • QOS markings
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name 2 differences between TCAM and CAM.

A
  • TCAM (ternary) provides more flexibility in searching than CAM (binary)
  • TCAM does upper-layer processing, CAM does not
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the states TCAM can match on?

A

1’s, 0’s, and X’s where X is ‘don’t care’

example:

TCAM can search for a value that has 0 1 1 1 X X 1 0 . This will match:

01110010

01110110

01111010

01111110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What 3 components make up a TCAM entry?

A
  • Value 172.19.0.0
  • Mask 255.255.0.0
  • Result Deny
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are 3 things that the TCAM Result can be?

A
  • Permit or deny
  • Pointer to a next hop in the routing table
  • An index to a QOS Policer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What 2 factors allow TCAM to be really fast?

A
  • TCAM operates in hardware
  • Each of the 5 TCAM partitions can be processing simultaneously allowing multiple operations to be done at the same time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly