Order of prefixes in "show" command
Hi, In which order prefixes are displayed while doing : “show route table <table_name>” ? While doing this command with this same set of prefixes, it will always display in this same order? Best regards, Klara
On Wed, Feb 03, 2021 at 02:09:53PM +0000, Muzalewska, Klara wrote:
Hi, In which order prefixes are displayed while doing : “show route table <table_name>” ?
Hi We use hash tables internally to implement routing tables, so routes are reported in order they are in the hash table (i.e. sorted by hash value of network modulo table size).
While doing this command with this same set of prefixes, it will always display in this same order?
Not necessary, if the hash table is resized, routes may be reshuffled. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Muzalewska, Klara -
Ondrej Zajicek