Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Check BGP peer IPv6 status via SSH or Telnet on Cisco IOS. Parse command "sh ip bgp ipv6 unicast summary"
Current Version
1.0
Last Release Date
2013-03-25
Owner
Guillaume
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2012/06/check_bgp_ipv6.pl
License
GPL
Compatible With
feature: exclude shutdown admin
Check BGP peer IPv6 status via SSH or Telnet on Cisco IOS.
Parse command "sh ip bgp ipv6 unicast summary"
Requirements : - perl -MCPAN -e 'install Net::OpenSSH' - perl -MCPAN -e 'install Regexp::IPv6' - libnet-telnet-cisco-perl - libio-pty-perl
Tested on : - Cisco ASR 1000 Series Routers (ASR1001 - ASR1002-F)
Usage: check_bgp_ipv6.pl -H <HOSTNAME> -C <connection> -L <login> -P <password> check_bgp_ipv6.pl [-h | --help]
-H (--hostname) Hostname to query - (required) -C (--connection) Telnet or SSH - (default: telnet) -L (--login) Username - (optional: can be set in the script) -P (--password) Password - (optional: can be set in the script) -V (--version) Plugin version -h (--help) usage help
OUTPUT:
(20/21) BGP Peer Are Established. CRITICAL : 2001:XXXX:XXXX:XXXX::E203:1 (ASXXXXX) state is Idle.
(8/9) BGP Peer Are Established. WARNING : 2A03:XXX:XXX:XX:0:2 (ASXXXXX) state is established. Established: 2w0d. But Prefix Received: 0
OK : (2/3) BGP Peer Are Established. SHUTDOWN ADMIN : 2A03:XXXX::XXX:0:2 (ASXXXXX) state is Idle (Admin).
OK : (10/10) BGP Peer Are Established.
Guillaume Pécourt,
You must be logged in to submit a review.
To:
From: