service-heartbeat-create
NetVisor OS generates a packet from the CPU to send to the receive port of an Inline Service, and the NetVisor vFlow configured for snooping is not port-specific, as NetVisor accepts the response from either the receive port or the transmit port. You configure the heartbeat as an additional parameter for a specific Inline Service.
Syntax service-heartbeat-create
name name-string |
Specify the name for the Heartbeat Service. |
interval duration: #d#h#m#s |
Specify the interval between heartbeat packets. |
retry retry-number |
Specify the number of times to retry sending a packet. |
vlan vlan-id5 |
Specify a VLAN ID. |
src-mac mac-address |
Specify the source port MAC address. |
dst-mac mac-address |
Specify the destination MAC address. |
type normal|pass-through |
Specify the type of heartbeat response as normal or passthrough. A normal response indicates that the Inline Service sends the response. A passthrough response indicates that NetVisor sends the response, and returns it to the Inline Service. |
payload payload-string |
Specify the payload for the heartbeat packet. |
Defaults None
Access Network Administrator
History
Version 2.6.0 |
Command introduced. |
Usage Use this command to create a Heartbeat Service configuration.
Examples To create a Heartbeat Service, use the following syntax:
CLI (network-admin@switch) > service-heartbeat-create name FW_probe interval 5s retry 3 vlan-id 10 src-mac 64:6e:11:1c:11:11 dst-mac 01:1b:11:01:01:01 type normal payload 54 63 82 ff 01 46 12 ce a2 d4 00 00 00 00 00 00 00 00