Cisco機のshow ip routeの結果や、show run内のip routeコマンドなどIPアドレス順になります。この順番にするためにソートをできるようにします。 ※下記記事の続きです 二次元配列をソートする 要素の1つ目をソート用の文字列にすればソートされるようです。
Sometimes it's problematic to find actual route in routing table to match certain IP address (because of many matching routes with different masks, summarisation, etc.), espetially when you have only ...