









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Forwarding 4
ROUTER ARCHITECTURE OVERVIEW
Input Port:
Switching Fabric Connects input and output ports
Output Ports Stores packet forwarded to it and transmit it to outgoing link
Router Processor Executes routing protocols, lots of other processing
Forwarding 5
I
»given datagram destination, lookup output port using forwarding table in input port memory (caching of entries?)
Ā»Each input port is provided copy of computed forwarding table so that it can make the forwarding itself Ā» Ā» Goal : complete input port processing at āline speedā Ā»queuing: if datagrams arrive faster than forwarding rate into switch fabric
INPUT PORT FUNCTIONS (1/2)
CAM (CONTENT ADDRESSABLE MEMORY)
WORKING OF CAM
Working. Charge / activate all match lines Search supplied bit vertically along search line , compare with each cell If not matched with cell, cell deactivates the associated match line, One mismatch will deactivate the whole match line (line 1,4) Select the minimum of the match address at encoder (01) Search the RAM / Forwarding table for this code (see table in next slide)
Forwarding 10
SWITCHING VIA MEMORY
First generation routers:
Ā» traditional computers with switching under direct control of CPU
Ā»packet copied to systemās memory
Ā» speed limited by memory bandwidth (2 bus crossings per datagram)
Input Port
Output Port
Memory
System Bus
Forwarding 11
SWITCHING VIA BUS
»datagram from input port memory
to output port memory via a shared bus
»bus contention: switching speed limited
by bus bandwidth
»1 Gbps bus, Cisco 1900: sufficient speed
for access and enterprise routers (not
regional or backbone)
Forwarding 13
Forwarding 14
Forwarding 16
NEXT TOPIC