Revert "Remove snmp2ipv6 (#12683)" (#12725)

This reverts commit f5f72dd398.
This commit is contained in:
Jellyfrog 2021-04-08 14:57:17 +02:00 committed by GitHub
parent 04407db85b
commit c147be4505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 643 additions and 621 deletions

View File

@ -37,7 +37,7 @@ if (Config::get('enable_bgp')) {
$peers_data = snmp_walk($device, 'aristaBgp4V2PeerRemoteAs', '-Oq', 'ARISTA-BGP4V2-MIB');
$peer2 = true;
} elseif ($device['os'] == 'junos') {
$peers_data = snmp_walk($device, 'jnxBgpM2PeerRemoteAs', '-Oq', 'BGP4-V2-MIB-JUNIPER', 'junos');
$peers_data = snmp_walk($device, 'jnxBgpM2PeerRemoteAs', '-Onq', 'BGP4-V2-MIB-JUNIPER', 'junos');
} elseif ($device['os_group'] === 'cisco') {
$peers_data = snmp_walk($device, 'cbgpPeer2RemoteAs', '-Oq', 'CISCO-BGP4-MIB');
$peer2 = ! empty($peers_data);

View File

@ -1035,17 +1035,13 @@ function build_bgp_peers($device, $data, $peer2)
'CISCO-BGP4-MIB::cbgpPeer2RemoteAs.',
'BGP4-MIB::bgpPeerRemoteAs.',
'HUAWEI-BGP-VPN-MIB::hwBgpPeerRemoteAs.',
'BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerRemoteAs.',
'.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.13.',
];
$peers = trim(str_replace($remove, '', $data));
$peerlist = [];
$ver = '';
foreach (explode("\n", $peers) as $peer) {
if (empty($peer)) {
continue;
}
$local_ip = null;
if ($peer2 === true) {
[$ver, $peer] = explode('.', $peer, 2);
@ -1053,12 +1049,13 @@ function build_bgp_peers($device, $data, $peer2)
[$peer_ip, $peer_as] = explode(' ', $peer);
if ($device['os'] === 'junos') {
$ver = '';
$pieces = explode('.', $peer_ip);
if (isset($pieces[1])) {
$is_ipv4 = $pieces[1] == 'ipv4';
// both local and remote are in the index, extract them
$local_ip = (string) IP::fromSnmpString(implode('.', array_slice($pieces, $is_ipv4 ? -9 : -33, $is_ipv4 ? 4 : 16)), true);
$peer_ip = (string) IP::fromSnmpString(implode('.', array_slice($pieces, $is_ipv4 ? -4 : -16)), true);
$octets = count(explode('.', $peer_ip));
if ($octets > 11) {
// ipv6
$peer_ip = (string) IP::parse(snmp2ipv6($peer_ip), true);
} else {
// ipv4
$peer_ip = implode('.', array_slice(explode('.', $peer_ip), -4));
}
} else {
if (strstr($peer_ip, ':')) {
@ -1067,7 +1064,7 @@ function build_bgp_peers($device, $data, $peer2)
$peer_ip = str_replace('"', '', str_replace(' ', '', $peer_ip));
}
}
if ($peer_ip != '0.0.0.0') {
if ($peer && $peer_ip != '0.0.0.0') {
if ($peer_as < 0) {
//if ASN is negative -> overflow int32 -> original number is max(INT32) - min(INT32) + 1 + value
$peer_as = 4294967296 + $peer_as;
@ -1142,7 +1139,7 @@ function add_bgp_peer($device, $peer)
'bgpPeerState' => 'idle',
'bgpPeerAdminStatus' => 'stop',
'bgpLocalAddr' => $peer['localip'] ?: '0.0.0.0',
'bgpPeerRemoteAddr' => $peer['ip'] ?: '0.0.0.0',
'bgpPeerRemoteAddr' => '0.0.0.0',
'bgpPeerInUpdates' => 0,
'bgpPeerOutUpdates' => 0,
'bgpPeerInTotalMessages' => 0,

View File

@ -21,7 +21,7 @@ foreach ($vrfs_lite_cisco as $vrf) {
$oid = '';
$sep = '';
$adsep = '';
$ipv6_address = '';
unset($ipv6_address);
$do = '0';
foreach (explode(':', $ipv6addr) as $part) {
$n = hexdec($part);
@ -62,10 +62,10 @@ foreach ($vrfs_lite_cisco as $vrf) {
if ($data) {
$data = trim($data);
[$if_ipv6addr,$ipv6_prefixlen] = explode(' ', $data);
$exploded = explode('.', $if_ipv6addr);
$ipv6_address = \LibreNMS\Util\IP::fromSnmpString(implode('.', array_slice($exploded, -16)), true);
[$ifIndex,$ipv6addr] = explode('.', $if_ipv6addr, 2);
$ipv6_address = snmp2ipv6($ipv6addr);
$ipv6_origin = snmp_get($device, "IPV6-MIB::ipv6AddrType.$if_ipv6addr", '-Ovq', 'IPV6-MIB');
discover_process_ipv6($valid, $exploded[0], $ipv6_address, $ipv6_prefixlen, $ipv6_origin, $device['context_name']);
discover_process_ipv6($valid, $ifIndex, $ipv6_address, $ipv6_prefixlen, $ipv6_origin, $device['context_name']);
} //end if
} //end foreach
} //end if
@ -77,7 +77,7 @@ foreach ($vrfs_lite_cisco as $vrf) {
$full_address = $row['ipv6_address'] . '/' . $row['ipv6_prefixlen'];
$port_id = $row['port_id'];
$valid_address = $full_address . '-' . $port_id;
if (! isset($valid['ipv6'][$valid_address])) {
if (! $valid['ipv6'][$valid_address]) {
echo '-';
$query = dbDelete('ipv6_addresses', '`ipv6_address_id` = ?', [$row['ipv6_address_id']]);
if (! dbFetchCell('SELECT COUNT(*) FROM `ipv6_addresses` WHERE `ipv6_network_id` = ?', [$row['ipv6_network_id']])) {

View File

@ -731,6 +731,24 @@ function match_network($nets, $ip, $first = false)
return $return;
}
// FIXME port to LibreNMS\Util\IPv6 class
function snmp2ipv6($ipv6_snmp)
{
// Workaround stupid Microsoft bug in Windows 2008 -- this is fixed length!
// < fenestro> "because whoever implemented this mib for Microsoft was ignorant of RFC 2578 section 7.7 (2)"
$ipv6 = array_slice(explode('.', $ipv6_snmp), -16);
$ipv6_2 = [];
for ($i = 0; $i <= 15; $i++) {
$ipv6[$i] = zeropad(dechex($ipv6[$i]));
}
for ($i = 0; $i <= 15; $i += 2) {
$ipv6_2[] = $ipv6[$i] . $ipv6[$i + 1];
}
return implode(':', $ipv6_2);
}
function get_astext($asn)
{
global $cache;

View File

@ -11,7 +11,7 @@ if (\LibreNMS\Config::get('enable_bgp')) {
if (! empty($peers)) {
$generic = false;
if ($device['os'] == 'junos') {
$peer_data_check = snmpwalk_cache_long_oid($device, 'jnxBgpM2PeerIndex', '.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.14', [], 'BGP4-V2-MIB-JUNIPER', 'junos');
$peer_data_check = snmpwalk_cache_long_oid($device, 'jnxBgpM2PeerIndex', '.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.14', $peer_data_tmp, 'BGP4-V2-MIB-JUNIPER', 'junos');
} elseif ($device['os_group'] === 'arista') {
$peer_data_check = snmpwalk_cache_oid($device, 'aristaBgp4V2PeerRemoteAs', [], 'ARISTA-BGP4V2-MIB');
} elseif ($device['os'] === 'dell-os10') {
@ -69,15 +69,22 @@ if (\LibreNMS\Config::get('enable_bgp')) {
echo "\nCaching Oids...";
foreach ($peer_data_check as $hash => $index) {
$exploded_ip = explode('.', $index['orig']);
$tmp_peer_ip = (string) IP::fromSnmpString(implode('.', array_slice($exploded_ip, $exploded_ip[2] == '1' ? -4 : -16)));
$peer_ip_snmp = ltrim($index['orig'], '.');
$exploded_ip = explode('.', $peer_ip_snmp);
if (count($exploded_ip) > 11) {
// ipv6
$tmp_peer_ip = (string) IP::parse(snmp2ipv6($peer_ip_snmp), true);
} else {
// ipv4
$tmp_peer_ip = implode('.', array_slice($exploded_ip, -4));
}
$junos[$tmp_peer_ip]['hash'] = $hash;
$junos[$tmp_peer_ip]['index'] = $index['jnxBgpM2PeerIndex'];
}
}
if (! isset($peer_data_tmp)) {
$peer_data_tmp = snmpwalk_cache_long_oid($device, 'jnxBgpM2PeerState', '.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2', [], 'BGP4-V2-MIB-JUNIPER', 'junos');
$peer_data_tmp = snmpwalk_cache_long_oid($device, 'jnxBgpM2PeerState', '.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.2', $peer_data_tmp, 'BGP4-V2-MIB-JUNIPER', 'junos');
$peer_data_tmp = snmpwalk_cache_long_oid($device, 'jnxBgpM2PeerStatus', '.1.3.6.1.4.1.2636.5.1.1.2.1.1.1.3', $peer_data_tmp, 'BGP4-V2-MIB-JUNIPER', 'junos');
$peer_data_tmp = snmpwalk_cache_long_oid($device, 'jnxBgpM2PeerInUpdates', '.1.3.6.1.4.1.2636.5.1.1.2.6.1.1.1', $peer_data_tmp, 'BGP4-V2-MIB-JUNIPER', 'junos');
$peer_data_tmp = snmpwalk_cache_long_oid($device, 'jnxBgpM2PeerOutUpdates', '.1.3.6.1.4.1.2636.5.1.1.2.6.1.1.2', $peer_data_tmp, 'BGP4-V2-MIB-JUNIPER', 'junos');

View File

@ -88703,7 +88703,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.34",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88725,7 +88725,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.35",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88747,7 +88747,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.50",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88769,7 +88769,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.51",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88845,7 +88845,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.34",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "hle-sg066-ro-lug-1",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88867,7 +88867,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.35",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "hle-sg066-ro-lug-2",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88889,7 +88889,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.50",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88911,7 +88911,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.248.3.51",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,

View File

@ -5465,7 +5465,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.168.0.2",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -5487,7 +5487,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "2001:0550:0002:002f:0000:0000:0033:0001",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -5563,7 +5563,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": "Cease/administrative shutdown",
"bgpLocalAddr": "192.168.0.1",
"bgpPeerRemoteAddr": "192.168.0.2",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "peer.example.com EBGP",
"bgpPeerInUpdates": 13362513,
"bgpPeerOutUpdates": 13579799,
@ -5585,7 +5585,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "2001:0550:0002:002f:0000:0000:0033:0002",
"bgpPeerRemoteAddr": "2001:0550:0002:002f:0000:0000:0033:0001",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 12658044,
"bgpPeerOutUpdates": 118,

View File

@ -8,11 +8,8 @@
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "95.43.23.53",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -22,7 +19,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65504,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -30,11 +30,8 @@
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.168.1.57",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -44,7 +41,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65504,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []
@ -57,11 +57,8 @@
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.3.51",
"bgpPeerRemoteAddr": "95.43.23.53",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 6,
@ -71,7 +68,10 @@
"bgpPeerInUpdateElapsedTime": 259280,
"context_name": "",
"bgpLocalAs": 65504,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -79,11 +79,8 @@
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.2.58",
"bgpPeerRemoteAddr": "192.168.1.57",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 87,
@ -93,7 +90,10 @@
"bgpPeerInUpdateElapsedTime": 22497219,
"context_name": "",
"bgpLocalAs": 65504,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []

View File

@ -3869,11 +3869,8 @@
"bgpPeerRemoteAs": 65000,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "172.16.200.1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -3883,7 +3880,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65200,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []
@ -3896,11 +3896,8 @@
"bgpPeerRemoteAs": 65000,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "172.16.200.2",
"bgpPeerRemoteAddr": "172.16.200.1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 6,
"bgpPeerOutUpdates": 1,
@ -3910,7 +3907,10 @@
"bgpPeerInUpdateElapsedTime": 164352,
"context_name": "",
"bgpLocalAs": 65200,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []

View File

@ -8,11 +8,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.168.99.20",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -22,7 +19,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -30,11 +30,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.168.99.25",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -44,7 +41,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": [
@ -154,11 +154,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.99.21",
"bgpPeerRemoteAddr": "192.168.99.20",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 5,
"bgpPeerOutUpdates": 4,
@ -168,7 +165,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -176,11 +176,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.99.21",
"bgpPeerRemoteAddr": "192.168.99.25",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 8,
"bgpPeerOutUpdates": 4,
@ -190,7 +187,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": [

View File

@ -8,11 +8,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.44.32.13",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -22,7 +19,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -30,11 +30,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.45.63.161",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -44,7 +41,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -52,11 +52,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e1:000d",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -66,7 +63,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -74,11 +74,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e2:00a1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -88,7 +85,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": [
@ -198,11 +198,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.44.32.14",
"bgpPeerRemoteAddr": "10.44.32.13",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 4,
@ -212,7 +209,10 @@
"bgpPeerInUpdateElapsedTime": 8491,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -220,11 +220,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.45.63.162",
"bgpPeerRemoteAddr": "10.45.63.161",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 4,
@ -234,7 +231,10 @@
"bgpPeerInUpdateElapsedTime": 8491,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -242,11 +242,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "2001:0db8:85a3:0000:341a:8a2e:03e1:000e",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e1:000d",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 3,
@ -256,7 +253,10 @@
"bgpPeerInUpdateElapsedTime": 8486,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -264,11 +264,8 @@
"bgpPeerRemoteAs": 65083,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "2001:0db8:85a3:0000:341a:8a2e:03e2:00a2",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e2:00a1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 3,
@ -278,7 +275,10 @@
"bgpPeerInUpdateElapsedTime": 8486,
"context_name": "",
"bgpLocalAs": 65031,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": [

View File

@ -33430,7 +33430,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.44.32.13",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -33452,7 +33452,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.45.63.161",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -33474,7 +33474,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e1:000d",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -33496,7 +33496,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e2:00a1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -33620,7 +33620,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.44.32.14",
"bgpPeerRemoteAddr": "10.44.32.13",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 4,
@ -33642,7 +33642,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.45.63.162",
"bgpPeerRemoteAddr": "10.45.63.161",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 4,
@ -33664,7 +33664,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "2001:0db8:85a3:0000:341a:8a2e:03e1:000e",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e1:000d",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 3,
@ -33686,7 +33686,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "2001:0db8:85a3:0000:341a:8a2e:03e2:00a2",
"bgpPeerRemoteAddr": "2001:0db8:85a3:0000:341a:8a2e:03e2:00a1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 3,

File diff suppressed because it is too large Load Diff

View File

@ -22821,7 +22821,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.246.0.3",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -22843,7 +22843,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.246.0.4",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -22967,7 +22967,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": "hold time expired",
"bgpLocalAddr": "10.246.0.1",
"bgpPeerRemoteAddr": "10.246.0.3",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 45,
"bgpPeerOutUpdates": 90,
@ -22989,7 +22989,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.246.0.4",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,

View File

@ -20998,7 +20998,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.246.0.1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -21020,7 +21020,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.246.0.4",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -21144,7 +21144,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.246.0.3",
"bgpPeerRemoteAddr": "10.246.0.1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 68,
"bgpPeerOutUpdates": 31,
@ -21166,7 +21166,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "10.246.0.4",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,

View File

@ -24695,11 +24695,8 @@
"bgpPeerRemoteAs": 23456,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "172.31.31.50",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24709,7 +24706,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24717,11 +24717,8 @@
"bgpPeerRemoteAs": 65065,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.0.2.4",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24731,7 +24728,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24739,11 +24739,8 @@
"bgpPeerRemoteAs": 65065,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.0.2.5",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24753,7 +24750,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24761,11 +24761,8 @@
"bgpPeerRemoteAs": 23456,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.0.2.6",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24775,7 +24772,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24783,11 +24783,8 @@
"bgpPeerRemoteAs": 23456,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.0.2.7",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24797,7 +24794,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []
@ -24810,11 +24810,8 @@
"bgpPeerRemoteAs": 23456,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "172.31.31.20",
"bgpPeerRemoteAddr": "172.31.31.50",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 26,
"bgpPeerOutUpdates": 16,
@ -24824,7 +24821,10 @@
"bgpPeerInUpdateElapsedTime": 836,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24832,11 +24832,8 @@
"bgpPeerRemoteAs": 65065,
"bgpPeerState": "connect",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.0.2.5",
"bgpPeerRemoteAddr": "192.0.2.4",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24846,7 +24843,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24854,11 +24854,8 @@
"bgpPeerRemoteAs": 65065,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.0.2.5",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24868,7 +24865,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24876,11 +24876,8 @@
"bgpPeerRemoteAs": 23456,
"bgpPeerState": "connect",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.0.2.5",
"bgpPeerRemoteAddr": "192.0.2.6",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24890,7 +24887,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -24898,11 +24898,8 @@
"bgpPeerRemoteAs": 23456,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "192.0.2.7",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -24912,7 +24909,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65065,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []

View File

@ -29,11 +29,8 @@
"bgpPeerRemoteAs": 65502,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.1.4",
"bgpPeerRemoteAddr": "192.168.1.4",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -43,7 +40,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65501,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -51,11 +51,8 @@
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.1.186",
"bgpPeerRemoteAddr": "192.168.1.186",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -65,7 +62,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65501,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -73,11 +73,8 @@
"bgpPeerRemoteAs": 65504,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.1.226",
"bgpPeerRemoteAddr": "192.168.1.226",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -87,7 +84,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 65501,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []
@ -100,11 +100,8 @@
"bgpPeerRemoteAs": 65502,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.1.43",
"bgpPeerRemoteAddr": "192.168.1.4",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 10526,
"bgpPeerOutUpdates": 531,
@ -114,7 +111,10 @@
"bgpPeerInUpdateElapsedTime": 21748,
"context_name": "",
"bgpLocalAs": 65501,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -122,11 +122,8 @@
"bgpPeerRemoteAs": 65503,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.1.185",
"bgpPeerRemoteAddr": "192.168.1.186",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 1,
"bgpPeerOutUpdates": 1,
@ -136,7 +133,10 @@
"bgpPeerInUpdateElapsedTime": 785386,
"context_name": "",
"bgpLocalAs": 65501,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -144,11 +144,8 @@
"bgpPeerRemoteAs": 65504,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "start",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.1.225",
"bgpPeerRemoteAddr": "192.168.1.226",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 3,
"bgpPeerOutUpdates": 1,
@ -158,7 +155,10 @@
"bgpPeerInUpdateElapsedTime": 774040,
"context_name": "",
"bgpLocalAs": 65501,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": []

View File

@ -8,11 +8,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.99.24",
"bgpPeerRemoteAddr": "192.168.99.25",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -22,7 +19,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -30,11 +30,8 @@
"bgpPeerRemoteAs": 65000,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.99.24",
"bgpPeerRemoteAddr": "192.168.99.34",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -44,7 +41,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -52,11 +52,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "idle",
"bgpPeerAdminStatus": "stop",
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "fd00:28:1:1::1:4",
"bgpPeerRemoteAddr": "fd00:28:1:1::1:5",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -66,7 +63,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": [
@ -296,11 +296,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "running",
"bgpPeerLastErrorCode": 0,
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.99.24",
"bgpPeerRemoteAddr": "192.168.99.25",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 56,
"bgpPeerOutUpdates": 1,
@ -310,7 +307,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -318,11 +318,8 @@
"bgpPeerRemoteAs": 65000,
"bgpPeerState": "established",
"bgpPeerAdminStatus": "running",
"bgpPeerLastErrorCode": 0,
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "192.168.99.24",
"bgpPeerRemoteAddr": "192.168.99.34",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 6,
"bgpPeerOutUpdates": 0,
@ -332,7 +329,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
},
{
"astext": "",
@ -340,11 +340,8 @@
"bgpPeerRemoteAs": 64513,
"bgpPeerState": "active",
"bgpPeerAdminStatus": "running",
"bgpPeerLastErrorCode": 0,
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "fd00:0028:0001:0001:0000:0000:0001:0004",
"bgpPeerRemoteAddr": "fd00:28:1:1::1:5",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -354,7 +351,10 @@
"bgpPeerInUpdateElapsedTime": 0,
"context_name": "",
"bgpLocalAs": 64513,
"vrfLocalAs": null
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
}
],
"bgpPeers_cbgp": [

View File

@ -13485,8 +13485,8 @@
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.14",
"bgpPeerRemoteAddr": "10.0.251.13",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -13507,8 +13507,8 @@
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.18",
"bgpPeerRemoteAddr": "10.0.251.17",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -13529,8 +13529,8 @@
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.26",
"bgpPeerRemoteAddr": "10.0.251.25",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -13551,8 +13551,8 @@
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.30",
"bgpPeerRemoteAddr": "10.0.251.29",
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -13676,7 +13676,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.14",
"bgpPeerRemoteAddr": "10.0.251.13",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 2951,
"bgpPeerOutUpdates": 1348,
@ -13698,7 +13698,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.18",
"bgpPeerRemoteAddr": "10.0.251.17",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 15434,
"bgpPeerOutUpdates": 7161,
@ -13720,7 +13720,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.26",
"bgpPeerRemoteAddr": "10.0.251.25",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 7539,
"bgpPeerOutUpdates": 7716,
@ -13742,7 +13742,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "10.0.251.30",
"bgpPeerRemoteAddr": "10.0.251.29",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 272,
"bgpPeerOutUpdates": 278,

View File

@ -33,7 +33,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "169.254.1.1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -55,7 +55,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "169.254.1.9",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -82,7 +82,7 @@
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "169.254.1.2",
"bgpPeerRemoteAddr": "169.254.1.1",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 6,
"bgpPeerOutUpdates": 14,
@ -104,7 +104,7 @@
"bgpPeerLastErrorSubCode": 2,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "169.254.1.10",
"bgpPeerRemoteAddr": "169.254.1.9",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 6,
"bgpPeerOutUpdates": 15,

View File

@ -36268,7 +36268,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "2.2.2.2",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -36290,7 +36290,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "5.5.5.5",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -36317,7 +36317,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "1.1.1.1",
"bgpPeerRemoteAddr": "2.2.2.2",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 14,
"bgpPeerOutUpdates": 5,
@ -36339,7 +36339,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "1.1.1.1",
"bgpPeerRemoteAddr": "5.5.5.5",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 15,
"bgpPeerOutUpdates": 5,

View File

@ -14778,7 +14778,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "2.2.2.2",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -14800,7 +14800,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "0.0.0.0",
"bgpPeerRemoteAddr": "5.5.5.5",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 0,
"bgpPeerOutUpdates": 0,
@ -14827,7 +14827,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "3.3.3.3",
"bgpPeerRemoteAddr": "2.2.2.2",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 2,
"bgpPeerOutUpdates": 0,
@ -14849,7 +14849,7 @@
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null,
"bgpLocalAddr": "3.3.3.3",
"bgpPeerRemoteAddr": "5.5.5.5",
"bgpPeerRemoteAddr": "0.0.0.0",
"bgpPeerDescr": "",
"bgpPeerInUpdates": 2,
"bgpPeerOutUpdates": 0,