Forwarding Architecture (CEF, CAM, SSO, etc) Flashcards

1
Q

What is a CAM?

A

Content Addressable Memory - high speed memory where the MAC Address table is stored

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

Describe Process Switching

A
  • uses the CPU
  • aka Slow Path or Software Switching
  • backup for CEF
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe CEF

A

Cisco Express Forwarding
- default switching mechanism on all Cisco devices

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

What command can you use to verify CEF on a cisco device?

A

show ip cef {prefix | ip-address}

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

What are the two key hardware components used by CEF?

A
  • Hardware CEF
    • Application Specific Integrated Circuits (ASICs)
    • Network Processing Units (NPUs)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is TCAM?

A

Ternary Content Addressable Memory - an enhancement of CAM that allows for Layer 2 and 3 source and destination, protocol, QoS marking and other such identification

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

What are the two main components of Software CEF?

A
  • FIB (Forwarding Information Base)
  • Adjacency Table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the FIB?

A

Forwarding Information Base
- built directly from the Routing Table (RIB)
- contains next-hop address for each network destination
- used by CEF for destination prefix forwarding

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

What is the Adjacency Table?

A
  • aka Adjacency Information Base (AIB)
  • contains directly connected next-hop IP address and corresponding MAC Address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is SSO (in forwarding terms)?

A

Stateful SwitchOver - a redundancy feature where two switches mirror each other’s configurations and the standby switch takes over if the primary switch fails

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

What is a SDM Template?

A

Switching Database Manager Template - used by switch stacks to store and modify TCAM tables

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

What is the command to configure an SDM template?

A

SW1(config)# sdm prefer {vlan | advanced}

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

What is PBR?

A

Policy-Based Routing - a routing feature that uses route-maps to route packets.

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

What are the basic steps to enable policy-based routing?

A
  • create ACLs for the traffic you want to match
  • create a route-map to match the ACLs and set next-hop
  • apply the policy to an interface using the command “ip policy route-map ROUTE-MAP-NAME”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What makes policy-based routing so flexible?

A

The ability to match on traffic based on factors other than shortest path, particularly to be able to match on protocol.

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

What traffic will not be caught by policy-based routing (by default)?

A

Traffic generated by the device itself. This is because ACLs will not catch this traffic by nature of ACL behavior.

17
Q

What commands are used to configure a route-map for a policy-based route?

A

R1(config)# route-map RMAP_NAME permit [seq-num]
R1(config-route-map)# match ip address ACL_NAME
R1(config-route-map)# set ip next-hop {ip-address}