Change the same line to catch both IPV4 and IPV6 addresses.
FORWARD * .* * * -nosmtrapaddr localhost:7071The Trap Exploder (TE) will now forward both ipv4 and ipv6 addresses.
Use sm_edit to edit this file:
-
./sm_edit ../conf/trapd/trapd.conf
-
Add the forwarding statement as above, then save and close the file.
-
Restart the TE to reload the conf file.
Other examples:The following FORWARD entry examples demonstrate how to forward just IPv4 traps, just IPv6 traps, and all IPv4 and IPv6 traps to the IP Availability Manager. The destination <host>:<port> (host IP address/hostname and trap port number)
would be replaced with the IP Availability Manager destination that is to receive the trap messages.
-
Forward just IPv4 traps to the IP Availability Manager
FORWARD: *.*.*.* .* * * <host>:<port>
-
# Forward just IPv6 traps to the IP Availability Manager
FORWARD: *:*:* .* * * <host>:<port>
-
# Forward all IPv4 and IPv6 traps to the IP Availability Manager
FORWARD: * .* * * <host>:<port>