Go to file
Michael Lambert 95cbbd2ace bgpd: New show commands for improved view and address family support
Many show commands do not have support for multiple views and do not
treat different address families uniformly.  The following changes add
a number of commands with support for views and rationalized treatment
of IPv4 v IPv6 and unicast v multicast (such as in JUNOS, IOS XR and
more recent versions of IOS).

* bgp_route.c: (bgp_show_community) Inserted a new second argument (the
  name of the view) and the code to look up that name in the BGP structure.
  The NULL argument in the call to bgp_show (indicating the default view)
  was replaced by the specified view.  The existing calls to
  bgp_show_community had a NULL second argument inserted to make clear
  that they refer to the default view.

  (top level) Added new functions via the DEFUN and/or ALIAS macros (and
  the associated command table entries) to add the commands

    show bgp ipv4 (unicast|multicast)
    show bgp ipv4 (unicast|multicast) A.B.C.D
    show bgp ipv4 (unicast|multicast) A.B.C.D/M
    show bgp ipv6 (unicast|multicast)
    show bgp ipv6 (unicast|multicast) X:X::X:X
    show bgp ipv6 (unicast|multicast) X:X::X:X/M

      These show either the full BGP table or the specified route or
      prefix for the given address family.

    show bgp view WORD (ipv4|ipv6) (unicast|multicast) community
    show bgp view WORD (ipv4|ipv6) (unicast|multicast) community \
            (AA:NN|local-AS|no-advertise|no-export){1,4}

      For the specified view and address family, these show entries
      matching any community or the specified communit(y)(ies).

    show bgp view WORD (ipv4|ipv6) (unicast|multicast) neighbors \
            (A.B.C.D|X:X::X:X) (advertised-routes|received-routes)

      For the specified view and address family, show the routes
      advertised to or received from the given BGP neighbor.

    show bgp [view WORD] ipv4 (unicast|multicast) \
            rsclient (A.B.C.D|X:X::X:X)
    show bgp [view WORD] ipv4 (unicast|multicast) \
            rsclient (A.B.C.D|X:X::X:X) A.B.C.D
    show bgp [view WORD] ipv4 (unicast|multicast) \
            rsclient (A.B.C.D|X:X::X:X) A.B.C.D/M
    show bgp [view WORD] ipv6 (unicast|multicast) \
            rsclient (A.B.C.D|X:X::X:X)
    show bgp [view WORD] ipv6 (unicast|multicast) \
            rsclient (A.B.C.D|X:X::X:X) X:X::X:X
    show bgp [view WORD] ipv6 (unicast|multicast) \
            rsclient (A.B.C.D|X:X::X:X) X:X::X:X/M

      For the specifed (optional) view and address family, show either
      the full BGP table or the specified route or prefix for the given
      route server client peer.

* bgp_vty.c: (top level) Added new functions via the DEFUN and/or ALIAS
  macros (and the associated command table entries) to add the commands

    show bgp [view WORD] (ipv4|ipv6) (unicast|multicast) summary
    show bgp [view WORD] (ipv4|ipv6) (unicast|multicast) rsclient summary

      For the specified (optional) view and address family, display
      either the normal summary table for BGP peers, or the route server
      client table showing the import and export policies.
2011-03-21 17:30:52 +00:00
bgpd bgpd: New show commands for improved view and address family support 2011-03-21 17:30:52 +00:00
doc bgpd: Remove AS Path limit/TTL functionality 2011-03-21 13:51:14 +00:00
guile [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
init [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
isisd isisd: change ISIS_METHOD to use C preprocessor 2010-04-28 20:15:44 -04:00
lib lib: zlog should clean up its memory 2011-03-21 13:30:54 +00:00
m4 [trivia] Make 'make dist' happy about ChangeLog expunge 2008-08-23 08:36:42 +01:00
ospf6d ospf6d: Extend the "[no] debug ospf6 route" vty commands 2011-03-21 13:31:16 +00:00
ospfclient [cleanup] Add log.h includes 2009-06-24 21:49:53 +01:00
ospfd ospfd: Remove oi field from LSA, have network_lsa_refresh look up when needed 2010-12-08 17:13:19 +00:00
pkgsrc [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
ports [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
redhat [rpm] some defaults for Fedora are way out of date 2008-11-29 16:42:04 +00:00
ripd ripd: resolve debug statements issue (bug 442) 2011-02-24 13:52:14 +03:00
ripngd ripngd: copy debug statements fix from ripd 2011-03-13 01:14:08 +03:00
solaris [trivia] work around ksh93 builtin name (#451) 2009-06-23 17:28:23 +04:00
tests bgpd: fix handling of AS path data 2010-08-09 22:31:37 +04:00
tools [administrivia] Git should ignore backup files and .loT files 2008-08-22 20:00:46 +01:00
vtysh [vtysh] Save vtysh history to a file 2009-06-24 22:26:38 +01:00
watchquagga all: check return value from daemon() call 2009-08-13 10:21:13 +01:00
zebra Zebra zserv: bogus conditional 2010-08-19 13:44:05 -04:00
.cvsignore Ignore <dist tarball>.asc - i always seem to have one hanging around from 2005-01-12 23:49:05 +00:00
.gitignore build: ignore mkinstalldirs and texinfo.tex 2010-04-28 20:57:44 -04:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
ChangeLog [trivia] Make 'make dist' happy about ChangeLog expunge 2008-08-23 08:36:42 +01:00
configure.ac release: 0.99.18 2011-03-21 14:56:00 +00:00
COPYING Initial revision 2002-12-13 20:15:29 +00:00
COPYING.LIB Initial revision 2002-12-13 20:15:29 +00:00
HACKING infrastructure: Express preference for published git repos 2010-11-03 07:37:23 -04:00
HACKING.pending Adjust description of tomhenderson repo. 2010-11-03 07:16:32 -04:00
INSTALL.quagga.txt de-support NetBSD 1.6, and note that FreeBSD 4 is on thin ice. 2007-02-06 19:56:31 +00:00
Makefile.am [doc] Add "--disable-doc" to configure 2009-06-25 14:01:19 +01:00
NEWS + note the meta-queue in NEWS 2008-06-07 17:54:38 +00:00
README 2004-11-12 Paul Jakma <paul@dishone.st> 2004-11-12 10:30:21 +00:00
README.NetBSD build/extra: Enhance README.NetBSD make/gmake decision. 2010-04-20 12:44:21 -04:00
REPORTING-BUGS Update for git and emphasize asking for good reports. 2010-05-05 07:51:26 -04:00
SERVICES 2607/tcp is already used by ospfapi. 2003-12-23 10:42:45 +00:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00
TODO [TODO] Note MED functionality we should implement 2006-03-30 14:36:23 +00:00
update-autotools * README.NetBSD: use update-autotools instead of autoreconf 2007-02-02 16:52:38 +00:00

Quagga is free software that manages various IPv4 and IPv6 routing
protocols.

Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1,
RIPv2, and RIPng as well as very early support for IS-IS.
  
See the file INSTALL.quagga.txt for building and installation instructions.
  
See the file REPORTING-BUGS to report bugs.
  
Quagga is free software. See the file COPYING for copying conditions.