Chap 1 - Forwarding Flashcards

1
Q

What is Unknown Unicast Flooding?

A

A destination MAC address is not in the MAC table so the switch floods the packet out all ports.

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

What separates broadcast domains?

A

A router.

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

What do VLANs do?

A

They create multiple broadcast domains on a single switch.

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

What 4 fields did IEEE 802.1q add to the VLAN packet structure?

A
  • Tag Protocol Identifier (TID)
  • Priority Code Point (PCP)
  • Drop Eligible Indicator (DEI)
  • VLAN Identifier (VLAN ID)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How many bits in the TID field, what is its hex value, and what does it identify?

A
  • 16 bits
  • set to 0x8100 identifying the packet as an 802.1q packet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does the Priority Code Point field do?

A
  • 3 bits
  • indicates Class of Service for QOS between switches
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How many bits in the Drop Eligible Indicator and what does it do?

A
  • 1 bit
  • indicates whether the packet can be dropped due to congestion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many bits in the VLAN ID field and what does it do?

A
  • 12 bits
  • specifies the VLAN associated with the packet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is VLAN 0 reserved for?

A

802.1P traffic

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

What is different about VLAN 1?

A
  • default VLAN
  • It can’t be deleted.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the range of normal VLANs?

A

2 - 1001

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

What VLANs above 1000 are reserved?

A

1002 - 1005

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

What is the range of extended VLANs?

A

1006 - 4094

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

After being in VLAN configuration mode and creating a VLAN at what point does the VLAN actually get created?

A
  • when you leave VLAN config mode
  • when you move to a different VLAN configuration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What VLAN are ports put in by default?

A

VLAN 1

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

What is the default Native VLAN?

A

VLAN 1

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

What is the CAM?

A
  • Content addressable memory
  • MAC address table resides here
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the fallback for CEF?

A

Process switching

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

What is process switching?

A

Switching in software

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

What are the 3 types of packets that need to be process switched?

A
  • Packets sourced by or destined for the router itself
  • Packets too complex for hardware (packets with IP options)
  • Packets that need extra information that isn’t already known (like ARP)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What 5 things happen when a packet is punted by CEF to be process switched?

A
  • ip_input process checks the routing table and ARP for next hop routers IP address, outgoing interface and MAC
  • Overwrites source MAC with its own MAC, and destination MAC with next hop router’s MAC
  • Decrements TTL
  • Recomputes checksum of IP header
  • Delivers packet to next hop router
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is another name for the routing table?

A

Routing Information Base (RIB)

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

What 3 sources build the RIB?

A
  • info from dynamic routing protocols
  • static routes
  • connected routes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

How is the ARP table built?

A

