Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dgjustice nxos show ip bgp nei #126

Merged
merged 12 commits into from
Jul 15, 2017
Merged

Dgjustice nxos show ip bgp nei #126

merged 12 commits into from
Jul 15, 2017

Conversation

dgjustice
Copy link

ISSUE TYPE
  • New Template Pull Request
COMPONENT

cisco_nxos_show_ip_bgp_neighbors

SUMMARY

This template parses "show ip bgp neighbors" from NXOS devices. Tested on 7K and 9K with and without VRF's and a combination of neighbor states.

BGP neighbor is 136.170.1.201,  remote AS 64826, ibgp link,  Peer index 1
  Inherits peer configuration from peer-template SPINES
  Description: from boo to donkey
  BGP version 4, remote router ID 251.243.49.1076
  BGP state = Established, up for 1d01h
  Using loopback0 as update source for this peer
  TCP MD5 authentication is set (enabled)
  Last read 00:00:13, hold time = 180, keepalive interval is 60 seconds
  Last written 00:00:16, keepalive timer expiry due 00:00:43
  Received 906098 messages, 1 notifications, 0 bytes in queue
  Sent 200932 messages, 1 notifications, 0 bytes in queue
  Connections established 3, dropped 2
  Last reset by us 1d10h, due to holdtimer expired error
  Last reset by peer 1w1d, due to administratively shutdown

  Neighbor capabilities:
  Dynamic capability: advertised (mp, refresh, gr) received (mp, refresh, gr)
  Dynamic capability (old): advertised received
  Route refresh capability (new): advertised received
  Route refresh capability (old): advertised received
  4-Byte AS capability: advertised received
  Address family IPv4 Unicast: advertised received
  Address family L2VPN EVPN: advertised received
  Graceful Restart capability: advertised received

  Graceful Restart Parameters:
  Address families advertised to peer:
    IPv4 Unicast  L2VPN EVPN
  Address families received from peer:
    IPv4 Unicast  L2VPN EVPN
  Forwarding state preserved by peer for:
  Restart time advertised to peer: 120 seconds
  Stale time for routes advertised by peer: 300 seconds
  Restart time advertised by peer: 120 seconds
  Extended Next Hop Encoding Capability: advertised received
  Receive IPv6 next hop encoding Capability for AF:
    IPv4 Unicast

  Message statistics:
                              Sent               Rcvd
  Opens:                        24                  3
  Notifications:                 1                  1
  Updates:                    8514             743363
  Keepalives:               192374             162725
  Route Refresh:                13                  0
  Capability:                    6                  6
  Total:                    200932             906098
  Total bytes:             4570033           85316584
  Bytes in queue:                0                  0

  For address family: IPv4 Unicast
  BGP table version 10317, neighbor version 10317
  226 accepted paths consume 28024 bytes of memory
  5 sent paths
  Nexthop always set to local peering address, 57.84.92.1388
  Third-party Nexthop will not be computed.
  Last End-of-RIB received 00:00:01 after session start

  For address family: L2VPN EVPN
  BGP table version 1123760, neighbor version 1123760
  8458 accepted paths consume 1048792 bytes of memory
  608 sent paths
  Community attribute sent to this neighbor
  Extended community attribute sent to this neighbor
  Third-party Nexthop will not be computed.
  Last End-of-RIB received 00:00:02 after session start

  Local host: 34.83.217.230, Local port: 31643
  Foreign host: 226.176.223.89, Foreign port: 179
  fd = 82

- accepted_paths: '8458'
  addr_fam_adv: IPv4 Unicast  L2VPN EVPN
  addr_fam_rcv: ''
  addr_family: [IPv4 Unicast, L2VPN EVPN]
  asn: '64826'
  bgp_state: Established
  capability_count_rcvd: '6'
  capability_count_sent: '6'
  conn_dropped: '2'
  conn_estab: '3'
  consumed_mem: '1048792'
  description: from boo to donkey
  ext_nh_cap: advertised received
  fourbyte_cap: advertised received
  graceful_cap: advertised received
  keepalives_count_rcvd: '162725'
  keepalives_count_sent: '192374'
  last_peer_reset: 1w1d
  last_peer_reset_reason: administratively shutdown
  last_reset: 1d10h
  last_reset_reason: holdtimer expired error
  localhost_ip: 34.83.217.230
  localhost_port: '31643'
  nei_table_version: ['10317', '1123760']
  neighbor: 136.170.1.201
  notifications_count_rcvd: '1'
  notifications_count_sent: '1'
  opens_count_rcvd: '743363'
  opens_count_sent: '24'
  remote_ip: 226.176.223.89
  remote_port: '179'
  restart_time_adv: '120'
  restart_time_rcv: '120'
  route_refresh_count_rcvd: '0'
  route_refresh_count_sent: '13'
  rr_new_cap: advertised received
  rr_old_cap: advertised received
  sent_paths: '608'
  source_iface: loopback0
  stale_time: '300'
  table_version: ['10317', '1123760']
  total_bytes_count_rcvd: '85316584'
  total_bytes_count_sent: '4570033'
  total_bytes_rcvd_queue: '0'
  total_bytes_send_queue: '0'
  total_mess_count_rcvd: '906098'
  total_mess_count_sent: '200932'
  updates_count_rcvd: ''
  updates_count_sent: '8514'
  uptime: 1d01h

@GGabriele
Copy link
Contributor

Thansk @dgjustice !

@GGabriele GGabriele merged commit df4184e into networktocode:master Jul 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants