Comparing the OS Routing Table with the Database (--compare-os-db)
You can use the --compare-os-db option to compare the routing data in the database with the operating system routing table. The output shows:
- All routes in the database that are in the operating system routing table
- All routes in the operating system routing table that are not in the database
Example:
# asg_route --compare-os-db
Collecting routing information, may take few seconds...
==============================================================================
Fetching Routes info from SGMs:
1_01
>> Found inconsistency between routes in DB & OS
DB Routes that does not exists in OS: (7 records)
O E 10.33.92.0/24 via 10.33.87.88, bond2.163, cost 2:0
O E 12.1.145.0/24 via 10.33.87.88, bond2.163, cost 2:0
O E 12.1.146.0/24 via 10.33.87.88, bond2.163, cost 2:0
O E 12.1.147.0/24 via 10.33.87.88, bond2.163, cost 2:0
O E 12.1.148.0/24 via 10.33.87.88, bond2.163, cost 2:0
O E 12.1.149.0/24 via 10.33.87.88, bond2.163, cost 2:0
O E 12.1.150.0/24 via 10.33.87.88, bond2.163, cost 2:0
OS Routes that does not exist in DB: (6 records)
9.9.9.9 via 10.33.87.88 dev bond2.163 proto gated
12.3.0.0/24 via 10.33.87.88 dev bond2.163 proto gated
12.3.1.0/24 via 10.33.87.88 dev bond2.163 proto gated
12.3.2.0/24 via 10.33.87.88 dev bond2.163 proto gated
12.3.3.0/24 via 10.33.87.88 dev bond2.163 proto gated
12.3.4.0/24 via 10.33.87.88 dev bond2.163 proto gated
|