sniper-tms-block-ip
Add block IP to SNIPER TMS-Plus with optional distribution to sensors
Syntax
sniper-tms-block-ip [profile=PROFILE] ip=IP [deploy=DEPLOY] [device=DEVICE] [expiry=EXPIRY] [description=DESCRIPTION]
Options
- profile=PROFILE
- Optional. Profile name of SNIPER TMS-Plus
- ip=IP
- Required. Single IP address to block
- deploy=DEPLOY
- Optional. Deploy to sensors (t or f, default: f)
- device=DEVICE
- Optional. Comma-separated sensor IP addresses
- expiry=EXPIRY
- Optional. Expiration date in yyyyMMdd format (permanent block if not entered)
- description=DESCRIPTION
- Optional. Description for the block list (max 40 chars)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Profile | Connect profile name |
| ip | IP address | IP | Blocked IP address |
| expiry | Date | Expiration Date | |
| description | String | Description | Description for the block list |
| result | String | Result | Operation result (success or failed) |
| msg | String | Message | Error message if failed |
| device_ip | IP address | Device IP | Sensor device IP address (when deploy=t) |
| device_code | Integer | Device Code | Sensor device code (when deploy=t) |
| device_name | String | Device Name | Sensor device name (when deploy=t) |
| completed | Date | Complete Date | Completion time |