Closed troglobit closed 5 years ago
As of c8dd845 the new pimctl tool is quite useful. It has the following commands, and a separate man page:
Usage: pimctl [OPTIONS] [COMMAND]
Options:
-b, --batch Batch mode, no screen size probing
-d, --detail Detailed output, where applicable
-i, --ident=NAME Connect to named pimd instance
-p, --plain Use plain table headings, no ctrl chars
-t, --no-heading Skip table headings
-v, --verbose Verbose output
-h, --help This help text
Commands:
debug [? | none | SYS] Debug subystem(s), separate multiple with comma
help This help text
kill Kill running daemon, like SIGTERM
log [? | none | LEVEL] Set pimd log level: none, err, notice*, info, debug
restart Restart pimd and reload .conf file, like SIGHUP
version Show pimd version
show status Show pimd status, default
show igmp groups Show IGMP group memberships
show igmp interface Show IGMP interface status
show pim interface Show PIM interface table
show pim neighbor Show PIM neighbor table
show pim routes Show PIM routing table
show pim rp Show PIM Rendezvous-Point (RP) set
show pim crp Show PIM Candidate Rendezvous-Point (CRP) from BSR
show pim compat Show PIM status, compat mode, previously `pimd -r`
So I consider this issue resolved :smiley:
For pimd 3.0 I'd like to see a
pimctl
replacepimd -r
for showing state of VIFs and the multicast routing table. It could also be used to perform commands likereload
/restart
,flush
andkill
. Unlike a signal,pimctl
would not return untilpimd
has completed the request.Nothing fancy, but more along the lines of the
smcroutectl
tool I wrote for smcroute.