You missed a parameter in your command:
gw> add command revokeip path /opt/CPsuite-R80.20/fw1/bin/pdp description "Revoke session from the given IP"
Command (revokeip) was added.
Save the configuration and re sign in for changes to take place.
gw> save config
Once you log out/back in, you can use your revokeip command, which calls the pdp binary.
gw> revokeip
Command: root
Available options:
debug - control debug messages
tracker - tracker options
connections - pdp connections information
network - pdp network information
status - pdp status information
control - pdp control commands
monitor - display monitoring data
update - recalculate users and machines group membership (deleted accounts will not be updated)
vpn - display connected vpn gateways that send vpn client identity data
ad - operations related to AD Query
timers - show pdp timers information
nested_groups - nested groups configuration
auth - authentication/authorization options
radius - radius accounting options
ifmap - monitor/control IFMAP
idc - operations related to Identity Collector
tasks_manager - the task manager menu
topology_map - show topology mapping debug info. usage: topology_map [raw]
gw>
If you want to restrict the pdp binary to specific options, then create a shell scrip that calls the pdp binary with the specific options you're interested in.