From info from the ARP protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Where is CEF used?
* Default switching mechanism used on Cisco routers that do packet switching on general purpose CPU * Default switching machinism on platforms with ASICs and hardware-based routers
26
Why do most switches contain multiple TCAM partitions?
So that inbound/outbound security, QOS, L2/L3 forwarding decisions occur all at once
27
Concerning ACLs what does TCAM make possible?
ACLs can be processed at the same speed whether the ACL has 10 lines or 500 lines
28
What is Centralized Forwarding Architecture?
When a Route Processor is equipped with a Forwarding Engine so it can make all forwarding decisions.
29
What is Distributed Forwarding Architecture?
When Line Cards are equipped with Forwarding Engines and can forward without intervention of the Route Processor (RP()
30
What 3 steps occur in Centralized Forwarding?
* Packet received on ingress Line Card, transmitted to Forwarding Engine on RP * Forwarding Engine determines where packet will exit * Forwards packet to Egress Line Card
31
What are 4 steps in Distributed Forwarding?
* Packet received on Ingress Line Card, * Transmitted to Local Forwarding Engine * If destination is local Forwarding Engine sends packet out Egress Port * If not local, Forwarding Engine sends packet across Switch Fabric directly to Egress Line Card
32
What is another name for Software CEF?
Software Forwarding Information Base
33
What does Software CEF consist of?
* Forwarding Information Base (FIB) * Adjacency Table (Adjacency Information Base)
34
How is the Forwarding Information Base (FIB) built and what does it contain?
* Built from Routing Table to have a mirror image * Contains next hop IP address for each destination in routing table
35
How does CEF use the FIB?
CEF uses the FIB to make switching decisions based on IP destination prefixes
36
How is the Adjacency Table (AIB) built and what does it contain?
* Built from ARP and other L2 protocols * Contains directly-connected next hop IP/MAC addresses and egress interfaces MAC
37
What is a Glean Adjacency in CEF and when does it occur?
* CEF punts to CPU where ARP is invoked * Glean Adjacency occurs when a packet arrives but no entry in FIB
38
In CEF switching what 6 things happen during packet forwarding process?
* Packets headers are re-written * Destination MAC overwritten with info from Adjacency Table * Source MAC overwritten with MAC from egress interface * TTL is decremented * Header checksum is re-computed * Packet delivered to next hop router
39
What happens when a router receives a packet with TTL = 0 ?
Packet is discarded
40
What is done to prevent starving of CPU cycles by packets with an invalid or imcomplete adjacency?
Rate limiter
41
What is an NPU?
Network Processing Unit
42
What is the difference between an NPU and an ASIC?
The NPU is programmable but the ASIC is not.
43
In a Distributed Forwarding Architecture what mechanism is used for packet switching?
It uses Distributed CEF (dCEF)
44
What does dCEF stand for and what 2 things are true about it?
* Distributed CEF * CEF data structures are downloaded to ASICs and CPUs of all the Line Cards * Increases packet throughput of the router
45
What is Hardware CEF?
CEF switching done in ASICs and NPUs
46
In hardware-based platforms what is Software CEF used for?
For programming Hardware CEF in ASICs / NPUs
47
What is Stateful Switchover?
Redundancy feature that allows 2 RPs to synchronize configuration and control plane info
48
What is the process called for mirroring information between RPs?
Checkpointing
49
What does Non-Stop Forwarding (NSF) do?
Informs routers to maintain CEF entries and to continue forwarding packets during an RP failure until the control plane recovers
50
What is SDM
Switching Database Manager
51
What do SDM templates do?
Used to adjust the Allocation Ratios of memory allocated to various TCAM tables
52
What is particular about SDM templates when used in a switch stack?
The switches all need to use the same SDM template.
53
What is the 'show' command that allows you to see the current SDM template?
show sdm prefer'
54
What 2 components make up CEF?
* Forwarding Information Base (FIB) * Adjacency Table
55
Display the MAC address table for a switch
* show mac address-table address (mac\_address) * show mac address-table dynamic * show mac address-table vlan (vlan\_id)
56
Display the Layer 2 configuration for a specific switchport.
show interfaces (interface\_id) switchport
57
Display the ARP table.
* show ip arp (mac\_address) * show ip arp (ip\_address) * show ip arp vlan (vlan\_id) * show ip arp (interface\_id)
58
Display the SDM template.
show sdm prefer
59
How is TCAM different than CAM?
TCAM allows for the matching and evaluation of a packet on more than one field.
60
Architecturally, describe what the TCAM is.
It is an extension of the CAM table but enhanced so that it can do upper-layer processing.
61
Name 3 things TCAM can identify.
* L2 / L3 source/destination address * Protocol * QOS markings
62
Name 2 differences between TCAM and CAM.
* TCAM (ternary) provides more flexibility in searching than CAM (binary) * TCAM does upper-layer processing, CAM does not
63
What are the states TCAM can match on?
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: 0111**00**10 0111**01**10 0111**10**10 0111**11**10
64
What 3 components make up a TCAM entry?
* Value 172.19.0.0 * Mask 255.255.0.0 * Result Deny
65
What are 3 things that the TCAM Result can be?
* Permit or deny * Pointer to a next hop in the routing table * An index to a QOS Policer
66
What 2 factors allow TCAM to be really fast?
* TCAM operates in hardware * Each of the 5 TCAM partitions can be processing simultaneously allowing multiple operations to be done at the same time