From e526ac29d1b8870e5b6ad71e53804fc85c101643 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 13 Apr 2020 01:02:19 -0700 Subject: [PATCH] fix examples --- hyperglass/examples/commands.yaml | 125 ++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) diff --git a/hyperglass/examples/commands.yaml b/hyperglass/examples/commands.yaml index e69de29..3145145 100644 --- a/hyperglass/examples/commands.yaml +++ b/hyperglass/examples/commands.yaml @@ -0,0 +1,125 @@ +# arista: +# ipv4_default: +# bgp_aspath: show ip bgp regexp {target} +# bgp_community: show ip bgp community {target} +# bgp_route: show ip bgp {target} +# ping: ping ip {target} source {source} +# traceroute: traceroute ip {target} source {source} +# ipv4_vpn: +# bgp_aspath: show ip bgp regexp {target} vrf {vrf} +# bgp_community: show ip bgp community {target} vrf {vrf} +# bgp_route: show ip bgp {target} vrf {vrf} +# ping: ping vrf {vrf} ip {target} source {source} +# traceroute: traceroute vrf {vrf} ip {target} source {source} +# ipv6_default: +# bgp_aspath: show ipv6 bgp regexp {target} +# bgp_community: show ipv6 bgp community {target} +# bgp_route: show ipv6 bgp {target} +# ping: ping ipv6 {target} source {source} +# traceroute: traceroute ipv6 {target} source {source} +# ipv6_vpn: +# bgp_aspath: show ipv6 bgp regexp {target} vrf {vrf} +# bgp_community: show ipv6 bgp community {target} vrf {vrf} +# bgp_route: show ipv6 bgp {target} vrf {vrf} +# ping: ping vrf {vrf} ipv6 {target} source {source} +# traceroute: traceroute vrf {vrf} ipv6 {target} source {source} +# cisco_ios: +# ipv4_default: +# bgp_aspath: show bgp ipv4 unicast quote-regexp "{target}" +# bgp_community: show bgp ipv4 unicast community {target} +# bgp_route: show bgp ipv4 unicast {target} | exclude pathid:|Epoch +# ping: ping {target} repeat 5 source {source} +# traceroute: traceroute {target} timeout 1 probe 2 source {source} +# ipv4_vpn: +# bgp_aspath: show bgp vpnv4 unicast vrf {vrf} quote-regexp "{target}" +# bgp_community: show bgp vpnv4 unicast vrf {vrf} community {target} +# bgp_route: show bgp vpnv4 unicast vrf {vrf} {target} +# ping: ping vrf {vrf} {target} repeat 5 source {source} +# traceroute: traceroute vrf {vrf} {target} timeout 1 probe 2 source {source} +# ipv6_default: +# bgp_aspath: show bgp ipv6 unicast quote-regexp "{target}" +# bgp_community: show bgp ipv6 unicast community {target} +# bgp_route: show bgp ipv6 unicast {target} | exclude pathid:|Epoch +# ping: ping ipv6 {target} repeat 5 source {source} +# traceroute: traceroute ipv6 {target} timeout 1 probe 2 source {source} +# ipv6_vpn: +# bgp_aspath: show bgp vpnv6 unicast vrf {vrf} quote-regexp "{target}" +# bgp_community: show bgp vpnv6 unicast vrf {vrf} community {target} +# bgp_route: show bgp vpnv6 unicast vrf {vrf} {target} +# ping: ping vrf {vrf} {target} repeat 5 source {source} +# traceroute: traceroute vrf {vrf} {target} timeout 1 probe 2 source {source} +# cisco_xr: +# ipv4_default: +# bgp_aspath: show bgp ipv4 unicast regexp {target} +# bgp_community: show bgp ipv4 unicast community {target} +# bgp_route: show bgp ipv4 unicast {target} +# ping: ping ipv4 {target} count 5 source {source} +# traceroute: traceroute ipv4 {target} timeout 1 probe 2 source {source} +# ipv4_vpn: +# bgp_aspath: show bgp vpnv4 unicast vrf {vrf} regexp {target} +# bgp_community: show bgp vpnv4 unicast vrf {vrf} community {target} +# bgp_route: show bgp vpnv4 unicast vrf {vrf} {target} +# ping: ping vrf {vrf} {target} count 5 source {source} +# traceroute: traceroute vrf {vrf} {target} timeout 1 probe 2 source {source} +# ipv6_default: +# bgp_aspath: show bgp ipv6 unicast regexp {target} +# bgp_community: show bgp ipv6 unicast community {target} +# bgp_route: show bgp ipv6 unicast {target} +# ping: ping ipv6 {target} count 5 source {source} +# traceroute: traceroute ipv6 {target} timeout 1 probe 2 source {source} +# ipv6_vpn: +# bgp_aspath: show bgp vpnv6 unicast vrf {vrf} regexp {target} +# bgp_community: show bgp vpnv6 unicast vrf {vrf} community {target} +# bgp_route: show bgp vpnv6 unicast vrf {vrf} {target} +# ping: ping vrf {vrf} {target} count 5 source {source} +# traceroute: traceroute vrf {vrf} {target} timeout 1 probe 2 source {source} +# huawei: +# ipv4_default: +# bgp_aspath: display bgp routing-table regular-expression {target} +# bgp_community: display bgp routing-table regular-expression {target} +# bgp_route: display bgp routing-table {target} +# ping: ping -c 5 -a {source} {target} +# traceroute: tracert -q 2 -f 1 -a {source} {target} +# ipv4_vpn: +# bgp_aspath: display bgp vpnv4 vpn-instance {vrf} routing-table regular-expression {target} +# bgp_community: display bgp vpnv4 vpn-instance {vrf} routing-table regular-expression {target} +# bgp_route: display bgp vpnv4 vpn-instance {vrf} routing-table {target} +# ping: ping -vpn-instance {vrf} -c 5 -a {source} {target} +# traceroute: tracert -q 2 -f 1 -vpn-instance {vrf} -a {source} {target} +# ipv6_default: +# bgp_aspath: display bgp ipv6 routing-table regular-expression {target} +# bgp_community: display bgp ipv6 routing-table community {target} +# bgp_route: display bgp ipv6 routing-table {target} +# ping: ping ipv6 -c 5 -a {source} {target} +# traceroute: tracert ipv6 -q 2 -f 1 -a {source} {target} +# ipv6_vpn: +# bgp_aspath: display bgp vpnv6 vpn-instance {vrf} routing-table regular-expression {target} +# bgp_community: display bgp vpnv6 vpn-instance {vrf} routing-table regular-expression {target} +# bgp_route: display bgp vpnv6 vpn-instance {vrf} routing-table {target} +# ping: ping vpnv6 vpn-instance {vrf} -c 5 -a {source} {target} +# traceroute: tracert -q 2 -f 1 vpn-instance {vrf} -a {source} {target} +# juniper: +# ipv4_default: +# bgp_aspath: show route protocol bgp table inet.0 aspath-regex "{target}" +# bgp_community: show route protocol bgp table inet.0 community {target} +# bgp_route: show route protocol bgp table inet.0 {target} detail | except Label | except Label | except "Next hop type" | except Task | except Address | except "Session Id" | except State | except "Next-hop reference" | except destinations | except "Announcement bits" +# ping: ping inet {target} count 5 source {source} +# traceroute: traceroute inet {target} wait 1 source {source} +# ipv4_vpn: +# bgp_aspath: show route protocol bgp table {vrf}.inet.0 aspath-regex "{target}" +# bgp_community: show route protocol bgp table {vrf}.inet.0 community {target} +# bgp_route: show route protocol bgp table {vrf}.inet.0 {target} detail | except Label | except Label | except "Next hop type" | except Task | except Address | except "Session Id" | except State | except "Next-hop reference" | except destinations | except "Announcement bits" +# ping: ping inet routing-instance {vrf} {target} count 5 source {source} +# traceroute: traceroute inet routing-instance {vrf} {target} wait 1 source {source} +# ipv6_default: +# bgp_aspath: show route protocol bgp table inet6.0 aspath-regex "{target}" +# bgp_community: show route protocol bgp table inet6.0 community {target} +# bgp_route: show route protocol bgp table inet6.0 {target} detail | except Label | except Label | except "Next hop type" | except Task | except Address | except "Session Id" | except State | except "Next-hop reference" | except destinations | except "Announcement bits" +# ping: ping inet6 {target} count 5 source {source} +# traceroute: traceroute inet6 {target} wait 2 source {source} +# ipv6_vpn: +# bgp_aspath: show route protocol bgp table {vrf}.inet6.0 aspath-regex "{target}" +# bgp_community: show route protocol bgp table {vrf}.inet6.0 community {target} +# bgp_route: show route protocol bgp table {vrf}.inet6.0 {target} detail | except Label | except Label | except "Next hop type" | except Task | except Address | except "Session Id" | except State | except "Next-hop reference" | except destinations | except "Announcement bits" +# ping: ping inet6 routing-instance {vrf} {target} count 5 source {source} +# traceroute: traceroute inet6 routing-instance {vrf} {target} wait 2 source {source}