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
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@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@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
Donald, Thanks much, that's very helpful! I was expecting to see the options with a '?' on the end of the CLI and apparently they are not all documented yet. - Simon -----Original Message----- From: Donald Sharp <sharpd@cumulusnetworks.com> Sent: Wednesday, 15 January 2020 9:00 AM To: Simon Attwell <sattwell@rgs.qld.edu.au> Cc: frog@lists.frrouting.org Subject: Re: [FROG] VTYSH and BGP options 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@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@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
they should be can you show me a specific example? donald On Tue, Jan 14, 2020 at 6:09 PM Simon Attwell <sattwell@rgs.qld.edu.au> wrote:
Donald,
Thanks much, that's very helpful! I was expecting to see the options with a '?' on the end of the CLI and apparently they are not all documented yet.
- Simon
-----Original Message----- From: Donald Sharp <sharpd@cumulusnetworks.com> Sent: Wednesday, 15 January 2020 9:00 AM To: Simon Attwell <sattwell@rgs.qld.edu.au> Cc: frog@lists.frrouting.org Subject: Re: [FROG] VTYSH and BGP options
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@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@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
I believe the confusion here is regarding hidden commands. Some options are hidden in the CLI, will not show up in tab complete, and will not show up in ?-complete. But you can still enter them and they'll be accepted. We generally do this when 1) something is planned for deprecation, or 2) when there is a different version of the command that it is better practice to use. In the neighbor weight example, weight is a valid option in the top level BGP node after a neighbor statement, but it's hidden there. It isn't hidden in the address family block though, which is where it should go - this sets it on a per-family basis. This is true for the other commands you mentioned. Not exactly the best UX, but there it is. Hope this helps! Quentin On Tue, Jan 14, 2020 at 6:15 PM Donald Sharp <sharpd@cumulusnetworks.com> wrote:
they should be can you show me a specific example?
donald
On Tue, Jan 14, 2020 at 6:09 PM Simon Attwell <sattwell@rgs.qld.edu.au> wrote:
Donald,
Thanks much, that's very helpful! I was expecting to see the options with a '?' on the end of the CLI and
apparently they are not all documented yet.
- Simon
-----Original Message----- From: Donald Sharp <sharpd@cumulusnetworks.com> Sent: Wednesday, 15 January 2020 9:00 AM To: Simon Attwell <sattwell@rgs.qld.edu.au> Cc: frog@lists.frrouting.org Subject: Re: [FROG] VTYSH and BGP options
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@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@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
_______________________________________________ frog mailing list frog@lists.frrouting.org https://lists.frrouting.org/listinfo/frog
participants (3)
-
Donald Sharp -
Quentin Young -
Simon Attwell