gvrpad is a daemon that makes GVRP announcements of all VLAN interfaces on a FreeBSD system.
GVRP is the GARP VLAN Registration Protocol, defined in IEEE 802.1Q (VLANS); GARP is the Generic Attribute Registration Protocol, defined in 802.1D (bridging). The protocol allows switches or trunked end stations to announce to the network what VLANs should be forwarded to that device. The effect is that VLANs only need to be configured on the member ports; the protocol figures out which trunk ports are effectively also members.
This daemon just announces the VLANs statically configured on each interface to that interface. It does not listen for inbound GVRP announcements.
gvrpad [< options >] [< interface > ...]
-d: Write debug messages to stdout.
-f: Run in foreground; do not daemonise.
-i < pidfile >: Write the PID of the running process into < pidfile >. (Send a SIGINT to the process to terminate it).
-l < count >: Send LeaveAll actions every < count > updates. Use -l 1 to send LeaveAll with every update. The default is to send LeaveAll every 3 updates.
-t < seconds >: Set time in seconds to wait between updates. The default is 3.
-x: Exclude the listed interfaces.
-V: Display version, copyright and warranty information.
The handling of interface parameters is as follows:
If no parameters are provided, all interfaces that have VLANs configured on them will be sent GVRP announcements.
If interfaces are listed, and the -x switch is not specified, only interfaces that have VLANs configured on them AND are included in the parameter list will receive GVRP updates.
If interfaces are listed the -x switch is specified, all interfaces with VLANs configured, but are NOT included in the parameter list will received GVRP announcements.
The interface parameters are string matched on interfaces found on the system; a mis-spelled name will not generate an error.