FRR-PIMD(8)

🌸 NAME 🌸

frr-pimd β€” bestie it's a PIM routing engine, designed for use with FRRouting πŸ’– that's literally the whole thing, no notes.


✨ SYNOPSIS ✨

pimd [-h] [-v]

pimd [-d|-t|-dt] [-C] [-f config-file] [-i pid-file] [-z zclient-path]
     [-u user] [-g group] [-A vty-addr] [-P vty-port] [-M module[:options]]
     [-N pathspace] [--vty_socket vty-path] [--moduledir module-path]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so pimd is a routing component that works with the FRRouting routing engine. she's part of the squad, she does her job, she slays πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

here are the OPTIONS available for the pimd command, and yes we are going through all of them, no skipping, no skimming, we're doing this together 🫢

πŸŽ€ HELP AND VERSION πŸŽ€

  • -h, --help β€” prints a short description of the daemon's command line options. very "who am i, what am i doing here" energy πŸ™ˆ
  • -v, --version β€” prints version and build information for the daemon. the receipts, basically.
real talk: both of these options inhibit normal operation and will immediately exit. so like, they don't do anything else, they just answer and leave. iconic behavior honestly.

πŸ’… PROCESS CONTROL πŸ’…

these options control background operation, aka whether she's out here in the open or doing her thing quietly:

  • -d, --daemon β€” launches the process in background/daemon mode, forking and detaching from the terminal. she's independent now, she doesn't need you 😌

The parent process will delay its exit until the daemon/child has finished its initialization and has entered its main loop. This is important for zebra startup because the other daemons will attempt to connect to zebra. A return from zebra -d guarantees its readiness to accept these connections.

  • -t, --terminal β€” opens an interactive VTY session right on the terminal, so you can do both state and configuration operations. note that the terminal starts operating after startup has completed and the configuration file has been loaded β€” she has to get ready first, give her a sec πŸ’–

The process will exit when end of file is detected on the terminal. It is possible to daemonize a process started with -t (but without -d) by sending SIGQUIT to the process (normally mapped to a ^ keypress.)

  • The combination of -d/--daemon and -t/--terminal will delay the daemon from going into background until the terminal session ends (by end of file.)
  • If the process receives SIGINT (e.g. a ^C keypress) in this mode, it will exit instead of daemonizing.
  • It is safe to suspend (SIGTSTP / ^Z) the terminal session opened by the previous two options; this will only stop the terminal but not the protocol daemon itself (which runs in a separate second process.) so yeah, the terminal takes a nap, the daemon keeps vibing πŸ¦‹

🌈 CONFIGURATION AND PATHS 🌈

the following options control configuration and file system locations for frr processes, iykyk:

  • -f, --config_file config-file β€” specify a configuration file to be used instead of the default /etc/frr/<daemon>.conf file.

Note that the daemon will attempt to write to this file if the write file command is issued on its VTY interface or through vtysh. she's not just reading it bestie, she writes back ✍️

  • -C, --dryrun β€” load the configuration file and check its validity, then exit. it's giving dress rehearsal 🎭 nothing gets committed.
  • -i, --pid_file pid-file β€” output a pid file to a location other than the default /var/run/frr/<daemon>.pid.
  • -z, --socket zclient-path β€” override the path of the ZAPI socket used to communicate between zebra and the various protocol daemons. The default is /var/run/frr/zserv.api. The value of this option must be the same across all daemons. like, they all have to agree, no chaos allowed.
  • -N, --pathspace pathspace β€” insert pathspace into all default paths, changing the defaults to:
/etc/frr/pathspace/<daemon>.conf
/var/run/frr/pathspace/<daemon>.pid
/var/run/frr/pathspace/<daemon>.vty
/var/run/frr/pathspace/zserv.api

. and / characters will not be accepted in pathspace, but the empty string will be accepted.

Note that this only changes the respective defaults, it has no effect on the respective path if the -f, -i, -z or --vty_socket options are used.

The purpose of this option is to easily group all file system related bits together for running multiple fully-separate "logical routers" on a system, particularly with Linux network namespaces. Groups of daemons running with distinct pathspace values will be completely unaware of each other and not interact in any way. parallel universes fr fr 🌌

This option does not do any system setup (like network namespaces.) This must be done by the user, for example by running:

ip netns exec namespace <daemon> -N namespace
  • ## 🫢 PROCESS CREDENTIALS 🫢
  • -u, --user user β€” (default: frr)
  • -g, --group group β€” (default: frr)

Change the user/group which the daemon will switch to.

  • -S, --skip_runas β€” skip setting the process effective user and group.
Note that there is an additional group, frrvty, which controls group ownership of the VTY sockets. The name of this group cannot currently be changed, and user must be a member of this group. so if you're getting locked out of the VTY, check your group membership bestie, that's the vibe check πŸ‘€

