itpconfig Fails to Disable Trap Forwarding Cleanly on Systems Running Linux 7 (26941586)

The itpconfig disable trapforwarding command might fail with an "ERROR: Cannot connect to BMC" on systems running Linux 7. For example:

# itpconfig disable trapforwarding

ERROR: Cannot connect to BMC

However, if you then run the itpconfig list trapforwarding command, you see that trapforwarding has been disabled:

# itpconfig list trapforwarding
Trap Forwarding
================
Trap Forwarding is disabled
Trap Forwarding Destination:  127.0.0.1
Trap Forwarding Port:  162
Trap Forwarding Community:  public

If you encounter this issue, you should be able to ignore the error.

Workaround

If you no longer want SNMP traps to be generated, you can also disable traps when logged into Oracle ILOM with the following command:

-> set /SP/alertmgmt/rules/15 type=snmptrap level=disable destination=0.0.0.0 destination_port=0 community_or_username=public