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

Add template for cisco_ios_show_ip_eigrp_neighbors_detail command #1462

Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Value Filldown AS (\d+)
Value Required H (\d+)
Value Required IP_ADDRESS ([0-9A-Fa-f:\.]+)
Value INTERFACE (\S+)
Value HOLD (\d+)
Value UPTIME (\S+)
Value SRTT (\d+)
Value RTO (\d+)
Value Q_CNT (\d+)
Value SEQ_NUM (\d+)
Value Version (\S+)
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved
Value RETRANS (\d+)
Value RETRIES (\d+)
Value PREFIXES (\d+)
Value TOPOLOGY_IDS_FROM_PEER (\d+)
Value Fillup MAX_NEIGHBORS (\d+)
Value Fillup CURRENT_NEIGHBORS (\d+)

Start
^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s*$$
^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s+VRF default\s*$$
^\s*H\s+Address\s+Interface\s+Hold\s+Uptime\s+SRTT\s+RTO\s+Q\s+Seq\s*$$
^\s+\(sec\)\s+\(ms\)\s+Cnt\s+Num\s*$$ -> Neighbors

Neighbors
^\s*${H}\s+${IP_ADDRESS}\s+${INTERFACE}\s+${HOLD}\s+${UPTIME}\s+${SRTT}\s+${RTO}\s+${Q_CNT}\s+${SEQ_NUM}\s*$$
^\s*Version\s+${Version},\s+Retrans:\s+${RETRANS},\s+Retries:\s+${RETRIES},\s+Prefixes:\s+${PREFIXES}\s*$$
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved
^\s*Topology-ids\s+from\s+peer\s+\-\s+${TOPOLOGY_IDS_FROM_PEER}\s*$$ -> Record
^\s*Max\s+Nbrs\:\s+${MAX_NEIGHBORS}\,\s+Current\s+Nbrs\:\s+${CURRENT_NEIGHBORS}\s*$$
^\s*$$
^.* -> Error

EOF
1 change: 1 addition & 0 deletions ntc_templates/templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ cisco_ios_show_port-security_interface_interface.textfsm, .*, cisco_ios, sh[[ow]
cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]]
cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp vpnv4 all nei[[ghbors]]
cisco_ios_show_ip_eigrp_interfaces_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] i[[nterfaces]] de[[tail]]
cisco_ios_show_ip_eigrp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] de[[tail]]
cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]]
cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]]
cisco_ios_show_crypto_pki_certificates.textfsm, .*, cisco_ios, sh[[ow]] cry[[pto]] p[[ki]] ce[[rtificates]]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
EIGRP-IPv4 Neighbors for AS(215)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 81.211.127.255 Tu5 13 18:52:46 55 330 0 1042408760
Version 25.0/2.0, Retrans: 1, Retries: 0, Prefixes: 952
Topology-ids from peer - 0
0 83.151.157.254 Tu5 12 6d08h 50 300 0 564418354
Version 25.0/2.0, Retrans: 6, Retries: 0, Prefixes: 952
Topology-ids from peer - 0
Max Nbrs: 0, Current Nbrs: 0
jmcgill298 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
parsed_sample:
- as: "215"
h: "1"
ip_address: "81.211.127.255"
interface: "Tu5"
hold: "13"
uptime: "18:52:46"
srtt: "55"
rto: "330"
q_cnt: "0"
seq_num: "1042408760"
version: "25.0/2.0"
retrans: "1"
retries: "0"
prefixes: "952"
topology_ids_from_peer: "0"
max_neighbors: "0"
current_neighbors: "0"
- as: "215"
h: "0"
ip_address: "83.151.157.254"
interface: "Tu5"
hold: "12"
uptime: "6d08h"
srtt: "50"
rto: "300"
q_cnt: "0"
seq_num: "564418354"
version: "25.0/2.0"
retrans: "6"
retries: "0"
prefixes: "952"
topology_ids_from_peer: "0"
max_neighbors: "0"
current_neighbors: "0"