diff --git a/napalm/ios/ios.py b/napalm/ios/ios.py index ba990a746..03c8abcdf 100644 --- a/napalm/ios/ios.py +++ b/napalm/ios/ios.py @@ -1290,6 +1290,9 @@ def get_bgp_neighbors(self): {'regexp': re.compile(r'^\s+BGP version \d+, remote router ID ' r'(?P{})'.format(IPV4_ADDR_REGEX)), 'record': False}, + # Capture state + {'regexp': re.compile(r'^\s+BGP state = (?P\w+)'), + 'record': False}, # Capture AFI and SAFI names, e.g.: # For address family: IPv4 Unicast {'regexp': re.compile(r'^\s+For address family: (?P\S+) '), @@ -1397,8 +1400,8 @@ def get_bgp_neighbors(self): # parse uptime value uptime = self.bgp_time_conversion(entry['uptime']) - # Uptime should be -1 if BGP session not up - is_up = True if uptime >= 0 else False + # BGP is up if state is Established + is_up = 'Established' in neighbor_entry['state'] # check whether session is up for address family and get prefix count try: @@ -1422,6 +1425,7 @@ def get_bgp_neighbors(self): else: received_prefixes = -1 sent_prefixes = -1 + uptime = -1 # get description try: diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/572/expected_result.json b/test/ios/mocked_data/test_get_bgp_neighbors/572/expected_result.json deleted file mode 100644 index 6b5093ddf..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/572/expected_result.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "global": { - "router_id": "192.168.0.1", - "peers": { - "192.168.0.2": { - "is_enabled": true, - "uptime": -1, - "remote_as": 65001, - "description": "", - "remote_id": "0.0.0.0", - "local_as": 65000, - "is_up": false, - "address_family": { - "ipv4": { - "sent_prefixes": -1, - "accepted_prefixes": -1, - "received_prefixes": -1 - } - } - }, - "192.168.0.3": { - "is_enabled": true, - "uptime": -1, - "remote_as": 65010, - "description": "", - "remote_id": "192.168.0.3", - "local_as": 65000, - "is_up": false, - "address_family": { - "ipv4": { - "sent_prefixes": -1, - "accepted_prefixes": -1, - "received_prefixes": -1 - } - } - }, - "2001:1:1:1:1:1:1:2": { - "is_enabled": true, - "uptime": 50, - "remote_as": 65010, - "description":"", - "remote_id": "192.168.0.3", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv6": { - "sent_prefixes": 0, - "accepted_prefixes": 1, - "received_prefixes": 1 - } - } - }, - "2001:1:1:1::2": { - "is_enabled": true, - "uptime": 50, - "remote_as": 65010, - "description":"", - "remote_id": "192.168.0.3", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv6": { - "sent_prefixes": 0, - "accepted_prefixes": 1, - "received_prefixes": 1 - } - } - } - } - } -} diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_all_summary.txt b/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_all_summary.txt deleted file mode 100644 index 643d88748..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_all_summary.txt +++ /dev/null @@ -1,26 +0,0 @@ -For address family: IPv4 Unicast -BGP router identifier 192.168.0.1, local AS number 65000 -BGP table version is 1, main routing table version 1 - -Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd -192.168.0.2 4 65001 0 0 1 0 0 never Idle -192.168.0.3 4 65010 0 0 1 0 0 never Active - -For address family: IPv6 Unicast -BGP router identifier 192.168.0.1, local AS number 65000 -BGP table version is 2, main routing table version 2 -1 network entries using 168 bytes of memory -1 path entries using 108 bytes of memory -1/1 BGP path/bestpath attribute entries using 160 bytes of memory -2 BGP AS-PATH entries using 48 bytes of memory -1 BGP community entries using 24 bytes of memory -0 BGP route-map cache entries using 0 bytes of memory -0 BGP filter-list cache entries using 0 bytes of memory -BGP using 508 total bytes of memory -BGP activity 23/10 prefixes, 34/15 paths, scan interval 60 secs - -Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd -2001:1:1:1:1:1:1:2 - 4 65010 5 4 2 0 0 00:00:50 1 -2001:1:1:1::2 - 4 65010 5 4 2 0 0 00:00:50 1 diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_ipv4_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_ipv4_unicast_neighbors.txt deleted file mode 100644 index 95ad31fe9..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_ipv4_unicast_neighbors.txt +++ /dev/null @@ -1,25 +0,0 @@ -BGP neighbor is 192.168.0.2, remote AS 65001, internal link - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 0.0.0.0 - - For address family: IPv4 Unicast - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Total: 0 0 - -BGP neighbor is 192.168.0.3, remote AS 65010, internal link - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 192.168.0.3 - - For address family: IPv4 Unicast - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Total: 0 0 diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_ipv6_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_ipv6_unicast_neighbors.txt deleted file mode 100644 index c1a239f4f..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/572/show_bgp_ipv6_unicast_neighbors.txt +++ /dev/null @@ -1,226 +0,0 @@ -BGP neighbor is 2001:1:1:1:1:1:1:2, remote AS 65002, external link - BGP version 4, remote router ID 192.168.0.3 - BGP state = Established, up for 00:01:05 - Last read 00:00:17, last write 00:00:06, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv6 Unicast: advertised and received - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 1 2 - Keepalives: 3 2 - Route Refresh: 0 0 - Total: 5 5 - Do log neighbor state changes (via global configuration) - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv6 Unicast - Session: 2001:1:1:1:1:1:1:2 - BGP table version 3, neighbor version 2/3 - Output queue size : 0 - Index 1, Advertise bit 0 - 1 update-group member - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 1 (Consumes 108 bytes) - Prefixes Total: 0 1 - Implicit Withdraw: 0 0 - Explicit Withdraw: 0 0 - Used as bestpath: n/a 1 - Used as multipath: n/a 0 - Used as secondary: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Bestpath from this peer: 1 n/a - Total: 1 0 - Number of NLRIs in the update sent: max 0, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: never - Last Sent Refresh End-of-rib: never - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 0 0 - Refresh End-of-RIB 0 0 - - Address tracking is disabled - Connections established 1; dropped 0 - Last reset never - External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) - Interface associated: GigabitEthernet0/1 (peering address in same link) - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 -Local host: 2001:1:1:1:1:1:1:1, Local port: 49709 -Foreign host: 2001:1:1:1:1:1:1:2, Foreign port: 179 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x322C4ACE): -Timer Starts Wakeups Next -Retrans 5 0 0x0 -TimeWait 0 0 0x0 -AckHold 4 1 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 1 0 0x3234743C -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 3806976362 snduna: 3806976506 sndnxt: 3806976506 -irs: 2121814263 rcvnxt: 2121814488 - -sndwnd: 16241 scale: 0 maxrcvwnd: 16384 -rcvwnd: 16160 scale: 0 delrcvwnd: 224 - -SRTT: 487 ms, RTTO: 3168 ms, RTV: 2681 ms, KRTT: 0 ms -minRTT: 5 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: 65110 ms, Sent idletime: 6146 ms, Receive idletime: 5943 ms -Status Flags: active open -Option Flags: nagle, path mtu capable -IP Precedence value : 6 - -Datagrams (max data segment is 1440 bytes): -Rcvd: 10 (out of order: 0), with data: 5, total data bytes: 224 -Sent: 10 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 10, total data bytes: 551 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x0CD913A4 FREE - -BGP neighbor is 2001:1:1:1::2, remote AS 65002, external link - BGP version 4, remote router ID 192.168.0.3 - BGP state = Established, up for 00:01:05 - Last read 00:00:17, last write 00:00:06, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv6 Unicast: advertised and received - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 1 2 - Keepalives: 3 2 - Route Refresh: 0 0 - Total: 5 5 - Do log neighbor state changes (via global configuration) - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv6 Unicast - Session: 2001:1:1:1::2 - BGP table version 3, neighbor version 2/3 - Output queue size : 0 - Index 1, Advertise bit 0 - 1 update-group member - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 1 (Consumes 108 bytes) - Prefixes Total: 0 1 - Implicit Withdraw: 0 0 - Explicit Withdraw: 0 0 - Used as bestpath: n/a 1 - Used as multipath: n/a 0 - Used as secondary: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Bestpath from this peer: 1 n/a - Total: 1 0 - Number of NLRIs in the update sent: max 0, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: never - Last Sent Refresh End-of-rib: never - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 0 0 - Refresh End-of-RIB 0 0 - - Address tracking is disabled - Connections established 1; dropped 0 - Last reset never - External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) - Interface associated: GigabitEthernet0/1 (peering address in same link) - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 -Local host: 2001:1:1:1::1, Local port: 49709 -Foreign host: 2001:1:1:1::2, Foreign port: 179 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x322C4ACE): -Timer Starts Wakeups Next -Retrans 5 0 0x0 -TimeWait 0 0 0x0 -AckHold 4 1 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 1 0 0x3234743C -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 3806976362 snduna: 3806976506 sndnxt: 3806976506 -irs: 2121814263 rcvnxt: 2121814488 - -sndwnd: 16241 scale: 0 maxrcvwnd: 16384 -rcvwnd: 16160 scale: 0 delrcvwnd: 224 - -SRTT: 487 ms, RTTO: 3168 ms, RTV: 2681 ms, KRTT: 0 ms -minRTT: 5 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: 65110 ms, Sent idletime: 6146 ms, Receive idletime: 5943 ms -Status Flags: active open -Option Flags: nagle, path mtu capable -IP Precedence value : 6 - -Datagrams (max data segment is 1440 bytes): -Rcvd: 10 (out of order: 0), with data: 5, total data bytes: 224 -Sent: 10 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 10, total data bytes: 551 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x0CD913A4 FREE - diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/normal/expected_result.json b/test/ios/mocked_data/test_get_bgp_neighbors/normal/expected_result.json index 332dacf98..66a0e6055 100644 --- a/test/ios/mocked_data/test_get_bgp_neighbors/normal/expected_result.json +++ b/test/ios/mocked_data/test_get_bgp_neighbors/normal/expected_result.json @@ -1,12 +1,70 @@ { "global": { - "router_id": "192.168.0.1", + "router_id": "10.0.1.1", "peers": { + "10.0.0.2": { + "is_enabled": true, + "uptime": 4838400, + "remote_as": 65000, + "description": "internal-2", + "remote_id": "10.0.1.2", + "local_as": 65000, + "is_up": true, + "address_family": { + "ipv4": { + "sent_prefixes": 637213, + "accepted_prefixes": 3142, + "received_prefixes": 3142 + }, + "ipv6": { + "sent_prefixes": 36714, + "accepted_prefixes": 148, + "received_prefixes": 148 + } + } + }, + "10.0.0.3": { + "is_enabled": true, + "uptime": 133200, + "remote_as": 65000, + "description": "internal-3", + "remote_id": "10.0.1.3", + "local_as": 65000, + "is_up": true, + "address_family": { + "ipv4": { + "sent_prefixes": 966, + "accepted_prefixes": 1, + "received_prefixes": 1 + }, + "ipv6": { + "sent_prefixes": 105, + "accepted_prefixes": 2, + "received_prefixes": 2 + } + } + }, + "192.168.0.1": { + "is_enabled": true, + "uptime": 3888000, + "remote_as": 65001, + "description": "external-1", + "remote_id": "192.168.1.1", + "local_as": 65000, + "is_up": true, + "address_family": { + "ipv4": { + "sent_prefixes": 709, + "accepted_prefixes": 0, + "received_prefixes": 0 + } + } + }, "192.168.0.2": { "is_enabled": true, "uptime": -1, - "remote_as": 65001, - "description": "", + "remote_as": 65002, + "description": "external-2", "remote_id": "0.0.0.0", "local_as": 65000, "is_up": false, @@ -19,11 +77,11 @@ } }, "192.168.0.3": { - "is_enabled": true, + "is_enabled": false, "uptime": -1, - "remote_as": 65010, - "description": "", - "remote_id": "192.168.0.3", + "remote_as": 65003, + "description": "external-3", + "remote_id": "0.0.0.0", "local_as": 65000, "is_up": false, "address_family": { @@ -33,6 +91,86 @@ "received_prefixes": -1 } } + }, + "192.168.0.4": { + "is_enabled": true, + "uptime": 16243200, + "remote_as": 65004, + "description": "external-4", + "remote_id": "192.168.1.4", + "local_as": 65000, + "is_up": true, + "address_family": { + "ipv4": { + "sent_prefixes": 213, + "accepted_prefixes": 629700, + "received_prefixes": 629700 + } + } + }, + "2001:db8::1": { + "is_enabled": true, + "uptime": 3456000, + "remote_as": 65001, + "description": "external-1", + "remote_id": "192.168.1.1", + "local_as": 65000, + "is_up": true, + "address_family": { + "ipv6": { + "sent_prefixes": 35, + "accepted_prefixes": 0, + "received_prefixes": 0 + } + } + }, + "2001:db8::2": { + "is_enabled": true, + "uptime": 10713600, + "remote_as": 65002, + "description": "external-2", + "remote_id": "192.168.1.2", + "local_as": 65000, + "is_up": true, + "address_family": { + "ipv6": { + "sent_prefixes": 36, + "accepted_prefixes": 1, + "received_prefixes": 1 + } + } + }, + "2001:db8::3": { + "is_enabled": false, + "uptime": -1, + "remote_as": 65003, + "description": "external-3", + "remote_id": "0.0.0.0", + "local_as": 65000, + "is_up": false, + "address_family": { + "ipv6": { + "sent_prefixes": -1, + "accepted_prefixes": -1, + "received_prefixes": -1 + } + } + }, + "2001:db8::4": { + "is_enabled": true, + "uptime": 16243200, + "remote_as": 65004, + "description": "external-4", + "remote_id": "192.168.1.4", + "local_as": 65000, + "is_up": true, + "address_family": { + "ipv6": { + "sent_prefixes": 29, + "accepted_prefixes": 36387, + "received_prefixes": 36387 + } + } } } } diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_all_summary.txt b/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_all_summary.txt index 6e4bf1f8d..7b8b6c596 100644 --- a/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_all_summary.txt +++ b/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_all_summary.txt @@ -1,7 +1,53 @@ For address family: IPv4 Unicast -BGP router identifier 192.168.0.1, local AS number 65000 -BGP table version is 1, main routing table version 1 +BGP router identifier 10.0.1.1, local AS number 65000 +BGP table version is 1011343585, main routing table version 1011343585 +647707 network entries using 160631336 bytes of memory +5657305 path entries using 678876600 bytes of memory +80471 multipath network entries and 160942 multipath paths +1000955/108586 BGP path/bestpath attribute entries using 248236840 bytes of memory +70 BGP rrinfo entries using 2800 bytes of memory +699319 BGP AS-PATH entries using 33422320 bytes of memory +53834 BGP community entries using 10873404 bytes of memory +212 BGP extended community entries using 7834 bytes of memory +6267 BGP route-map cache entries using 401088 bytes of memory +236 BGP filter-list cache entries using 7552 bytes of memory +BGP using 1132459774 total bytes of memory +13548 received paths for inbound soft reconfiguration +BGP activity 8526435/7841854 prefixes, 408323088/402326018 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd -192.168.0.2 4 65001 0 0 1 0 0 never Idle -192.168.0.3 4 65010 0 0 1 0 0 never Active +10.0.0.2 4 65000 1336020 64337701 1011343614 0 0 8w0d 3143 +192.168.0.1 4 65001 71798 138808 1011343239 0 0 6w3d 0 +192.168.0.2 4 65002 0 0 1 0 0 never Active +192.168.0.3 4 65003 0 0 1 0 0 never Idle (Admin) +10.0.0.3 4 65000 2497 4399 1011343631 0 0 1d13h 1 +192.168.0.4 4 65004 46122421 675536 1011343239 0 0 26w6d 629783 + +For address family: IPv6 Unicast +BGP router identifier 10.0.1.1, local AS number 65000 +BGP table version is 155362951, main routing table version 155362951 +36697 network entries using 9981584 bytes of memory +339404 path entries using 48874176 bytes of memory +17496 multipath network entries and 34992 multipath paths +150389/17120 BGP path/bestpath attribute entries using 37296472 bytes of memory +70 BGP rrinfo entries using 2800 bytes of memory +699320 BGP AS-PATH entries using 33422380 bytes of memory +53834 BGP community entries using 10873404 bytes of memory +212 BGP extended community entries using 7834 bytes of memory +6274 BGP route-map cache entries using 401536 bytes of memory +236 BGP filter-list cache entries using 7552 bytes of memory +BGP using 140867738 total bytes of memory +718 received paths for inbound soft reconfiguration +BGP activity 8526435/7841854 prefixes, 408323098/402326025 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +2001:DB8::4 + 4 65004 9900690 612449 155362939 0 0 26w6d 36391 +2001:DB8::1 + 4 65001 63768 71032 155362939 0 0 5w5d 0 +2001:DB8::2 + 4 65002 197924 214323 155362939 0 0 17w5d 1 +2001:DB8::3 + 4 65003 0 0 1 0 0 never Idle (Admin) +10.0.0.2 4 65000 1336020 64337708 155362951 0 0 8w0d 148 +10.0.0.3 4 65000 2497 4399 155362952 0 0 1d13h 2 diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv4_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv4_unicast_neighbors.txt index 95ad31fe9..8263637a6 100644 --- a/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv4_unicast_neighbors.txt +++ b/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv4_unicast_neighbors.txt @@ -1,25 +1,714 @@ -BGP neighbor is 192.168.0.2, remote AS 65001, internal link +BGP neighbor is 10.0.0.2, remote AS 65000, internal link + Description: internal-2 Inherits from template iBGP for session parameters + BGP version 4, remote router ID 10.0.1.2 + BGP state = Established, up for 8w0d + Last read 00:00:08, last write 00:00:01, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + ipv4 MPLS Label capability: advertised and received + Address family IPv6 Unicast: advertised and received + ipv6 MPLS Label capability: advertised and received + Address family VPNv4 Unicast: advertised and received + Address family VPNv6 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 64397066 1297011 + Keepalives: 11 39187 + Route Refresh: 0 0 + Total: 64397086 1336207 + Default minimum time between advertisement runs is 0 seconds + + For address family: IPv4 Unicast + Additional Paths send capability: advertised and received + Additional Paths receive capability: advertised and received + BGP diverse-paths computation is enabled + Session: 10.0.0.2 + BGP table version 1011767359, neighbor version 1011767359/0 + Output queue size : 0 + Index 2, Advertise bit 1 + 2 update-group member + Inherits from template IPv4-iBGP + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv4-iBGP-In + Route map for outgoing advertisements is IPv4-iBGP-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 637213 3142 (Consumes 377040 bytes) + Prefixes Total: 503373284 4280216 + Implicit Withdraw: 438785370 1563479 + Explicit Withdraw: 62043863 2713595 + Used as bestpath: n/a 554 + Used as multipath: n/a 1 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Bestpath from this peer: 4724999 n/a + Bestpath from iBGP peer: 1405277470 n/a + Invalid Path: 59 n/a + Gateway Metric: 82957 n/a + Total: 1410085485 0 + Number of NLRIs in the update sent: max 561, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 8w0d + Last Sent Refresh End-of-rib: 8w0d + Refresh-Out took 0 seconds + Last Received Refresh Start-of-rib: 8w0d + Last Received Refresh End-of-rib: 8w0d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + For address family: IPv6 Unicast + Additional Paths send capability: advertised and received + Additional Paths receive capability: advertised and received + BGP diverse-paths computation is enabled + Session: 10.0.0.2 + BGP table version 155372848, neighbor version 155372848/0 + Output queue size : 0 + Index 2, Advertise bit 1 + 2 update-group member + Inherits from template IPv6-iBGP + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv6-iBGP-In + Route map for outgoing advertisements is IPv6-iBGP-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 36714 148 (Consumes 21312 bytes) + Prefixes Total: 53843814 359361 + Implicit Withdraw: 46765228 320114 + Explicit Withdraw: 6992226 39099 + Used as bestpath: n/a 56 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Bestpath from this peer: 114918 n/a + Bestpath from iBGP peer: 234815725 n/a + Invalid Path: 68 n/a + Gateway Metric: 572534 n/a + Total: 235503245 0 + Number of NLRIs in the update sent: max 322, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 8w0d + Last Sent Refresh End-of-rib: 8w0d + Refresh-Out took 0 seconds + Last Received Refresh Start-of-rib: 8w0d + Last Received Refresh End-of-rib: 8w0d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + Address tracking is enabled, the RIB does have a route to 10.0.0.2 + Connections established 3; dropped 2 + Last reset 8w0d, due to Peer closed the session + Transport(tcp) path-mtu-discovery is disabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 +Local host: 10.0.0.1, Local port: 52893 +Foreign host: 10.0.0.2, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBB10F9B): +Timer Starts Wakeups Next +Retrans 20915366 203 0x0 +TimeWait 0 0 0x0 +AckHold 520221 104211 0x0 +SendWnd 4778 836 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 0 0 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 896379848 snduna: 1690502812 sndnxt: 1690502812 +irs: 2469707680 rcvnxt: 2649635682 + +sndwnd: 15974 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16384 scale: 0 delrcvwnd: 0 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 316 ms, Receive idletime: 115 ms +Status Flags: active open +Option Flags: nagle, md5, win-scale +IP Precedence value : 6 + +Datagrams (max data segment is 536 bytes): +Rcvd: 29247474 (out of order: 0), with data: 673110, total data bytes: 179928001 +Sent: 34406790 (retransmit: 4981, fastretransmit: 77, partialack: 30, Second Congestion: 10), with data: 33933489, total data bytes: 794134685 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F55EF48E9C8 FREE + +BGP neighbor is 10.0.0.3, remote AS 65000, internal link + Description: internal-3 + Inherits from template iBGP for session parameters + BGP version 4, remote router ID 10.0.1.3 + BGP state = Established, up for 1d13h + Last read 00:00:28, last write 00:00:54, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + ipv4 MPLS Label capability: advertised + Address family IPv6 Unicast: advertised and received + ipv6 MPLS Label capability: advertised and received + Address family VPNv4 Unicast: advertised and received + Address family VPNv6 Unicast: advertised + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 2092 4 + Keepalives: 2330 2507 + Route Refresh: 0 0 + Total: 4429 2516 + Default minimum time between advertisement runs is 0 seconds + + For address family: IPv4 Unicast + Additional Paths send capability: advertised + Additional Paths receive capability: advertised + BGP diverse-paths computation is enabled + Session: 10.0.0.3 + BGP table version 1011765330, neighbor version 1011765330/0 + Output queue size : 0 + Index 3, Advertise bit 2 + Route-Reflector Client + 3 update-group member + Inherits from template IPv4-iBGP-RRC-Filtered + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Default information originate, default sent + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv4-iBGP-RRC-In + Route map for outgoing advertisements is IPv4-iBGP-RRC-Filtered-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 966 1 (Consumes 120 bytes) + Prefixes Total: 913863 1 + Implicit Withdraw: 890449 0 + Explicit Withdraw: 22448 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 920771424 n/a + Gateway Metric: 1184 n/a + Total: 920772608 0 + Number of NLRIs in the update sent: max 245, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 1d13h + Last Sent Refresh End-of-rib: 1d13h + Refresh-Out took 11 seconds + Last Received Refresh Start-of-rib: 1d13h + Last Received Refresh End-of-rib: 1d13h + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + For address family: IPv6 Unicast + Additional Paths send capability: advertised + Additional Paths receive capability: advertised + BGP diverse-paths computation is enabled + Session: 10.0.0.3 + BGP table version 155372669, neighbor version 155372669/0 + Output queue size : 0 + Index 3, Advertise bit 2 + Route-Reflector Client + 3 update-group member + Inherits from template IPv6-iBGP-RRC-Filtered + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Default information originate, default sent + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv6-iBGP-RRC-In + Route map for outgoing advertisements is IPv6-iBGP-RRC-Filtered-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 105 2 (Consumes 288 bytes) + Prefixes Total: 38914 2 + Implicit Withdraw: 38286 0 + Explicit Withdraw: 521 0 + Used as bestpath: n/a 2 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 142413667 n/a + Gateway Metric: 2713 n/a + Total: 142416380 0 + Number of NLRIs in the update sent: max 8, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 1d13h + Last Sent Refresh End-of-rib: 1d13h + Refresh-Out took 1 seconds + Last Received Refresh Start-of-rib: 1d13h + Last Received Refresh End-of-rib: 1d13h + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + Address tracking is enabled, the RIB does have a route to 10.0.0.3 + Connections established 9; dropped 8 + Last reset 1d14h, due to Active open failed + Transport(tcp) path-mtu-discovery is disabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 +Local host: 10.0.0.1, Local port: 179 +Foreign host: 10.0.0.3, Foreign port: 60910 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBB01426): +Timer Starts Wakeups Next +Retrans 3470 0 0x0 +TimeWait 0 0 0x0 +AckHold 2511 2409 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 0 0 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 4285461574 snduna: 4285768570 sndnxt: 4285768570 +irs: 3703487142 rcvnxt: 3703535245 + +sndwnd: 16308 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16213 scale: 0 delrcvwnd: 171 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 142 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 136639777 ms, Sent idletime: 30595 ms, Receive idletime: 30797 ms +Status Flags: passive open, gen tcbs +Option Flags: nagle, md5, Retrans timeout +IP Precedence value : 6 + +Datagrams (max data segment is 536 bytes): +Rcvd: 6174 (out of order: 0), with data: 2511, total data bytes: 48102 +Sent: 6517 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 4019, total data bytes: 306995 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F563489C768 FREE + +BGP neighbor is 192.168.0.1, remote AS 65001, external link + Description: external-1 + BGP version 4, remote router ID 192.168.1.1 + BGP state = Established, up for 6w3d + Last read 00:00:43, last write 00:00:31, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 76251 1 + Keepalives: 62580 71818 + Route Refresh: 0 0 + Total: 138842 71820 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + BGP diverse-paths computation is enabled + Session: 192.168.0.1 + BGP table version 1011770176, neighbor version 1011770151/1011770176 + Output queue size : 0 + Index 10, Advertise bit 5 + 10 update-group member + Inbound soft reconfiguration allowed + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 709 0 + Prefixes Total: 966800 0 + Implicit Withdraw: 957520 0 + Explicit Withdraw: 8516 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Invalid Path: 661 n/a + Other Policies: 1125559808 n/a + Total: 1125560469 0 + Number of NLRIs in the update sent: max 293, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: 6d06h + Last Sent Refresh End-of-rib: 6d06h + Refresh-Out took 28 seconds + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 5 0 + Refresh End-of-RIB 5 0 + + Address tracking is enabled, the RIB does have a route to 192.168.0.1 + Connections established 66; dropped 65 + Last reset 6w3d, due to Peer closed the session of session 1 + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 192.168.0.255, Local port: 179 +Foreign host: 192.168.0.1, Foreign port: 15629 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBB25520): +Timer Starts Wakeups Next +Retrans 84035 0 0x0 +TimeWait 0 0 0x0 +AckHold 71819 70483 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 0 0 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3473592633 snduna: 3482247432 sndnxt: 3482247432 +irs: 1667503031 rcvnxt: 1668867654 + +sndwnd: 15104 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15282 scale: 0 delrcvwnd: 1102 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -381143431 ms, Sent idletime: 32433 ms, Receive idletime: 32234 ms +Status Flags: passive open, gen tcbs +Option Flags: nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1460 bytes): +Rcvd: 156015 (out of order: 0), with data: 71820, total data bytes: 1364622 +Sent: 158958 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 87432, total data bytes: 8654798 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F56497DC820 FREE + +BGP neighbor is 192.168.0.2, remote AS 65002, external link + Description: external-2 BGP version 4, remote router ID 0.0.0.0 + BGP state = Idle + Neighbor sessions: + 0 active, is not multisession capable (disabled) + Stateful switchover support enabled: NO + Default minimum time between advertisement runs is 30 seconds For address family: IPv4 Unicast + BGP diverse-paths computation is enabled + BGP table version 1011774114, neighbor version 1/1011774114 + Output queue size : 0 + Index 0, Advertise bit 0 + Inbound soft reconfiguration allowed + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) Sent Rcvd Prefix activity: ---- ---- Prefixes Current: 0 0 + Prefixes Total: 0 0 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: -------- ------- Total: 0 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 -BGP neighbor is 192.168.0.3, remote AS 65010, internal link - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 192.168.0.3 + Address tracking is enabled, the RIB does have a route to 192.168.0.2 + Connections established 0; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled + No active TCP connection + +BGP neighbor is 192.168.0.3, remote AS 65003, external link + Description: external-3 + Administratively shut down + BGP version 4, remote router ID 0.0.0.0 + BGP state = Idle + Neighbor sessions: + 0 active, is not multisession capable (disabled) + Stateful switchover support enabled: NO + Default minimum time between advertisement runs is 30 seconds For address family: IPv4 Unicast + BGP diverse-paths computation is enabled + BGP table version 1011776536, neighbor version 1/1011776536 + Output queue size : 0 + Index 0, Advertise bit 0 + Inbound soft reconfiguration allowed + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) Sent Rcvd Prefix activity: ---- ---- Prefixes Current: 0 0 + Prefixes Total: 0 0 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 Outbound Inbound Local Policy Denied Prefixes: -------- ------- Total: 0 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 192.168.0.3 + Connections established 0; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled + No active TCP connection + +BGP neighbor is 192.168.0.4, remote AS 65004, external link + Description: external-4 + BGP version 4, remote router ID 192.168.1.4 + BGP state = Established, up for 26w6d + Last read 00:00:16, last write 00:00:06, hold time is 90, keepalive interval is 30 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 94267 45582204 + Keepalives: 581311 542483 + Route Refresh: 5 0 + Total: 675584 46124688 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + BGP diverse-paths computation is enabled + Session: 192.168.0.4 + BGP table version 1011778139, neighbor version 1011777194/1011778139 + Output queue size : 0 + Index 7, Advertise bit 6 + 7 update-group member + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 213 629700 (Consumes 75564360 bytes) + Prefixes Total: 146819 176197035 + Implicit Withdraw: 144646 165917923 + Explicit Withdraw: 1944 9649412 + Used as bestpath: n/a 242125 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + route-map: 0 216 + AS_PATH loop: n/a 27982 + Invalid Path: 84 n/a + Other Policies: 532046388 n/a + Total: 532046472 28198 + Number of NLRIs in the update sent: max 38, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 192.168.0.4 + Connections established 1; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 192.168.0.255, Local port: 43454 +Foreign host: 192.168.0.4, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBB4412D): +Timer Starts Wakeups Next +Retrans 623518 21 0x0 +TimeWait 0 0 0x0 +AckHold 7133269 3796094 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3757760147 snduna: 3777842987 sndnxt: 3777842987 +irs: 1999889369 rcvnxt: 3059255056 + +sndwnd: 32768 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15574 scale: 0 delrcvwnd: 810 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 538 ms, Receive idletime: 538 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5, win-scale +IP Precedence value : 6 + +Datagrams (max data segment is 1024 bytes): +Rcvd: 10279664 (out of order: 0), with data: 9658431, total data bytes: 1059365686 +Sent: 9885442 (retransmit: 21, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 624521, total data bytes: 20082839 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F563489C468 FREE diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv6_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv6_unicast_neighbors.txt index e69de29bb..03dae6dd8 100644 --- a/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv6_unicast_neighbors.txt +++ b/test/ios/mocked_data/test_get_bgp_neighbors/normal/show_bgp_ipv6_unicast_neighbors.txt @@ -0,0 +1,781 @@ +BGP neighbor is 2001:DB8::4, remote AS 65004, external link + Description: external-4 + BGP version 4, remote router ID 192.168.1.4 + BGP state = Established, up for 26w6d + Last read 00:00:08, last write 00:00:06, hold time is 90, keepalive interval is 30 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv6 Unicast: advertised and received + Enhanced Refresh Capability: advertised + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 24920 9358700 + Keepalives: 587603 542595 + Route Refresh: 5 0 + Total: 612529 9901296 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv6 Unicast + BGP diverse-paths computation is enabled + Session: 2001:DB8::4 + BGP table version 155381886, neighbor version 155381829/155381886 + Output queue size : 0 + Index 7, Advertise bit 6 + 7 update-group member + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 29 36387 (Consumes 5239728 bytes) + Prefixes Total: 31735 14393964 + Implicit Withdraw: 31411 12738659 + Explicit Withdraw: 294 1618918 + Used as bestpath: n/a 7345 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + route-map: 0 43 + AS_PATH loop: n/a 1412 + Invalid Path: 123 n/a + Other Policies: 60318322 n/a + Total: 60318445 1455 + Number of NLRIs in the update sent: max 6, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 2001:DB8::4 + Connections established 1; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 2001:DB8::FFFF, Local port: 63515 +Foreign host: 2001:DB8::4, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBC1F1B5): +Timer Starts Wakeups Next +Retrans 599358 24 0x0 +TimeWait 0 0 0x0 +AckHold 2318092 1555606 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 4104572424 snduna: 4118786023 sndnxt: 4118786023 +irs: 2551116579 rcvnxt: 3676792031 + +sndwnd: 32768 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16136 scale: 0 delrcvwnd: 248 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 8327 ms, Receive idletime: 8326 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5, win-scale +IP Precedence value : 6 + +Datagrams (max data segment is 1024 bytes): +Rcvd: 3290635 (out of order: 0), with data: 2691895, total data bytes: 1125675451 +Sent: 3229340 (retransmit: 24, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 3229340, total data bytes: 272560814 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F563489C528 FREE + +BGP neighbor is 2001:DB8::1, remote AS 65001, external link + Description: external-1 + BGP version 4, remote router ID 192.168.1.1 + BGP state = Established, up for 5w5d + Last read 00:00:46, last write 00:00:41, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: received + Address family IPv6 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 8886 1 + Keepalives: 62175 63807 + Route Refresh: 0 0 + Total: 71076 63811 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv6 Unicast + BGP diverse-paths computation is enabled + Session: 2001:DB8::1 + BGP table version 155383086, neighbor version 155383018/155383086 + Output queue size : 0 + Index 11, Advertise bit 7 + 11 update-group member + Inbound soft reconfiguration allowed + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 35 0 + Prefixes Total: 46516 0 + Implicit Withdraw: 46298 0 + Explicit Withdraw: 182 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Invalid Path: 125 n/a + Other Policies: 46771626 n/a + Total: 46771751 0 + Number of NLRIs in the update sent: max 4, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 2d14h + Last Sent Refresh End-of-rib: 2d14h + Refresh-Out took 20 seconds + Last Received Refresh Start-of-rib: 5w5d + Last Received Refresh End-of-rib: 5w5d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 7 1 + Refresh End-of-RIB 7 1 + + Address tracking is enabled, the RIB does have a route to 2001:DB8::1 + Connections established 1; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 2001:DB8::FFFF, Local port: 179 +Foreign host: 2001:DB8::1, Foreign port: 31164 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBC46FAF): +Timer Starts Wakeups Next +Retrans 65728 0 0x0 +TimeWait 0 0 0x0 +AckHold 63809 62677 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 0 0 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 2233405174 snduna: 2235753219 sndnxt: 2235753219 +irs: 62051492 rcvnxt: 63263966 + +sndwnd: 16118 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15434 scale: 0 delrcvwnd: 950 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -817389282 ms, Sent idletime: 43466 ms, Receive idletime: 43268 ms +Status Flags: passive open, gen tcbs +Option Flags: nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1440 bytes): +Rcvd: 129369 (out of order: 0), with data: 63810, total data bytes: 1212473 +Sent: 129531 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 129531, total data bytes: 7529292 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F55ECDDBFE0 FREE + +BGP neighbor is 2001:DB8::2, remote AS 65002, external link + Description: external-2 + BGP version 4, remote router ID 192.168.1.2 + BGP state = Established, up for 17w5d + Last read 00:00:47, last write 00:00:04, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv6 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 19791 38 + Keepalives: 194425 197930 + Route Refresh: 0 0 + Total: 214374 197971 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv6 Unicast + BGP diverse-paths computation is enabled + Session: 2001:DB8::2 + BGP table version 155384285, neighbor version 155384145/155384285 + Output queue size : 0 + Index 10, Advertise bit 5 + 10 update-group member + Inbound soft reconfiguration allowed + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 36 1 (Consumes 288 bytes) + Prefixes Total: 29444 30 + Implicit Withdraw: 29227 22 + Explicit Withdraw: 180 7 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 144 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Invalid Path: 83 n/a + Other Policies: 45301826 n/a + Total: 45301909 0 + Number of NLRIs in the update sent: max 6, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 2d14h + Last Sent Refresh End-of-rib: 2d14h + Refresh-Out took 21 seconds + Last Received Refresh Start-of-rib: 17w5d + Last Received Refresh End-of-rib: 17w5d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 81 1 + Refresh End-of-RIB 76 1 + + Address tracking is enabled, the RIB does have a route to 2001:DB8::2 + Connections established 3; dropped 2 + Last reset 17w5d, due to Active open failed + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 2001:DB8::FFFF, Local port: 52325 +Foreign host: 2001:DB8::2, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBC754B5): +Timer Starts Wakeups Next +Retrans 202476 13 0x0 +TimeWait 0 0 0x0 +AckHold 197961 194062 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 10731182 10731181 0x3CBC75565 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3950896997 snduna: 3957081312 sndnxt: 3957081312 +irs: 976212743 rcvnxt: 979976918 + +sndwnd: 15649 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15472 scale: 0 delrcvwnd: 912 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 6413 ms, Receive idletime: 6216 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5 +IP Precedence value : 6 + +Datagrams (max data segment is 1440 bytes): +Rcvd: 400468 (out of order: 0), with data: 197964, total data bytes: 3764174 +Sent: 400556 (retransmit: 13, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 400556, total data bytes: 38228810 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F55ECB3D1E0 FREE + +BGP neighbor is 2001:DB8::3, remote AS 65003, external link + Description: external-3 + Administratively shut down + BGP version 4, remote router ID 0.0.0.0 + BGP state = Idle + Neighbor sessions: + 0 active, is not multisession capable (disabled) + Stateful switchover support enabled: NO + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv6 Unicast + BGP diverse-paths computation is enabled + BGP table version 155389626, neighbor version 1/155389626 + Output queue size : 0 + Index 0, Advertise bit 0 + Inbound soft reconfiguration allowed + Private AS number removed from updates to this neighbor + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 0 + Prefixes Total: 0 0 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Total: 0 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 2001:DB8::3 + Connections established 0; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled + No active TCP connection + +BGP neighbor is 10.0.0.2, remote AS 65000, internal link + Description: internal-2 + Inherits from template iBGP for session parameters + BGP version 4, remote router ID 10.0.1.2 + BGP state = Established, up for 8w0d + Last read 00:00:08, last write 00:00:01, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + ipv4 MPLS Label capability: advertised and received + Address family IPv6 Unicast: advertised and received + ipv6 MPLS Label capability: advertised and received + Address family VPNv4 Unicast: advertised and received + Address family VPNv6 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 64397066 1297011 + Keepalives: 11 39187 + Route Refresh: 0 0 + Total: 64397086 1336207 + Default minimum time between advertisement runs is 0 seconds + + For address family: IPv4 Unicast + Additional Paths send capability: advertised and received + Additional Paths receive capability: advertised and received + BGP diverse-paths computation is enabled + Session: 10.0.0.2 + BGP table version 1011767359, neighbor version 1011767359/0 + Output queue size : 0 + Index 2, Advertise bit 1 + 2 update-group member + Inherits from template IPv4-iBGP + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv4-iBGP-In + Route map for outgoing advertisements is IPv4-iBGP-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 637213 3142 (Consumes 377040 bytes) + Prefixes Total: 503373284 4280216 + Implicit Withdraw: 438785370 1563479 + Explicit Withdraw: 62043863 2713595 + Used as bestpath: n/a 554 + Used as multipath: n/a 1 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Bestpath from this peer: 4724999 n/a + Bestpath from iBGP peer: 1405277470 n/a + Invalid Path: 59 n/a + Gateway Metric: 82957 n/a + Total: 1410085485 0 + Number of NLRIs in the update sent: max 561, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 8w0d + Last Sent Refresh End-of-rib: 8w0d + Refresh-Out took 0 seconds + Last Received Refresh Start-of-rib: 8w0d + Last Received Refresh End-of-rib: 8w0d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + For address family: IPv6 Unicast + Additional Paths send capability: advertised and received + Additional Paths receive capability: advertised and received + BGP diverse-paths computation is enabled + Session: 10.0.0.2 + BGP table version 155372848, neighbor version 155372848/0 + Output queue size : 0 + Index 2, Advertise bit 1 + 2 update-group member + Inherits from template IPv6-iBGP + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv6-iBGP-In + Route map for outgoing advertisements is IPv6-iBGP-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 36714 148 (Consumes 21312 bytes) + Prefixes Total: 53843814 359361 + Implicit Withdraw: 46765228 320114 + Explicit Withdraw: 6992226 39099 + Used as bestpath: n/a 56 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Bestpath from this peer: 114918 n/a + Bestpath from iBGP peer: 234815725 n/a + Invalid Path: 68 n/a + Gateway Metric: 572534 n/a + Total: 235503245 0 + Number of NLRIs in the update sent: max 322, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 8w0d + Last Sent Refresh End-of-rib: 8w0d + Refresh-Out took 0 seconds + Last Received Refresh Start-of-rib: 8w0d + Last Received Refresh End-of-rib: 8w0d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + Address tracking is enabled, the RIB does have a route to 10.0.0.2 + Connections established 3; dropped 2 + Last reset 8w0d, due to Peer closed the session + Transport(tcp) path-mtu-discovery is disabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 +Local host: 10.0.0.1, Local port: 52893 +Foreign host: 10.0.0.2, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBB10F9B): +Timer Starts Wakeups Next +Retrans 20915366 203 0x0 +TimeWait 0 0 0x0 +AckHold 520221 104211 0x0 +SendWnd 4778 836 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 0 0 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 896379848 snduna: 1690502812 sndnxt: 1690502812 +irs: 2469707680 rcvnxt: 2649635682 + +sndwnd: 15974 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16384 scale: 0 delrcvwnd: 0 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 316 ms, Receive idletime: 115 ms +Status Flags: active open +Option Flags: nagle, md5, win-scale +IP Precedence value : 6 + +Datagrams (max data segment is 536 bytes): +Rcvd: 29247474 (out of order: 0), with data: 673110, total data bytes: 179928001 +Sent: 34406790 (retransmit: 4981, fastretransmit: 77, partialack: 30, Second Congestion: 10), with data: 33933489, total data bytes: 794134685 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F55EF48E9C8 FREE + +BGP neighbor is 10.0.0.3, remote AS 65000, internal link + Description: internal-3 + Inherits from template iBGP for session parameters + BGP version 4, remote router ID 10.0.1.3 + BGP state = Established, up for 1d13h + Last read 00:00:28, last write 00:00:54, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + ipv4 MPLS Label capability: advertised + Address family IPv6 Unicast: advertised and received + ipv6 MPLS Label capability: advertised and received + Address family VPNv4 Unicast: advertised and received + Address family VPNv6 Unicast: advertised + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 2092 4 + Keepalives: 2330 2507 + Route Refresh: 0 0 + Total: 4429 2516 + Default minimum time between advertisement runs is 0 seconds + + For address family: IPv4 Unicast + Additional Paths send capability: advertised + Additional Paths receive capability: advertised + BGP diverse-paths computation is enabled + Session: 10.0.0.3 + BGP table version 1011765330, neighbor version 1011765330/0 + Output queue size : 0 + Index 3, Advertise bit 2 + Route-Reflector Client + 3 update-group member + Inherits from template IPv4-iBGP-RRC-Filtered + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Default information originate, default sent + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv4-iBGP-RRC-In + Route map for outgoing advertisements is IPv4-iBGP-RRC-Filtered-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 966 1 (Consumes 120 bytes) + Prefixes Total: 913863 1 + Implicit Withdraw: 890449 0 + Explicit Withdraw: 22448 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 920771424 n/a + Gateway Metric: 1184 n/a + Total: 920772608 0 + Number of NLRIs in the update sent: max 245, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 1d13h + Last Sent Refresh End-of-rib: 1d13h + Refresh-Out took 11 seconds + Last Received Refresh Start-of-rib: 1d13h + Last Received Refresh End-of-rib: 1d13h + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + For address family: IPv6 Unicast + Additional Paths send capability: advertised + Additional Paths receive capability: advertised + BGP diverse-paths computation is enabled + Session: 10.0.0.3 + BGP table version 155372669, neighbor version 155372669/0 + Output queue size : 0 + Index 3, Advertise bit 2 + Route-Reflector Client + 3 update-group member + Inherits from template IPv6-iBGP-RRC-Filtered + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Default information originate, default sent + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is IPv6-iBGP-RRC-In + Route map for outgoing advertisements is IPv6-iBGP-RRC-Filtered-Out + Sending Prefix & Label + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 105 2 (Consumes 288 bytes) + Prefixes Total: 38914 2 + Implicit Withdraw: 38286 0 + Explicit Withdraw: 521 0 + Used as bestpath: n/a 2 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 142413667 n/a + Gateway Metric: 2713 n/a + Total: 142416380 0 + Number of NLRIs in the update sent: max 8, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 1d13h + Last Sent Refresh End-of-rib: 1d13h + Refresh-Out took 1 seconds + Last Received Refresh Start-of-rib: 1d13h + Last Received Refresh End-of-rib: 1d13h + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + Address tracking is enabled, the RIB does have a route to 10.0.0.3 + Connections established 9; dropped 8 + Last reset 1d14h, due to Active open failed + Transport(tcp) path-mtu-discovery is disabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 +Local host: 10.0.0.1, Local port: 179 +Foreign host: 10.0.0.3, Foreign port: 60910 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x3CBB01426): +Timer Starts Wakeups Next +Retrans 3470 0 0x0 +TimeWait 0 0 0x0 +AckHold 2511 2409 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 0 0 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 4285461574 snduna: 4285768570 sndnxt: 4285768570 +irs: 3703487142 rcvnxt: 3703535245 + +sndwnd: 16308 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16213 scale: 0 delrcvwnd: 171 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 142 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 136639777 ms, Sent idletime: 30595 ms, Receive idletime: 30797 ms +Status Flags: passive open, gen tcbs +Option Flags: nagle, md5, Retrans timeout +IP Precedence value : 6 + +Datagrams (max data segment is 536 bytes): +Rcvd: 6174 (out of order: 0), with data: 2511, total data bytes: 48102 +Sent: 6517 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 4019, total data bytes: 306995 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F563489C768 FREE diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/expected_result.json b/test/ios/mocked_data/test_get_bgp_neighbors/real_life/expected_result.json deleted file mode 100644 index 66a0e6055..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/expected_result.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "global": { - "router_id": "10.0.1.1", - "peers": { - "10.0.0.2": { - "is_enabled": true, - "uptime": 4838400, - "remote_as": 65000, - "description": "internal-2", - "remote_id": "10.0.1.2", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv4": { - "sent_prefixes": 637213, - "accepted_prefixes": 3142, - "received_prefixes": 3142 - }, - "ipv6": { - "sent_prefixes": 36714, - "accepted_prefixes": 148, - "received_prefixes": 148 - } - } - }, - "10.0.0.3": { - "is_enabled": true, - "uptime": 133200, - "remote_as": 65000, - "description": "internal-3", - "remote_id": "10.0.1.3", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv4": { - "sent_prefixes": 966, - "accepted_prefixes": 1, - "received_prefixes": 1 - }, - "ipv6": { - "sent_prefixes": 105, - "accepted_prefixes": 2, - "received_prefixes": 2 - } - } - }, - "192.168.0.1": { - "is_enabled": true, - "uptime": 3888000, - "remote_as": 65001, - "description": "external-1", - "remote_id": "192.168.1.1", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv4": { - "sent_prefixes": 709, - "accepted_prefixes": 0, - "received_prefixes": 0 - } - } - }, - "192.168.0.2": { - "is_enabled": true, - "uptime": -1, - "remote_as": 65002, - "description": "external-2", - "remote_id": "0.0.0.0", - "local_as": 65000, - "is_up": false, - "address_family": { - "ipv4": { - "sent_prefixes": -1, - "accepted_prefixes": -1, - "received_prefixes": -1 - } - } - }, - "192.168.0.3": { - "is_enabled": false, - "uptime": -1, - "remote_as": 65003, - "description": "external-3", - "remote_id": "0.0.0.0", - "local_as": 65000, - "is_up": false, - "address_family": { - "ipv4": { - "sent_prefixes": -1, - "accepted_prefixes": -1, - "received_prefixes": -1 - } - } - }, - "192.168.0.4": { - "is_enabled": true, - "uptime": 16243200, - "remote_as": 65004, - "description": "external-4", - "remote_id": "192.168.1.4", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv4": { - "sent_prefixes": 213, - "accepted_prefixes": 629700, - "received_prefixes": 629700 - } - } - }, - "2001:db8::1": { - "is_enabled": true, - "uptime": 3456000, - "remote_as": 65001, - "description": "external-1", - "remote_id": "192.168.1.1", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv6": { - "sent_prefixes": 35, - "accepted_prefixes": 0, - "received_prefixes": 0 - } - } - }, - "2001:db8::2": { - "is_enabled": true, - "uptime": 10713600, - "remote_as": 65002, - "description": "external-2", - "remote_id": "192.168.1.2", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv6": { - "sent_prefixes": 36, - "accepted_prefixes": 1, - "received_prefixes": 1 - } - } - }, - "2001:db8::3": { - "is_enabled": false, - "uptime": -1, - "remote_as": 65003, - "description": "external-3", - "remote_id": "0.0.0.0", - "local_as": 65000, - "is_up": false, - "address_family": { - "ipv6": { - "sent_prefixes": -1, - "accepted_prefixes": -1, - "received_prefixes": -1 - } - } - }, - "2001:db8::4": { - "is_enabled": true, - "uptime": 16243200, - "remote_as": 65004, - "description": "external-4", - "remote_id": "192.168.1.4", - "local_as": 65000, - "is_up": true, - "address_family": { - "ipv6": { - "sent_prefixes": 29, - "accepted_prefixes": 36387, - "received_prefixes": 36387 - } - } - } - } - } -} diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_all_summary.txt b/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_all_summary.txt deleted file mode 100644 index 7b8b6c596..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_all_summary.txt +++ /dev/null @@ -1,53 +0,0 @@ -For address family: IPv4 Unicast -BGP router identifier 10.0.1.1, local AS number 65000 -BGP table version is 1011343585, main routing table version 1011343585 -647707 network entries using 160631336 bytes of memory -5657305 path entries using 678876600 bytes of memory -80471 multipath network entries and 160942 multipath paths -1000955/108586 BGP path/bestpath attribute entries using 248236840 bytes of memory -70 BGP rrinfo entries using 2800 bytes of memory -699319 BGP AS-PATH entries using 33422320 bytes of memory -53834 BGP community entries using 10873404 bytes of memory -212 BGP extended community entries using 7834 bytes of memory -6267 BGP route-map cache entries using 401088 bytes of memory -236 BGP filter-list cache entries using 7552 bytes of memory -BGP using 1132459774 total bytes of memory -13548 received paths for inbound soft reconfiguration -BGP activity 8526435/7841854 prefixes, 408323088/402326018 paths, scan interval 60 secs - -Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd -10.0.0.2 4 65000 1336020 64337701 1011343614 0 0 8w0d 3143 -192.168.0.1 4 65001 71798 138808 1011343239 0 0 6w3d 0 -192.168.0.2 4 65002 0 0 1 0 0 never Active -192.168.0.3 4 65003 0 0 1 0 0 never Idle (Admin) -10.0.0.3 4 65000 2497 4399 1011343631 0 0 1d13h 1 -192.168.0.4 4 65004 46122421 675536 1011343239 0 0 26w6d 629783 - -For address family: IPv6 Unicast -BGP router identifier 10.0.1.1, local AS number 65000 -BGP table version is 155362951, main routing table version 155362951 -36697 network entries using 9981584 bytes of memory -339404 path entries using 48874176 bytes of memory -17496 multipath network entries and 34992 multipath paths -150389/17120 BGP path/bestpath attribute entries using 37296472 bytes of memory -70 BGP rrinfo entries using 2800 bytes of memory -699320 BGP AS-PATH entries using 33422380 bytes of memory -53834 BGP community entries using 10873404 bytes of memory -212 BGP extended community entries using 7834 bytes of memory -6274 BGP route-map cache entries using 401536 bytes of memory -236 BGP filter-list cache entries using 7552 bytes of memory -BGP using 140867738 total bytes of memory -718 received paths for inbound soft reconfiguration -BGP activity 8526435/7841854 prefixes, 408323098/402326025 paths, scan interval 60 secs - -Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd -2001:DB8::4 - 4 65004 9900690 612449 155362939 0 0 26w6d 36391 -2001:DB8::1 - 4 65001 63768 71032 155362939 0 0 5w5d 0 -2001:DB8::2 - 4 65002 197924 214323 155362939 0 0 17w5d 1 -2001:DB8::3 - 4 65003 0 0 1 0 0 never Idle (Admin) -10.0.0.2 4 65000 1336020 64337708 155362951 0 0 8w0d 148 -10.0.0.3 4 65000 2497 4399 155362952 0 0 1d13h 2 diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_ipv4_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_ipv4_unicast_neighbors.txt deleted file mode 100644 index 8263637a6..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_ipv4_unicast_neighbors.txt +++ /dev/null @@ -1,714 +0,0 @@ -BGP neighbor is 10.0.0.2, remote AS 65000, internal link - Description: internal-2 - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 10.0.1.2 - BGP state = Established, up for 8w0d - Last read 00:00:08, last write 00:00:01, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv4 Unicast: advertised and received - ipv4 MPLS Label capability: advertised and received - Address family IPv6 Unicast: advertised and received - ipv6 MPLS Label capability: advertised and received - Address family VPNv4 Unicast: advertised and received - Address family VPNv6 Unicast: advertised and received - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 64397066 1297011 - Keepalives: 11 39187 - Route Refresh: 0 0 - Total: 64397086 1336207 - Default minimum time between advertisement runs is 0 seconds - - For address family: IPv4 Unicast - Additional Paths send capability: advertised and received - Additional Paths receive capability: advertised and received - BGP diverse-paths computation is enabled - Session: 10.0.0.2 - BGP table version 1011767359, neighbor version 1011767359/0 - Output queue size : 0 - Index 2, Advertise bit 1 - 2 update-group member - Inherits from template IPv4-iBGP - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv4-iBGP-In - Route map for outgoing advertisements is IPv4-iBGP-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 637213 3142 (Consumes 377040 bytes) - Prefixes Total: 503373284 4280216 - Implicit Withdraw: 438785370 1563479 - Explicit Withdraw: 62043863 2713595 - Used as bestpath: n/a 554 - Used as multipath: n/a 1 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Bestpath from this peer: 4724999 n/a - Bestpath from iBGP peer: 1405277470 n/a - Invalid Path: 59 n/a - Gateway Metric: 82957 n/a - Total: 1410085485 0 - Number of NLRIs in the update sent: max 561, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 8w0d - Last Sent Refresh End-of-rib: 8w0d - Refresh-Out took 0 seconds - Last Received Refresh Start-of-rib: 8w0d - Last Received Refresh End-of-rib: 8w0d - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - For address family: IPv6 Unicast - Additional Paths send capability: advertised and received - Additional Paths receive capability: advertised and received - BGP diverse-paths computation is enabled - Session: 10.0.0.2 - BGP table version 155372848, neighbor version 155372848/0 - Output queue size : 0 - Index 2, Advertise bit 1 - 2 update-group member - Inherits from template IPv6-iBGP - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv6-iBGP-In - Route map for outgoing advertisements is IPv6-iBGP-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 36714 148 (Consumes 21312 bytes) - Prefixes Total: 53843814 359361 - Implicit Withdraw: 46765228 320114 - Explicit Withdraw: 6992226 39099 - Used as bestpath: n/a 56 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Bestpath from this peer: 114918 n/a - Bestpath from iBGP peer: 234815725 n/a - Invalid Path: 68 n/a - Gateway Metric: 572534 n/a - Total: 235503245 0 - Number of NLRIs in the update sent: max 322, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 8w0d - Last Sent Refresh End-of-rib: 8w0d - Refresh-Out took 0 seconds - Last Received Refresh Start-of-rib: 8w0d - Last Received Refresh End-of-rib: 8w0d - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - Address tracking is enabled, the RIB does have a route to 10.0.0.2 - Connections established 3; dropped 2 - Last reset 8w0d, due to Peer closed the session - Transport(tcp) path-mtu-discovery is disabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 -Local host: 10.0.0.1, Local port: 52893 -Foreign host: 10.0.0.2, Foreign port: 179 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBB10F9B): -Timer Starts Wakeups Next -Retrans 20915366 203 0x0 -TimeWait 0 0 0x0 -AckHold 520221 104211 0x0 -SendWnd 4778 836 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 0 0 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 896379848 snduna: 1690502812 sndnxt: 1690502812 -irs: 2469707680 rcvnxt: 2649635682 - -sndwnd: 15974 scale: 0 maxrcvwnd: 16384 -rcvwnd: 16384 scale: 0 delrcvwnd: 0 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: -1 ms, Sent idletime: 316 ms, Receive idletime: 115 ms -Status Flags: active open -Option Flags: nagle, md5, win-scale -IP Precedence value : 6 - -Datagrams (max data segment is 536 bytes): -Rcvd: 29247474 (out of order: 0), with data: 673110, total data bytes: 179928001 -Sent: 34406790 (retransmit: 4981, fastretransmit: 77, partialack: 30, Second Congestion: 10), with data: 33933489, total data bytes: 794134685 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F55EF48E9C8 FREE - -BGP neighbor is 10.0.0.3, remote AS 65000, internal link - Description: internal-3 - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 10.0.1.3 - BGP state = Established, up for 1d13h - Last read 00:00:28, last write 00:00:54, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv4 Unicast: advertised and received - ipv4 MPLS Label capability: advertised - Address family IPv6 Unicast: advertised and received - ipv6 MPLS Label capability: advertised and received - Address family VPNv4 Unicast: advertised and received - Address family VPNv6 Unicast: advertised - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 2092 4 - Keepalives: 2330 2507 - Route Refresh: 0 0 - Total: 4429 2516 - Default minimum time between advertisement runs is 0 seconds - - For address family: IPv4 Unicast - Additional Paths send capability: advertised - Additional Paths receive capability: advertised - BGP diverse-paths computation is enabled - Session: 10.0.0.3 - BGP table version 1011765330, neighbor version 1011765330/0 - Output queue size : 0 - Index 3, Advertise bit 2 - Route-Reflector Client - 3 update-group member - Inherits from template IPv4-iBGP-RRC-Filtered - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Default information originate, default sent - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv4-iBGP-RRC-In - Route map for outgoing advertisements is IPv4-iBGP-RRC-Filtered-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 966 1 (Consumes 120 bytes) - Prefixes Total: 913863 1 - Implicit Withdraw: 890449 0 - Explicit Withdraw: 22448 0 - Used as bestpath: n/a 1 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Other Policies: 920771424 n/a - Gateway Metric: 1184 n/a - Total: 920772608 0 - Number of NLRIs in the update sent: max 245, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 1d13h - Last Sent Refresh End-of-rib: 1d13h - Refresh-Out took 11 seconds - Last Received Refresh Start-of-rib: 1d13h - Last Received Refresh End-of-rib: 1d13h - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - For address family: IPv6 Unicast - Additional Paths send capability: advertised - Additional Paths receive capability: advertised - BGP diverse-paths computation is enabled - Session: 10.0.0.3 - BGP table version 155372669, neighbor version 155372669/0 - Output queue size : 0 - Index 3, Advertise bit 2 - Route-Reflector Client - 3 update-group member - Inherits from template IPv6-iBGP-RRC-Filtered - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Default information originate, default sent - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv6-iBGP-RRC-In - Route map for outgoing advertisements is IPv6-iBGP-RRC-Filtered-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 105 2 (Consumes 288 bytes) - Prefixes Total: 38914 2 - Implicit Withdraw: 38286 0 - Explicit Withdraw: 521 0 - Used as bestpath: n/a 2 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Other Policies: 142413667 n/a - Gateway Metric: 2713 n/a - Total: 142416380 0 - Number of NLRIs in the update sent: max 8, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 1d13h - Last Sent Refresh End-of-rib: 1d13h - Refresh-Out took 1 seconds - Last Received Refresh Start-of-rib: 1d13h - Last Received Refresh End-of-rib: 1d13h - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - Address tracking is enabled, the RIB does have a route to 10.0.0.3 - Connections established 9; dropped 8 - Last reset 1d14h, due to Active open failed - Transport(tcp) path-mtu-discovery is disabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 -Local host: 10.0.0.1, Local port: 179 -Foreign host: 10.0.0.3, Foreign port: 60910 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBB01426): -Timer Starts Wakeups Next -Retrans 3470 0 0x0 -TimeWait 0 0 0x0 -AckHold 2511 2409 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 0 0 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 4285461574 snduna: 4285768570 sndnxt: 4285768570 -irs: 3703487142 rcvnxt: 3703535245 - -sndwnd: 16308 scale: 0 maxrcvwnd: 16384 -rcvwnd: 16213 scale: 0 delrcvwnd: 171 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 142 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: 136639777 ms, Sent idletime: 30595 ms, Receive idletime: 30797 ms -Status Flags: passive open, gen tcbs -Option Flags: nagle, md5, Retrans timeout -IP Precedence value : 6 - -Datagrams (max data segment is 536 bytes): -Rcvd: 6174 (out of order: 0), with data: 2511, total data bytes: 48102 -Sent: 6517 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 4019, total data bytes: 306995 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F563489C768 FREE - -BGP neighbor is 192.168.0.1, remote AS 65001, external link - Description: external-1 - BGP version 4, remote router ID 192.168.1.1 - BGP state = Established, up for 6w3d - Last read 00:00:43, last write 00:00:31, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv4 Unicast: advertised and received - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 76251 1 - Keepalives: 62580 71818 - Route Refresh: 0 0 - Total: 138842 71820 - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv4 Unicast - BGP diverse-paths computation is enabled - Session: 192.168.0.1 - BGP table version 1011770176, neighbor version 1011770151/1011770176 - Output queue size : 0 - Index 10, Advertise bit 5 - 10 update-group member - Inbound soft reconfiguration allowed - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 709 0 - Prefixes Total: 966800 0 - Implicit Withdraw: 957520 0 - Explicit Withdraw: 8516 0 - Used as bestpath: n/a 0 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Invalid Path: 661 n/a - Other Policies: 1125559808 n/a - Total: 1125560469 0 - Number of NLRIs in the update sent: max 293, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: 6d06h - Last Sent Refresh End-of-rib: 6d06h - Refresh-Out took 28 seconds - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 5 0 - Refresh End-of-RIB 5 0 - - Address tracking is enabled, the RIB does have a route to 192.168.0.1 - Connections established 66; dropped 65 - Last reset 6w3d, due to Peer closed the session of session 1 - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 -Local host: 192.168.0.255, Local port: 179 -Foreign host: 192.168.0.1, Foreign port: 15629 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBB25520): -Timer Starts Wakeups Next -Retrans 84035 0 0x0 -TimeWait 0 0 0x0 -AckHold 71819 70483 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 0 0 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 3473592633 snduna: 3482247432 sndnxt: 3482247432 -irs: 1667503031 rcvnxt: 1668867654 - -sndwnd: 15104 scale: 0 maxrcvwnd: 16384 -rcvwnd: 15282 scale: 0 delrcvwnd: 1102 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: -381143431 ms, Sent idletime: 32433 ms, Receive idletime: 32234 ms -Status Flags: passive open, gen tcbs -Option Flags: nagle, path mtu capable -IP Precedence value : 6 - -Datagrams (max data segment is 1460 bytes): -Rcvd: 156015 (out of order: 0), with data: 71820, total data bytes: 1364622 -Sent: 158958 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 87432, total data bytes: 8654798 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F56497DC820 FREE - -BGP neighbor is 192.168.0.2, remote AS 65002, external link - Description: external-2 - BGP version 4, remote router ID 0.0.0.0 - BGP state = Idle - Neighbor sessions: - 0 active, is not multisession capable (disabled) - Stateful switchover support enabled: NO - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv4 Unicast - BGP diverse-paths computation is enabled - BGP table version 1011774114, neighbor version 1/1011774114 - Output queue size : 0 - Index 0, Advertise bit 0 - Inbound soft reconfiguration allowed - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 0 - Prefixes Total: 0 0 - Implicit Withdraw: 0 0 - Explicit Withdraw: 0 0 - Used as bestpath: n/a 0 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Total: 0 0 - Number of NLRIs in the update sent: max 0, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: never - Last Sent Refresh End-of-rib: never - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 0 0 - Refresh End-of-RIB 0 0 - - Address tracking is enabled, the RIB does have a route to 192.168.0.2 - Connections established 0; dropped 0 - Last reset never - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled - No active TCP connection - -BGP neighbor is 192.168.0.3, remote AS 65003, external link - Description: external-3 - Administratively shut down - BGP version 4, remote router ID 0.0.0.0 - BGP state = Idle - Neighbor sessions: - 0 active, is not multisession capable (disabled) - Stateful switchover support enabled: NO - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv4 Unicast - BGP diverse-paths computation is enabled - BGP table version 1011776536, neighbor version 1/1011776536 - Output queue size : 0 - Index 0, Advertise bit 0 - Inbound soft reconfiguration allowed - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 0 - Prefixes Total: 0 0 - Implicit Withdraw: 0 0 - Explicit Withdraw: 0 0 - Used as bestpath: n/a 0 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Total: 0 0 - Number of NLRIs in the update sent: max 0, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: never - Last Sent Refresh End-of-rib: never - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 0 0 - Refresh End-of-RIB 0 0 - - Address tracking is enabled, the RIB does have a route to 192.168.0.3 - Connections established 0; dropped 0 - Last reset never - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled - No active TCP connection - -BGP neighbor is 192.168.0.4, remote AS 65004, external link - Description: external-4 - BGP version 4, remote router ID 192.168.1.4 - BGP state = Established, up for 26w6d - Last read 00:00:16, last write 00:00:06, hold time is 90, keepalive interval is 30 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv4 Unicast: advertised and received - Enhanced Refresh Capability: advertised - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 94267 45582204 - Keepalives: 581311 542483 - Route Refresh: 5 0 - Total: 675584 46124688 - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv4 Unicast - BGP diverse-paths computation is enabled - Session: 192.168.0.4 - BGP table version 1011778139, neighbor version 1011777194/1011778139 - Output queue size : 0 - Index 7, Advertise bit 6 - 7 update-group member - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 213 629700 (Consumes 75564360 bytes) - Prefixes Total: 146819 176197035 - Implicit Withdraw: 144646 165917923 - Explicit Withdraw: 1944 9649412 - Used as bestpath: n/a 242125 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - route-map: 0 216 - AS_PATH loop: n/a 27982 - Invalid Path: 84 n/a - Other Policies: 532046388 n/a - Total: 532046472 28198 - Number of NLRIs in the update sent: max 38, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: never - Last Sent Refresh End-of-rib: never - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 0 0 - Refresh End-of-RIB 0 0 - - Address tracking is enabled, the RIB does have a route to 192.168.0.4 - Connections established 1; dropped 0 - Last reset never - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 -Local host: 192.168.0.255, Local port: 43454 -Foreign host: 192.168.0.4, Foreign port: 179 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBB4412D): -Timer Starts Wakeups Next -Retrans 623518 21 0x0 -TimeWait 0 0 0x0 -AckHold 7133269 3796094 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 1 1 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 3757760147 snduna: 3777842987 sndnxt: 3777842987 -irs: 1999889369 rcvnxt: 3059255056 - -sndwnd: 32768 scale: 0 maxrcvwnd: 16384 -rcvwnd: 15574 scale: 0 delrcvwnd: 810 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: -1 ms, Sent idletime: 538 ms, Receive idletime: 538 ms -Status Flags: active open -Option Flags: nagle, path mtu capable, md5, win-scale -IP Precedence value : 6 - -Datagrams (max data segment is 1024 bytes): -Rcvd: 10279664 (out of order: 0), with data: 9658431, total data bytes: 1059365686 -Sent: 9885442 (retransmit: 21, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 624521, total data bytes: 20082839 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F563489C468 FREE diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_ipv6_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_ipv6_unicast_neighbors.txt deleted file mode 100644 index 03dae6dd8..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/real_life/show_bgp_ipv6_unicast_neighbors.txt +++ /dev/null @@ -1,781 +0,0 @@ -BGP neighbor is 2001:DB8::4, remote AS 65004, external link - Description: external-4 - BGP version 4, remote router ID 192.168.1.4 - BGP state = Established, up for 26w6d - Last read 00:00:08, last write 00:00:06, hold time is 90, keepalive interval is 30 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv6 Unicast: advertised and received - Enhanced Refresh Capability: advertised - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 24920 9358700 - Keepalives: 587603 542595 - Route Refresh: 5 0 - Total: 612529 9901296 - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv6 Unicast - BGP diverse-paths computation is enabled - Session: 2001:DB8::4 - BGP table version 155381886, neighbor version 155381829/155381886 - Output queue size : 0 - Index 7, Advertise bit 6 - 7 update-group member - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 29 36387 (Consumes 5239728 bytes) - Prefixes Total: 31735 14393964 - Implicit Withdraw: 31411 12738659 - Explicit Withdraw: 294 1618918 - Used as bestpath: n/a 7345 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - route-map: 0 43 - AS_PATH loop: n/a 1412 - Invalid Path: 123 n/a - Other Policies: 60318322 n/a - Total: 60318445 1455 - Number of NLRIs in the update sent: max 6, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: never - Last Sent Refresh End-of-rib: never - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 0 0 - Refresh End-of-RIB 0 0 - - Address tracking is enabled, the RIB does have a route to 2001:DB8::4 - Connections established 1; dropped 0 - Last reset never - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 -Local host: 2001:DB8::FFFF, Local port: 63515 -Foreign host: 2001:DB8::4, Foreign port: 179 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBC1F1B5): -Timer Starts Wakeups Next -Retrans 599358 24 0x0 -TimeWait 0 0 0x0 -AckHold 2318092 1555606 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 1 1 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 4104572424 snduna: 4118786023 sndnxt: 4118786023 -irs: 2551116579 rcvnxt: 3676792031 - -sndwnd: 32768 scale: 0 maxrcvwnd: 16384 -rcvwnd: 16136 scale: 0 delrcvwnd: 248 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: -1 ms, Sent idletime: 8327 ms, Receive idletime: 8326 ms -Status Flags: active open -Option Flags: nagle, path mtu capable, md5, win-scale -IP Precedence value : 6 - -Datagrams (max data segment is 1024 bytes): -Rcvd: 3290635 (out of order: 0), with data: 2691895, total data bytes: 1125675451 -Sent: 3229340 (retransmit: 24, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 3229340, total data bytes: 272560814 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F563489C528 FREE - -BGP neighbor is 2001:DB8::1, remote AS 65001, external link - Description: external-1 - BGP version 4, remote router ID 192.168.1.1 - BGP state = Established, up for 5w5d - Last read 00:00:46, last write 00:00:41, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv4 Unicast: received - Address family IPv6 Unicast: advertised and received - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 8886 1 - Keepalives: 62175 63807 - Route Refresh: 0 0 - Total: 71076 63811 - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv6 Unicast - BGP diverse-paths computation is enabled - Session: 2001:DB8::1 - BGP table version 155383086, neighbor version 155383018/155383086 - Output queue size : 0 - Index 11, Advertise bit 7 - 11 update-group member - Inbound soft reconfiguration allowed - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 35 0 - Prefixes Total: 46516 0 - Implicit Withdraw: 46298 0 - Explicit Withdraw: 182 0 - Used as bestpath: n/a 0 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Invalid Path: 125 n/a - Other Policies: 46771626 n/a - Total: 46771751 0 - Number of NLRIs in the update sent: max 4, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 2d14h - Last Sent Refresh End-of-rib: 2d14h - Refresh-Out took 20 seconds - Last Received Refresh Start-of-rib: 5w5d - Last Received Refresh End-of-rib: 5w5d - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 7 1 - Refresh End-of-RIB 7 1 - - Address tracking is enabled, the RIB does have a route to 2001:DB8::1 - Connections established 1; dropped 0 - Last reset never - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 -Local host: 2001:DB8::FFFF, Local port: 179 -Foreign host: 2001:DB8::1, Foreign port: 31164 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBC46FAF): -Timer Starts Wakeups Next -Retrans 65728 0 0x0 -TimeWait 0 0 0x0 -AckHold 63809 62677 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 0 0 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 2233405174 snduna: 2235753219 sndnxt: 2235753219 -irs: 62051492 rcvnxt: 63263966 - -sndwnd: 16118 scale: 0 maxrcvwnd: 16384 -rcvwnd: 15434 scale: 0 delrcvwnd: 950 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: -817389282 ms, Sent idletime: 43466 ms, Receive idletime: 43268 ms -Status Flags: passive open, gen tcbs -Option Flags: nagle, path mtu capable -IP Precedence value : 6 - -Datagrams (max data segment is 1440 bytes): -Rcvd: 129369 (out of order: 0), with data: 63810, total data bytes: 1212473 -Sent: 129531 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 129531, total data bytes: 7529292 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F55ECDDBFE0 FREE - -BGP neighbor is 2001:DB8::2, remote AS 65002, external link - Description: external-2 - BGP version 4, remote router ID 192.168.1.2 - BGP state = Established, up for 17w5d - Last read 00:00:47, last write 00:00:04, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv6 Unicast: advertised and received - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 19791 38 - Keepalives: 194425 197930 - Route Refresh: 0 0 - Total: 214374 197971 - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv6 Unicast - BGP diverse-paths computation is enabled - Session: 2001:DB8::2 - BGP table version 155384285, neighbor version 155384145/155384285 - Output queue size : 0 - Index 10, Advertise bit 5 - 10 update-group member - Inbound soft reconfiguration allowed - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 36 1 (Consumes 288 bytes) - Prefixes Total: 29444 30 - Implicit Withdraw: 29227 22 - Explicit Withdraw: 180 7 - Used as bestpath: n/a 1 - Used as multipath: n/a 0 - Saved (soft-reconfig): n/a 1 (Consumes 144 bytes) - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Invalid Path: 83 n/a - Other Policies: 45301826 n/a - Total: 45301909 0 - Number of NLRIs in the update sent: max 6, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 2d14h - Last Sent Refresh End-of-rib: 2d14h - Refresh-Out took 21 seconds - Last Received Refresh Start-of-rib: 17w5d - Last Received Refresh End-of-rib: 17w5d - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 81 1 - Refresh End-of-RIB 76 1 - - Address tracking is enabled, the RIB does have a route to 2001:DB8::2 - Connections established 3; dropped 2 - Last reset 17w5d, due to Active open failed - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 -Local host: 2001:DB8::FFFF, Local port: 52325 -Foreign host: 2001:DB8::2, Foreign port: 179 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBC754B5): -Timer Starts Wakeups Next -Retrans 202476 13 0x0 -TimeWait 0 0 0x0 -AckHold 197961 194062 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 10731182 10731181 0x3CBC75565 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 3950896997 snduna: 3957081312 sndnxt: 3957081312 -irs: 976212743 rcvnxt: 979976918 - -sndwnd: 15649 scale: 0 maxrcvwnd: 16384 -rcvwnd: 15472 scale: 0 delrcvwnd: 912 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: -1 ms, Sent idletime: 6413 ms, Receive idletime: 6216 ms -Status Flags: active open -Option Flags: nagle, path mtu capable, md5 -IP Precedence value : 6 - -Datagrams (max data segment is 1440 bytes): -Rcvd: 400468 (out of order: 0), with data: 197964, total data bytes: 3764174 -Sent: 400556 (retransmit: 13, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 400556, total data bytes: 38228810 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F55ECB3D1E0 FREE - -BGP neighbor is 2001:DB8::3, remote AS 65003, external link - Description: external-3 - Administratively shut down - BGP version 4, remote router ID 0.0.0.0 - BGP state = Idle - Neighbor sessions: - 0 active, is not multisession capable (disabled) - Stateful switchover support enabled: NO - Default minimum time between advertisement runs is 30 seconds - - For address family: IPv6 Unicast - BGP diverse-paths computation is enabled - BGP table version 155389626, neighbor version 1/155389626 - Output queue size : 0 - Index 0, Advertise bit 0 - Inbound soft reconfiguration allowed - Private AS number removed from updates to this neighbor - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 0 - Prefixes Total: 0 0 - Implicit Withdraw: 0 0 - Explicit Withdraw: 0 0 - Used as bestpath: n/a 0 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Total: 0 0 - Number of NLRIs in the update sent: max 0, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 1 - Last Sent Refresh Start-of-rib: never - Last Sent Refresh End-of-rib: never - Last Received Refresh Start-of-rib: never - Last Received Refresh End-of-rib: never - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 0 0 - Refresh End-of-RIB 0 0 - - Address tracking is enabled, the RIB does have a route to 2001:DB8::3 - Connections established 0; dropped 0 - Last reset never - Transport(tcp) path-mtu-discovery is enabled - Graceful-Restart is disabled - SSO is disabled - No active TCP connection - -BGP neighbor is 10.0.0.2, remote AS 65000, internal link - Description: internal-2 - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 10.0.1.2 - BGP state = Established, up for 8w0d - Last read 00:00:08, last write 00:00:01, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv4 Unicast: advertised and received - ipv4 MPLS Label capability: advertised and received - Address family IPv6 Unicast: advertised and received - ipv6 MPLS Label capability: advertised and received - Address family VPNv4 Unicast: advertised and received - Address family VPNv6 Unicast: advertised and received - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 64397066 1297011 - Keepalives: 11 39187 - Route Refresh: 0 0 - Total: 64397086 1336207 - Default minimum time between advertisement runs is 0 seconds - - For address family: IPv4 Unicast - Additional Paths send capability: advertised and received - Additional Paths receive capability: advertised and received - BGP diverse-paths computation is enabled - Session: 10.0.0.2 - BGP table version 1011767359, neighbor version 1011767359/0 - Output queue size : 0 - Index 2, Advertise bit 1 - 2 update-group member - Inherits from template IPv4-iBGP - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv4-iBGP-In - Route map for outgoing advertisements is IPv4-iBGP-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 637213 3142 (Consumes 377040 bytes) - Prefixes Total: 503373284 4280216 - Implicit Withdraw: 438785370 1563479 - Explicit Withdraw: 62043863 2713595 - Used as bestpath: n/a 554 - Used as multipath: n/a 1 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Bestpath from this peer: 4724999 n/a - Bestpath from iBGP peer: 1405277470 n/a - Invalid Path: 59 n/a - Gateway Metric: 82957 n/a - Total: 1410085485 0 - Number of NLRIs in the update sent: max 561, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 8w0d - Last Sent Refresh End-of-rib: 8w0d - Refresh-Out took 0 seconds - Last Received Refresh Start-of-rib: 8w0d - Last Received Refresh End-of-rib: 8w0d - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - For address family: IPv6 Unicast - Additional Paths send capability: advertised and received - Additional Paths receive capability: advertised and received - BGP diverse-paths computation is enabled - Session: 10.0.0.2 - BGP table version 155372848, neighbor version 155372848/0 - Output queue size : 0 - Index 2, Advertise bit 1 - 2 update-group member - Inherits from template IPv6-iBGP - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv6-iBGP-In - Route map for outgoing advertisements is IPv6-iBGP-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 36714 148 (Consumes 21312 bytes) - Prefixes Total: 53843814 359361 - Implicit Withdraw: 46765228 320114 - Explicit Withdraw: 6992226 39099 - Used as bestpath: n/a 56 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Bestpath from this peer: 114918 n/a - Bestpath from iBGP peer: 234815725 n/a - Invalid Path: 68 n/a - Gateway Metric: 572534 n/a - Total: 235503245 0 - Number of NLRIs in the update sent: max 322, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 8w0d - Last Sent Refresh End-of-rib: 8w0d - Refresh-Out took 0 seconds - Last Received Refresh Start-of-rib: 8w0d - Last Received Refresh End-of-rib: 8w0d - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - Address tracking is enabled, the RIB does have a route to 10.0.0.2 - Connections established 3; dropped 2 - Last reset 8w0d, due to Peer closed the session - Transport(tcp) path-mtu-discovery is disabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 -Local host: 10.0.0.1, Local port: 52893 -Foreign host: 10.0.0.2, Foreign port: 179 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBB10F9B): -Timer Starts Wakeups Next -Retrans 20915366 203 0x0 -TimeWait 0 0 0x0 -AckHold 520221 104211 0x0 -SendWnd 4778 836 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 0 0 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 896379848 snduna: 1690502812 sndnxt: 1690502812 -irs: 2469707680 rcvnxt: 2649635682 - -sndwnd: 15974 scale: 0 maxrcvwnd: 16384 -rcvwnd: 16384 scale: 0 delrcvwnd: 0 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: -1 ms, Sent idletime: 316 ms, Receive idletime: 115 ms -Status Flags: active open -Option Flags: nagle, md5, win-scale -IP Precedence value : 6 - -Datagrams (max data segment is 536 bytes): -Rcvd: 29247474 (out of order: 0), with data: 673110, total data bytes: 179928001 -Sent: 34406790 (retransmit: 4981, fastretransmit: 77, partialack: 30, Second Congestion: 10), with data: 33933489, total data bytes: 794134685 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F55EF48E9C8 FREE - -BGP neighbor is 10.0.0.3, remote AS 65000, internal link - Description: internal-3 - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 10.0.1.3 - BGP state = Established, up for 1d13h - Last read 00:00:28, last write 00:00:54, hold time is 180, keepalive interval is 60 seconds - Neighbor sessions: - 1 active, is not multisession capable (disabled) - Neighbor capabilities: - Route refresh: advertised and received(new) - Four-octets ASN Capability: advertised and received - Address family IPv4 Unicast: advertised and received - ipv4 MPLS Label capability: advertised - Address family IPv6 Unicast: advertised and received - ipv6 MPLS Label capability: advertised and received - Address family VPNv4 Unicast: advertised and received - Address family VPNv6 Unicast: advertised - Enhanced Refresh Capability: advertised and received - Multisession Capability: - Stateful switchover support enabled: NO for session 1 - Message statistics: - InQ depth is 0 - OutQ depth is 0 - - Sent Rcvd - Opens: 1 1 - Notifications: 0 0 - Updates: 2092 4 - Keepalives: 2330 2507 - Route Refresh: 0 0 - Total: 4429 2516 - Default minimum time between advertisement runs is 0 seconds - - For address family: IPv4 Unicast - Additional Paths send capability: advertised - Additional Paths receive capability: advertised - BGP diverse-paths computation is enabled - Session: 10.0.0.3 - BGP table version 1011765330, neighbor version 1011765330/0 - Output queue size : 0 - Index 3, Advertise bit 2 - Route-Reflector Client - 3 update-group member - Inherits from template IPv4-iBGP-RRC-Filtered - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Default information originate, default sent - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv4-iBGP-RRC-In - Route map for outgoing advertisements is IPv4-iBGP-RRC-Filtered-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 966 1 (Consumes 120 bytes) - Prefixes Total: 913863 1 - Implicit Withdraw: 890449 0 - Explicit Withdraw: 22448 0 - Used as bestpath: n/a 1 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Other Policies: 920771424 n/a - Gateway Metric: 1184 n/a - Total: 920772608 0 - Number of NLRIs in the update sent: max 245, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 1d13h - Last Sent Refresh End-of-rib: 1d13h - Refresh-Out took 11 seconds - Last Received Refresh Start-of-rib: 1d13h - Last Received Refresh End-of-rib: 1d13h - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - For address family: IPv6 Unicast - Additional Paths send capability: advertised - Additional Paths receive capability: advertised - BGP diverse-paths computation is enabled - Session: 10.0.0.3 - BGP table version 155372669, neighbor version 155372669/0 - Output queue size : 0 - Index 3, Advertise bit 2 - Route-Reflector Client - 3 update-group member - Inherits from template IPv6-iBGP-RRC-Filtered - NEXT_HOP is always this router for eBGP paths - Community attribute sent to this neighbor - Default information originate, default sent - Inbound path policy configured - Outbound path policy configured - Route map for incoming advertisements is IPv6-iBGP-RRC-In - Route map for outgoing advertisements is IPv6-iBGP-RRC-Filtered-Out - Sending Prefix & Label - Slow-peer detection is disabled - Slow-peer split-update-group dynamic is disabled - Interface associated: (none) - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 105 2 (Consumes 288 bytes) - Prefixes Total: 38914 2 - Implicit Withdraw: 38286 0 - Explicit Withdraw: 521 0 - Used as bestpath: n/a 2 - Used as multipath: n/a 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Other Policies: 142413667 n/a - Gateway Metric: 2713 n/a - Total: 142416380 0 - Number of NLRIs in the update sent: max 8, min 0 - Last detected as dynamic slow peer: never - Dynamic slow peer recovered: never - Refresh Epoch: 2 - Last Sent Refresh Start-of-rib: 1d13h - Last Sent Refresh End-of-rib: 1d13h - Refresh-Out took 1 seconds - Last Received Refresh Start-of-rib: 1d13h - Last Received Refresh End-of-rib: 1d13h - Refresh-In took 0 seconds - Sent Rcvd - Refresh activity: ---- ---- - Refresh Start-of-RIB 1 1 - Refresh End-of-RIB 1 1 - - Address tracking is enabled, the RIB does have a route to 10.0.0.3 - Connections established 9; dropped 8 - Last reset 1d14h, due to Active open failed - Transport(tcp) path-mtu-discovery is disabled - Graceful-Restart is disabled - SSO is disabled -Connection state is ESTAB, I/O status: 1, unread input bytes: 0 -Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 -Local host: 10.0.0.1, Local port: 179 -Foreign host: 10.0.0.3, Foreign port: 60910 -Connection tableid (VRF): 0 -Maximum output segment queue size: 50 - -Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) - -Event Timers (current time is 0x3CBB01426): -Timer Starts Wakeups Next -Retrans 3470 0 0x0 -TimeWait 0 0 0x0 -AckHold 2511 2409 0x0 -SendWnd 0 0 0x0 -KeepAlive 0 0 0x0 -GiveUp 0 0 0x0 -PmtuAger 0 0 0x0 -DeadWait 0 0 0x0 -Linger 0 0 0x0 -ProcessQ 0 0 0x0 - -iss: 4285461574 snduna: 4285768570 sndnxt: 4285768570 -irs: 3703487142 rcvnxt: 3703535245 - -sndwnd: 16308 scale: 0 maxrcvwnd: 16384 -rcvwnd: 16213 scale: 0 delrcvwnd: 171 - -SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms -minRTT: 142 ms, maxRTT: 1000 ms, ACK hold: 200 ms -uptime: 136639777 ms, Sent idletime: 30595 ms, Receive idletime: 30797 ms -Status Flags: passive open, gen tcbs -Option Flags: nagle, md5, Retrans timeout -IP Precedence value : 6 - -Datagrams (max data segment is 536 bytes): -Rcvd: 6174 (out of order: 0), with data: 2511, total data bytes: 48102 -Sent: 6517 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 4019, total data bytes: 306995 - - Packets received in fast path: 0, fast processed: 0, slow path: 0 - fast lock acquisition failures: 0, slow path: 0 -TCP Semaphore 0x7F563489C768 FREE diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/expected_result.json b/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/expected_result.json deleted file mode 100644 index 35de314ad..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/expected_result.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "global": { - "router_id": "192.168.0.1", - "peers": { - "192.168.0.2": { - "is_enabled": true, - "uptime": -1, - "remote_as": 65001, - "description": "", - "remote_id": "0.0.0.0", - "local_as": 65000, - "is_up": false, - "address_family": { - "ipv4": { - "sent_prefixes": -1, - "accepted_prefixes": -1, - "received_prefixes": -1 - } - } - }, - "192.168.0.3": { - "is_enabled": true, - "uptime": -1, - "remote_as": 65010, - "description": "", - "remote_id": "192.168.0.3", - "local_as": 65000, - "is_up": false, - "address_family": { - "ipv4": { - "sent_prefixes": -1, - "accepted_prefixes": -1, - "received_prefixes": -1 - } - } - } - } - } -} diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_all_summary.txt b/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_all_summary.txt deleted file mode 100644 index 119c44cd2..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_all_summary.txt +++ /dev/null @@ -1,8 +0,0 @@ -For address family: IPv4 Unicast -BGP router identifier 192.168.0.1, local AS number 65000 -BGP table version is 1, main routing table version 1 - -Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd -*192.168.0.2 - 4 65001 0 0 1 0 0 never Idle -192.168.0.3 4 65010 0 0 1 0 0 never Active diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_ipv4_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_ipv4_unicast_neighbors.txt deleted file mode 100644 index 95ad31fe9..000000000 --- a/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_ipv4_unicast_neighbors.txt +++ /dev/null @@ -1,25 +0,0 @@ -BGP neighbor is 192.168.0.2, remote AS 65001, internal link - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 0.0.0.0 - - For address family: IPv4 Unicast - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Total: 0 0 - -BGP neighbor is 192.168.0.3, remote AS 65010, internal link - Inherits from template iBGP for session parameters - BGP version 4, remote router ID 192.168.0.3 - - For address family: IPv4 Unicast - Sent Rcvd - Prefix activity: ---- ---- - Prefixes Current: 0 0 - - Outbound Inbound - Local Policy Denied Prefixes: -------- ------- - Total: 0 0 diff --git a/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_ipv6_unicast_neighbors.txt b/test/ios/mocked_data/test_get_bgp_neighbors/regex_strip/show_bgp_ipv6_unicast_neighbors.txt deleted file mode 100644 index e69de29bb..000000000