IPv6 (Cisco) Training – Using the “bgp Log-Neighbo…
Network administrators (like you) use the Cisco IOS “Router” configuration command named “bgp log-neighbor-changes” on Border Gateway Protocol routers; to enable (allow) those routers to log their neighbor(s) resets.
Another way of explaining it is; a network administrator will type (use) the “bgp log-neighbor-changes” “Router” configuration command on a Border Gateway Protocol router, if he or she wants that particular router to be able to log its neighbors (Peers) status changes, the status changes are up, down, and reset.
As you may have already started to figure out; the “bgp log-neighbor-changes” “Router” configuration command, is mainly used for troubleshooting purposes. It’s ждущей also measure network stability.
And, unlike BGP “debug” commands, the “bgp log-neighbor-changes” “Router” configuration command does not cause a significant performance impact to a network which is a very good thing.
Now, if a UNIX syslog facility is enabled on the Border Gateway Protocol network; the BGP log messages will be sent to the UNIX host that is running the syslog daemon, so the log messages can be stored and archived on the Unix host disk. But, if a UNIX syslog facility is not enabled on the Border Gateway Protocol network, then the status change BGP messages are retained inside the internal buffer of the particular Border Gateway Protocol router, and are not stored to disk.
Network administrators (like you) can set the size of the internal buffer, which is dependent upon the available RAM, by using the logging buffered command. Now, if the “bgp log-neighbor-changes” “Router” configuration command is not enabled on a Border Gateway Protocol router, that router will not log (track) its neighbors (Peers) up and down status change messages, but it will log (track) its neighbors (Peers) reset status change messages; and the two IOS commands that can be used to view those reset status change messages are show ip bgp neighbors and show bgp ipv6 neighbors.
Here is the correct syntax for the “bgp log-neighbor-changes” command:
And, if you want to disable the logging of changes in BGP neighbor adjacencies on a particular router; all you need to do is type the word “no” in front of the command like you see in the example below:
I hope this article was very informative and helped you quickly understand the usage of the “bgp log-neighbor-changes” command. If you need to learn more about the command; I suggest you visit my website, were you’ll find the latest information regarding Cisco IPv6 Design and Implementation Techniques.