cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
291
Views
0
Helpful
3
Replies

Multi-layer switching

ziad sousa
Level 1
Level 1

Is the RIB stored in TCAM ? And does the Layer 3 engine (Arp table and RIB ) software based or hardware based

1 Accepted Solution

Accepted Solutions

Mark Malone
VIP Alumni
VIP Alumni

Hi

RIB is parrt of running config so its stored in RAM like ARP but its also part of the startup config so its part of NVRAM aswell this is the permanaent storage section , RAM pulls it from NVRAM to use when the router is un use  , routing would be done in software

View solution in original post

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi

RIB is parrt of running config so its stored in RAM like ARP but its also part of the startup config so its part of NVRAM aswell this is the permanaent storage section , RAM pulls it from NVRAM to use when the router is un use  , routing would be done in software

Thank you very much

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Is the RIB stored in TCAM ?

Usually, yes.

And does the Layer 3 engine (Arp table and RIB ) software based or hardware based

Usually both.

Ideally, special ASICs work to forward "normal" traffic.  However, "unusual" packets get "punted" to the main CPU and are software processed.  Also, if TCAM is overfilled, forwarding is done in software too.  (NB: sometimes system documentation will note what can trigger software processing.  Items such as IP/TCP options might, as might certain configuration options [e.g. some PBR options].)

Generally, software forwarding on a L3 switch is much, much, much slower than it's dedicated hardware support.  (NB: in fact, such software forwarding might be slower than many small software based routers because the L3 switch is designed to forward using its dedicated hardware.)

Review Cisco Networking for a $25 gift card