Chapter 2 Flashcards

1
Q

What is found in the CAM table of a switch?

A

Found in Cisco switches

MAC address-to-port mappings

Layer 2 forwarding decisions

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

What is found in the TCAM table of a switch?

A

Found in multilayer switches and routers

ACL, QoS, and other information for upper-layer processing

Switches can have multiple TCAMs to boost performance

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

What is a CAM table?

A

The CAM table is the primary table that is used to make Layer 2 forwarding decisions. The table is built by recording the source MAC address and inbound port of all incoming frames. When a frame arrives at the switch with a destination MAC address of an entry in the CAM table, the frame is forwarded out through only the port that is associated with that specific MAC address. If no exact match is found, the switch floods the packet out of all ports in the VLAN.

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

What is a TCAM table?

A

The TCAM table stores ACL, QoS, and other information that is generally associated with upper-layer processing. Most switches have multiple TCAMs, such as one for inbound ACLs, one for outbound ACLs, one for QoS, and so on. Multiple TCAMs allow switches to perform different checks in parallel, thus shortening the packet-processing time. Cisco switches perform CAM and TCAM lookups in parallel. This behavior is why Cisco switches do not suffer any performance degradation by enabling QoS or ACL processing.

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

What is Process switching?

A

Slowest method, every packet examined by CPU and all forwarding decisions made in software

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

What is Fast switching (aka route caching)

A

Faster method, first packet in each flow examined by CPU and forwarding decision cached in hardware for subsequent packets in flow

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

What is Cisco Express Forwarding (aka topology-based switching)

A
  • Fastest method, hardware forwarding table created regardless of traffic flows and all packets switched using hardware
  • Fast, but does have limitations
  • Cisco default method
  • Considered true Layer 3 switching (uses routing table entries)

NOTE: Because this hardware FIB exists regardless of traffic flow, assuming that a destination address has a route in the routing table, all packets that are part of a flow, even the first packet, will be forwarded by the hardware.

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

  • Used in Topology-Based switching.
  • Built by Cisco Express Forwarding
  • Control plane information (Route table, MAC table, ARP cache, etc)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is usually referred to as the Switching Fabric

A

On larger chassis switches this is the physical backplane that connects multiple blades together.

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

What is Layer 3 Centralized Switching?

A

Switching decisions are made on the route processor by a central forwarding table, typically controlled by an ASIC.

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

What is Layer 3 Distributed Switching

A

Switching decisions can be made on a port or line-card level, rather than on a central route processor. Cached tables are distributed and synchronized to various hardware components so that processing can be distributed throughout the switch chassis.

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

What does SDM stand for in SDM template?

A

show sdm prefer

Switch Database Management.
SDM templated can be used to configure system resources (CAM and TCAM) in the switch to optimize support for specific features, depending on how the switch is used in the network.

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

What are examples of some of the different types of SDM templates?

A

Default: When you unbox a brand new switch, this template will be the enabled template. It provides a mix of unicast, connected, and host routes.

Routing: As one example, you would enable this template if the device is performing routing in the distribution or core of the network. The device is able to carry numerous routes, but only for IPv4.

Access: The access template maximizes system resources for access control lists (ACLs) to accommodate many ACLs.

VLAN: When you enable this template, you allocate most of the table space to Layer 2 unicasts. You would use this template when you have large subnets with many MAC addresses.

Dual IPv4 and IPv6: You would enable this template if you want to turn on the IPv6 capabilities of the device. When enabling this template, you have to choose between default, routing, and VLAN.

Default: More space is reserved for IPv6 routing and security. There is less reserved space for Layer 2 unicast.

Routing: More space is reserved for IPv6 routing than IPv4 routing.

VLAN: Suitable for when you are running a dual-stack environment with lots of VLANs.

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

Why might an ipv6 command not be available on a Catalyst switch?

A

It could be running the wrong SDM template.

Change the SDM template to a dual-stack mode by using:
(config)# sdm prefer dual-ipv4-and-ipv6 default

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

What command would you use to see if a SDM template change might max out the resources of a switch?

A
# show platform tcam utilization
(3650)# show platform tcam utilization asic all
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is LLDP’s IEEE number?

A

802.1AB

17
Q

How do you enable LLDP on a Cisco device?

A

(config)# lldp run

18
Q

How do you disable LLDP on an interface?

A

(config-if)# no lldp enable

19
Q

How can you view LLDP information for just a single neighbor host?

A

show lldp neighbors f0/11 detail

20
Q

What does LLDP stand for?

A

Link Layer Discovery Protocol