[FROG] VTYSH and BGP options

Donald Sharp sharpd at cumulusnetworks.com
Tue Jan 14 17:59:55 EST 2020


Simon -

Use the `find XXX` command it helps tremendously.

eva# find as-path
  (view)  show bgp as-path-access-list WORD
  (view)  show bgp as-path-access-list
  (view)  show ip as-path-access-list WORD
  (view)  show ip as-path-access-list
  (enable)  show bgp as-path-access-list WORD
  (enable)  show bgp as-path-access-list
  (enable)  show ip as-path-access-list WORD
  (enable)  show ip as-path-access-list
  (config)  bgp as-path access-list WORD <deny|permit> LINE...
  (config)  no bgp as-path access-list WORD <deny|permit> LINE...
  (config)  no bgp as-path access-list WORD
  (config)  no ip as-path access-list WORD
  (bgp)  bgp bestpath as-path confed
  (bgp)  bgp bestpath as-path ignore
  (bgp)  bgp bestpath as-path multipath-relax [<as-set|no-as-set>]
  (bgp)  neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp)  neighbor <A.B.C.D|X:X::X:X|WORD>$neighbor sender-as-path-loop-detection
  (bgp)  no bgp bestpath as-path confed
  (bgp)  no bgp bestpath as-path ignore
  (bgp)  no bgp bestpath as-path multipath-relax [<as-set|no-as-set>]
  (bgp)  no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp)  no neighbor <A.B.C.D|X:X::X:X|WORD>$neighbor
sender-as-path-loop-detection
  (bgp vpnv4)  neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp vpnv4)  no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp vpnv6)  neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp vpnv6)  no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp ipv4 unicast)  neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv4 unicast)  no neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv4 multicast)  neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv4 multicast)  no neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv4 labeled unicast)  neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv4 labeled unicast)  no neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv6)  neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp ipv6)  no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp ipv6 multicast)  neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv6 multicast)  no neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv6 labeled unicast)  neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp ipv6 labeled unicast)  no neighbor <A.B.C.D|X:X::X:X|WORD>
attribute-unchanged [{as-path|next-hop|med}]
  (bgp evpn)  neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (bgp evpn)  no neighbor <A.B.C.D|X:X::X:X|WORD> attribute-unchanged
[{as-path|next-hop|med}]
  (routemap)  match as-path WORD
  (routemap)  no match as-path [WORD]
  (routemap)  no set as-path exclude (1-4294967295)...
  (routemap)  no set as-path exclude
  (routemap)  no set as-path prepend [(1-4294967295)]
  (routemap)  no set as-path prepend last-as [(1-10)]
  (routemap)  set as-path exclude (1-4294967295)...
  (routemap)  set as-path prepend (1-4294967295)...
  (routemap)  set as-path prepend last-as (1-10)

eva# find weight
  (nexthop-group)  [no] nexthop        <   <A.B.C.D|X:X::X:X>$addr
[INTERFACE$intf]   |INTERFACE$intf > [{    nexthop-vrf NAME$vrf_name
 |label WORD            |weight (1-255) }]
  (eigrp)  metric weights (0-255)$k1 (0-255)$k2 (0-255)$k3 (0-255)$k4
(0-255)$k5 [(0-255)$k6]
  (eigrp)  no metric weights [(0-255) (0-255) (0-255) (0-255) (0-255) (0-255)]
  (bgp)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp)  no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]
  (bgp vpnv4)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp vpnv4)  no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]
  (bgp vpnv6)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp vpnv6)  no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]
  (bgp ipv4 unicast)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp ipv4 unicast)  no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]
  (bgp ipv4 multicast)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp ipv4 multicast)  no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]
  (bgp ipv4 labeled unicast)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp ipv4 labeled unicast)  no neighbor <A.B.C.D|X:X::X:X|WORD>
weight [(0-65535)]
  (bgp ipv6)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp ipv6)  no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]
  (bgp ipv6 multicast)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp ipv6 multicast)  no neighbor <A.B.C.D|X:X::X:X|WORD> weight [(0-65535)]
  (bgp ipv6 labeled unicast)  neighbor <A.B.C.D|X:X::X:X|WORD> weight (0-65535)
  (bgp ipv6 labeled unicast)  no neighbor <A.B.C.D|X:X::X:X|WORD>
weight [(0-65535)]
  (routemap)  no set weight [(0-4294967295)]
  (routemap)  set weight (0-4294967295)

donald

On Tue, Jan 14, 2020 at 5:55 PM Simon Attwell <sattwell at rgs.qld.edu.au> wrote:
>
> Hi All,
>
>
>
> New install of FRR on a Debian box, doing BGP on a couple of interfaces in a VRF (netns based).
>
> All is good except most of the bgp neighbour options are missing in VTYSH (neighbor <peer> <option>).
>
> In particular the options for weight or as-prepent or as-path filtering are missing.
>
> Is there something obvious I’m missing?
>
>
>
> Simon
>
> _______________________________________________
> frog mailing list
> frog at lists.frrouting.org
> https://lists.frrouting.org/listinfo/frog



More information about the frog mailing list