mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-01-17 00:38:06 +00:00
fix configuration for ping commands
fix configuration for ping commands
This commit is contained in:
parent
30f6143941
commit
a6de16666b
2 changed files with 8 additions and 8 deletions
|
|
@ -17,11 +17,11 @@ bgp_community = 'show bgp all unicast community {target} | utility egrep -v "\(B
|
|||
bgp_aspath = 'show bgp all unicast regexp {target} | utility egrep -v "\(BGP |Table |Non-stop\)"'
|
||||
[cisco_xr.ipv4]
|
||||
bgp_route = 'show bgp ipv4 unicast {target} | util egrep "\(BGP routing table entry|Path \#|aggregated by|Origin |Community:|validity| from \)"'
|
||||
ping = "ping ipv4 {target} count 5 source {src_addr_ipv4}"
|
||||
ping = "ping ipv4 {target} count 5 source {source}"
|
||||
traceroute = "traceroute ipv4 {target} timeout 1 probe 2 source {source}"
|
||||
[cisco_xr.ipv6]
|
||||
bgp_route = 'show bgp ipv6 unicast {target} | util egrep "\(BGP routing table entry|Path \#|aggregated by|Origin |Community:|validity| from \)"'
|
||||
ping = "ping ipv6 {target} count 5 source {src_addr_ipv6}"
|
||||
ping = "ping ipv6 {target} count 5 source {source}"
|
||||
traceroute = "traceroute ipv6 {target} timeout 1 probe 2 source {source}"
|
||||
|
||||
[[juniper]]
|
||||
|
|
@ -30,9 +30,9 @@ bgp_community = "show route protocol bgp community {target}"
|
|||
bgp_aspath = "show route protocol bgp aspath-regex {target}"
|
||||
[juniper.ipv4]
|
||||
bgp_route = "show route protocol bgp table inet.0 {target} detail"
|
||||
ping = "ping inet {target} count 5 source {src_addr_ipv4}"
|
||||
ping = "ping inet {target} count 5 source {source}"
|
||||
traceroute = "traceroute inet {target} wait 1 source {source}"
|
||||
[juniper.ipv6]
|
||||
bgp_route = "show route protocol bgp table inet6.0 {target} detail"
|
||||
ping = "ping inet6 {target} count 5 source {src_addr_ipv6}"
|
||||
ping = "ping inet6 {target} count 5 source {source}"
|
||||
traceroute = "traceroute inet6 {target} wait 1 source {source}"
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@ bgp_community = 'show bgp all unicast community {target} | utility egrep -v "\(B
|
|||
bgp_aspath = 'show bgp all unicast regexp {target} | utility egrep -v "\(BGP |Table |Non-stop\)"'
|
||||
[cisco_xr.ipv4]
|
||||
bgp_route = 'show bgp ipv4 unicast {target} | util egrep "\(BGP routing table entry|Path \#|aggregated by|Origin |Community:|validity| from \)"'
|
||||
ping = "ping ipv4 {target} count 5 source {src_addr_ipv4}"
|
||||
ping = "ping ipv4 {target} count 5 source {source}"
|
||||
traceroute = "traceroute ipv4 {target} timeout 1 probe 2 source {source}"
|
||||
[cisco_xr.ipv6]
|
||||
bgp_route = 'show bgp ipv6 unicast {target} | util egrep "\(BGP routing table entry|Path \#|aggregated by|Origin |Community:|validity| from \)"'
|
||||
ping = "ping ipv6 {target} count 5 source {src_addr_ipv6}"
|
||||
ping = "ping ipv6 {target} count 5 source {source}"
|
||||
traceroute = "traceroute ipv6 {target} timeout 1 probe 2 source {source}"
|
||||
|
||||
[[juniper]]
|
||||
|
|
@ -30,9 +30,9 @@ bgp_community = "show route protocol bgp community {target}"
|
|||
bgp_aspath = "show route protocol bgp aspath-regex {target}"
|
||||
[juniper.ipv4]
|
||||
bgp_route = "show route protocol bgp table inet.0 {target} detail"
|
||||
ping = "ping inet {target} count 5 source {src_addr_ipv4}"
|
||||
ping = "ping inet {target} count 5 source {source}"
|
||||
traceroute = "traceroute inet {target} wait 1 source {source}"
|
||||
[juniper.ipv6]
|
||||
bgp_route = "show route protocol bgp table inet6.0 {target} detail"
|
||||
ping = "ping inet6 {target} count 5 source {src_addr_ipv6}"
|
||||
ping = "ping inet6 {target} count 5 source {source}"
|
||||
traceroute = "traceroute inet6 {target} wait 1 source {source}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue