Patent ID: 7894461
Filing Date: 2011-02-22
Classification: H04L

Abstract:
1. A method comprising: querying a router configuration file associated with a router of a first autonomous system to identify a border gateway protocol session between the first autonomous system and a second autonomous system; querying the router configuration file to determine whether the border gateway protocol session is a single hop border gateway protocol session; when the border gateway protocol session is a single hop border gateway protocol session, setting a status flag associated with the border gateway protocol session to a first value; querying the router configuration file to determine whether the first autonomous system and the second autonomous system have a valid Internet protocol configuration for the identified border gateway protocol session; when the first autonomous system and the second autonomous system have a valid Internet protocol configuration for the identified border gateway protocol session, setting the status flag to a second value; querying a router syslog file associated with the router to identify a syslog border gateway protocol message associated with the border gateway protocol session; determining whether the border gateway protocol session is stale based on the identified syslog border gateway protocol message; and when the border gateway protocol session is not stale and the status flag is set to the second value, adding a third value representative of the second autonomous system to a list of actual autonomous system neighbors of the first autonomous system.