🧚 VTY SETUP 🧚

these following options control the daemon's VTY (interactive command line) interface. The interface is available over TCP, using the telnet protocol, as well as through the vtysh frontend.

  • -A, --vty_addr vty-addr β€” specify an IP/IPv6 address to bind the TCP VTY interface to. It is generally recommended to specify ::1 or 127.0.0.1. For reasons of backwards compatibility, the default is to listen on all interfaces. which is a lot, so maybe think about it πŸ’€
  • -P, --vty_port vty-port β€” override the daemon's default TCP VTY port (each daemon has a different default value upwards of 2600, listed below.) Specifying 0 disables the TCP VTY interface. ghost mode πŸ‘»

Default ports are::

zebra           2601
ripd            2602
ripngd          2603
ospfd           2604
bgpd            2605
ospf6d          2606
isisd           2608
babeld          2609
nhrpd           2610
pimd            2611
ldpd            2612
eigrpd          2613
pbrd            2615
staticd         2616
bfdd            2617
fabricd         2618
vrrpd           2619

Port 2607 is used for ospfd's Opaque LSA API. so don't go looking for it in the list, it's booked, she's busy ✨

  • --vty_socket vty-path β€” overrides the directory used for the <daemon>.vty sockets. vtysh connects to these sockets in order to access each daemon's VTY. Default: /var/run/frr[/<pathspace>]

NB: Unlike the other options, this option specifies a directory, not a full path.

This option is primarily used by the SNAP packaging system, its semantics may change. It should not be necessary in most other scenarios.

πŸ”₯ MODULE LOADING πŸ”₯

frr supports optional dynamically loadable modules, although these can only be loaded at startup. The set of available modules may vary across distributions and packages, and modules may be available for installation as separate packages. mix and match, but only at the beginning, no take-backsies πŸ™ˆ

  • -M, --module module[:options] β€” load a module named module, optionally passing options to it.

If there is a . character in module, the value is assumed to be a pathname to a module.

Wait, bestie β€” actually it's a / character. So: if there is a / character in module, the value is assumed to be a pathname to a module.

If there is no / character, the module directory (see next option) is searched first for a module named <daemon>_<module>.so, then for <module>.so. This allows for a module to exist in variations appropriate for particular daemons, e.g. zebra_snmp and bgp_snmp, with the correct one selected by -M snmp. she picks the right fit for the occasion, as she should πŸ’…

The meaning of options is specific to the module being loaded. Most modules currently ignore it.

Modules are loaded in the order as listed on the command line. This is not generally relevant.

  • --moduledir module-path β€” look for modules in the module-path directory instead of the default /usr/lib/frr/modules. (This path is not affected by the -N option.)
The list of loaded modules can be inspected at runtime with the show modules VTY command. you can go check on them whenever, they don't mind 🫢

πŸ“ FILES πŸ“

  • /usr/lib/frr/pimd β€” the default location of the pimd binary.
  • /etc/frr/pimd.conf β€” the default location of the pimd config file.
  • $(PWD)/pimd.log β€” if the pimd process is configured to output logs to a file, then you will find this file in the directory where you started pimd. right where you left her πŸ’–

⚠️ WARNING ⚠️

This man page is intended to be a quick reference for command line options. The definitive document is the info file frr latest or the documentation available on the project website at https://frrouting.org/. so like, this is the trailer, that's the full movie 🎬

🩺 DIAGNOSTICS 🩺

The daemon may log to standard output, to a VTY, to a log file, or through syslog to the system logs. FRR supports many debugging options, see the Info file, web docs or source for details. she's got a lot of feelings and a lot of ways to express them 😭


πŸ”— SEE ALSO πŸ”—

frr-zebra(8), vtysh(1), frr-ripd(8), frr-ripngd(8), frr-ospfd(8), frr-ospf6d(8), frr-bgpd(8), frr-isisd(8), frr-babeld(8), frr-nhrpd(8), frr-pimd(8), frr-pbrd(8), frr-ldpd(8), frr-eigrpd(8), frr-staticd(8), frr-fabricd(8), frr-vrrpd(8), mtracebis(8), https://frrouting.org/

the whole friend group, go say hi 🫢✨


πŸ› BUGS πŸ›

FRR eats bugs for breakfast. If you have food for the maintainers, please email dev@lists.frrouting.org. she is hungry, feed her πŸ’€πŸ“


2017, FRR


okay that's the whole page bestie, you made it all the way through and honestly? main character energy πŸ‘‘ this was the frr-pimd(8) manual, from the FRR source, version latest, dated Sep 22, 2026, and the copyright is 2017, FRR. go configure something, i believe in you πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from