mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-02-04 20:07:57 +00:00
* defines.texi.in: New file, texi variables should be set here,
autoconf substitution is available. Define common AUTHORS,
COPYRIGHT_YEAR and COPYRIGHT_STR vars.
* (global): Make use of makeinfo node pointer auto-creation
to avoid having to fully specify links for nodes, so we only have
to specify current node name - simplifies text slightly.
Remove extraneous newlines which appear to cause extra blank pages
to be added in output.
Update copyright strings which appear in various places to
use the new COPYRIGHT_STR texinfo variable.
Change url to uref, the former need not output an actual
hyperlink depending on version of texinfo, the latter should if
supported by the format (eg PDF).
* texinfo.tex: Update to a more recent version. previous file
was many many years old. This file should possibly be removed
altogether, and allowed to be installed by automake.
* quagga.texi: Make use of automake's version.texi feature to
have VERSION and some other vars auto-defined. include
defines.texi. Change copyright strings to use the COPYRIGHT_STR
variable.
* install.texi: Make the privs section an actual section. Ditto for
the Linux notes.
* overview.texi: Supply URL for Quagga, where format allows. Tidy up
one or two paragraphs slightly.
Update the section on supported platforms.
Remove the ZNOG list stuff, direct reader to the website for
further information on email lists.
* vtysh.texi: Update the integrated config file section. Make the
commands sections so correct PDF indexes are built.
52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
@node Zebra Protocol
|
|
@appendix Zebra Protocol
|
|
|
|
Zebra Protocol is a protocol which is used between protocol daemon and
|
|
zebra. Each protocol daemon sends selected routes to zebra daemon. Then
|
|
zebra manages which route is installed into the forwarding table.
|
|
|
|
Zebra Protocol is a TCP-based protocol. Below is common header of Zebra
|
|
Protocol.
|
|
|
|
@example
|
|
@group
|
|
0 1 2 3
|
|
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
| Length (2) | Command (1) |
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
@end group
|
|
@end example
|
|
|
|
Length is total packet length including this header length. So minimum
|
|
length is three. Command is Zebra Protocol command.
|
|
|
|
@example
|
|
ZEBRA_INTERFACE_ADD 1
|
|
ZEBRA_INTERFACE_DELETE 2
|
|
ZEBRA_INTERFACE_ADDRESS_ADD 3
|
|
ZEBRA_INTERFACE_ADDRESS_DELETE 4
|
|
ZEBRA_INTERFACE_UP 5
|
|
ZEBRA_INTERFACE_DOWN 6
|
|
ZEBRA_IPV4_ROUTE_ADD 7
|
|
ZEBRA_IPV4_ROUTE_DELETE 8
|
|
ZEBRA_IPV6_ROUTE_ADD 9
|
|
ZEBRA_IPV6_ROUTE_DELETE 10
|
|
ZEBRA_REDISTRIBUTE_ADD 11
|
|
ZEBRA_REDISTRIBUTE_DELETE 12
|
|
ZEBRA_REDISTRIBUTE_DEFAULT_ADD 13
|
|
ZEBRA_REDISTRIBUTE_DEFAULT_DELETE 14
|
|
ZEBRA_IPV4_NEXTHOP_LOOKUP 15
|
|
ZEBRA_IPV6_NEXTHOP_LOOKUP 16
|
|
@end example
|
|
|
|
@example
|
|
@group
|
|
0 1 2 3
|
|
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
| Type | Flags |
|
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
@end group
|
|
@end example
|