Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 5


SNMP cannot currently use a switch port to send data. For any SNMP traps, this traffic gets sent out to eth0. Cumulus Networks will support switch ports in the future.

This restriction only applies to traps; SNMP polling is not affected.

However, with management VRF enabled, hsflowd sends traffic out of the front panel (switch) ports. To enable hsflowd to use the management VRF routing table, edit /etc/init.d/hsflowd and remove the following if condition that checks if management VRF is enabled (the if condition is the three lines that start with if and end with fi below):

Code Block
cumulus@switch:~$ sudo nano /etc/init.d/hsflowd
 if UUID=`inm_uuid`; then

 # Return
 # 0 if daemon has been started
 # 1 if daemon was already running
 # 2 if daemon could not be started
 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
 || return 1
 start-stop-daemon --start --quiet --pidfile $PIDFILE \
 --exec $DAEMON -- \
 || return 2
 # Add code here, if necessary, that waits for the process to be ready
 # to handle requests from services started subsequently which depend
 # on this one. As a last resort, sleep for some time.

After you save your changes to the hsflowd file, restart the hsflowd service:

Code Block
cumulus@switch:~$ sudo service hsflowd restart


If you SSH to the switch through a switch port, it works as expected. If you need to SSH from the device out a switch port, use ssh -b <ip_address_of_swp_port>. For example: