Module 2 - Understanding Cisco Switching Paths Flashcards

1
Q

What are the 3 Types of Switching Paths?

A

Process Switching - Inspects all on the cpu

Fast Switching - Uses a cache table, inspects the first frame and then caches it. Faster than process switching.

Cisco Express Forwarding (CEF) - This is the default mode for switching. Uses both the Adjacency table and the FIB (forwarding information base) table. The FIB is populated by default and built up on existing connected interfaces. Hardware switching so it is much quicker and less intensive than the other two methods.

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

Cisco Express Forwarding

A

It’s the fastest forwarding process by default, not always efficient where load balancing is involved.

useful cmds

show ip cef

show ip adjacency

show ip route

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

MAC and TCAMs

A

Switches ask where should I forward the frame? should i even forward the frame? how should i forward the frame?

The CAM table is used for L2 mac address decisions.

The TCAM table is used for L3 and higher decisions such as ACL’s, QOS etc.

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

Layer 2 Switching

A

The switch makes decisions about forwarding frames that are based on the destination Media Access Control (MAC) address that is found within the frame.

Each port is it’s own ‘collision domain’ and because of this allows for full-duplex versus a hub which operates at half duplex.

If a frame is not in the forwarding table aka CAM table then the frame is flooded… this is known as ‘unicast flooding

CAM and TCAM lookups are performed in parrallel. They do not suffer any degredation by enabling QOS and ACL processing.

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

Q.

Which table is used by a switch to figure out where a frame must be sent?

A

The MAC address table ise used to figure out where a frame must be sent to.

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

Control and Data Plane

A

In L3 devices the control and the data plane are relatively independent.

Control plane in a L3 devices exchanges such things as routing protocol information (this is where we learn about routing info). The control plane is very quiet and slow compared to the data plane. It populates the routing table (RIB).

Data Plane - Allows packets to be forwarded from one interface from another.

Point to note - there is no control plane in a Layer 2 device. Also remember that with Switches the 3 x F’s - forwarding, flooding and filtering.

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

Process Switching

A

The slowest switching method for L3, it sends everything that comes into the data plane up to the control plane, which is then processed by the CPU. Each packet has a unique decision made.

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

Fast Switching aka Route Cache Switching

A

Similar to process switching in that the first packet that comes in is sent to the CPU. However a cache table is formed, every packet after that initial packet then uses the route cache table.

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

CEF - Cisco Express Forwarding - Continued

A

The FIB table is pre-built and the adjacency table is built when possible from the CPU. Makes use of RIB and ARP tables

CEF has limitations with load balancing or packets that require more processing. Default mode.

The control plane is responsible for building the FIB table and adjacency tables in software.

The data plane is responsible for forwarding IP unicast traffic using hardware.

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

What is Administrative Distance used for?

A

The administrative distance is used by routers to build the global RIB. If there are two routes to the same destination then the AD with the lowest value is used to populate the RIB. Each protocol EIGRP, OSPF, BGP has it’s own associated AD.

Each routing protocol is prioritized in order of most to least reliable (believable) with the help of an administrative distance value.

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

The FIB table

A

This is derived from the RIB. The FIB is based on L3 prefix based lookups, the longest match prefix is deemed the most trustworthy. Matches that of the TCAM table.

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

The Adjacency Table

A

The adjacency table is built from the ARP table, a node is adjacent if it is one hop away. The Adj table contains L2 MAC address header rewrite information.

It is populated as new adjacencies are formed/discovered.

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

IP CEF Exceptions

A

Not all packets can be processed in the hardware. When traffic cannot be processed in the hardware, it must be received by software processing of the Layer 3 engine. This traffic does not receive the benefit of expedited hardware-based forwarding. Several different packet types may force the Layer 3 engine to process them.

  • They use IP header options.
  • They have an expiring IP TTL counter.
  • They are forwarded to a tunnel interface.
  • They arrive with unsupported encapsulation types.
  • They are routed to an interface with unsupported encapsulation types.
  • They exceed the Maximum Transmission Unit (MTU) of an output interface and must be fragmented.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Q.

Which of the following Cisco Switching Mechanisms is the default on Cisco routers?

A

CEF is the default mode.

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

Summary Review Questions

Which of the following commands will allow an administrator to view which MAC address are mapped to which ports on a Catalyst switch?

A

show mac address-table

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

Q.

Which of the following tables is used to make the decision on whether a frame should even be forwarded based on the frame being permitted in an ACL?

A

TCAM

17
Q

On a Cisco router, which of the following two actions are functions of the control layer between the routing protocol and the firmware data plane microcode? (Choose two.)

A

Managing the internal data and control circuits for the packet-forwarding and control functions.

Collecting the data plane information, such as traffic statistics, from the interface module to the route processor.

18
Q

Which one of the following options is the default switching mode, and uses information from tables that are built by the CPU, such as the routing table and the Address Resolution Protocol (ARP) table, to build hardware-based tables that are known as the Forwarding Information Base (FIB) and adjacency tables?

A

Cisco Express Forwarding (CEF)

19
Q

Which is the default aging time, in seconds, for entries in the MAC address-table on a Catalyst switch?

A

300

20
Q

Which of the following Cisco Switching Mechanisms requires a Cisco router to processes all packets in CPU?

A

Process switching

21
Q

Which of the following Cisco IOS router commands would disable CEF on a specific interface?

A

router(config-if)# no ip route-cache cef

Configured within the interface configuration mode.

22
Q

Which of the following commands will allow you to verify that CEF is enabled on interface GigabitEthernet 0/0?

A

show ip interface GigabitEthernet 0/0