Fundamentals Flashcards
Where are MAC address Stored?
CAM Table
What happens if a CAM table is full?
A switch will flood all frames like a hub
What determines where a packet is forwarded?
Destination IPv4 Address. The routing table is used for the routing decision.
What happens at every hop that an IP packet hits?
L2 frame header is de-capsulated to remove L2 header. It updates source MAC (outbound interface) and destination MAC address (Next hop) then encapsulates the L2 header for transmission
When would a L3 header be changed
When it is used in PAT or NAT.
Name the slowest type of switching?
Process Switching. Because the CPU processes every frame.
What is Fast Switching?
Fast switching uses CPU to lookup the first frame and put it into a cache. It uses the cache to forward the rest of the frames in the data stream. This is faster than process switching but slower than CEF.
What is CEF?
Cisco Express Forwarding is the fastest switching method. Forwarding table created in hardware beforehand. All packets will be switched using hardware. Multilayer switches and routers use CEF.
Explain the L2 Switching Process.
- The switch will verify the checksum on the Ethernet frame to amke sure it’s not corrupted.
- The switch receives an ethernet frame and adds the source MAC address to the MAC address table.
- The switch forwards the ethernet frame to the correct interface if it knows the destination MAC address, if not it will flood the frame.
There is NO ALTERATION of the ethernet frame.
Explain receiving a IP Packet on a multilayer switch.
- Verify checksum on Frame
- Verify checksum on Packet
- Check routing table
- Check ARP table for L2 to L3 Mapping to H2.
- Change destination MAC from FFF to BBB
- Change source MAC from AAA to GGG
- Decrease TTL by one, recalculate checksum
- The ethernet frame carrying the IP packet will be sent out of the interfce toward H2.
Where is the ASIC Located?
In The Dataplane. Information like MAC addresses, the routing table or access-lists are stored into these ASICs. The tables are stored in content-addressable memory (CAM) and ternary content addressable memory (TCAM).
What is the recursive lookup process (example: 10.10.10.5)
Preform recursive lookup
- 10.10.5 via 11.11.11.1
- 11.11.1 via 12.12.12.1
- 12.12.1 directly connected, FastEthernet 0/0
What are the 3 main steps in moving traffic.
- Routing-Longest matching of destination address
- Recursive Lookups until you find the outbound interface
- Switching
- Moving packets between interfaces
- Encapsulation
- Build new layer 2 deader based on outgoing media
- two types of interfaces, P2P or Multipoint