trusguard-add-ipv4-address
Add a new IPv4 address to Trusguard firewall.
Syntax
trusguard-add-ipv4-address profile=PROFILE interface=INTERFACE name=NAME [ip=IP] [ip-range=IP-RANGE] [ip-prefix=IP-PREFIX] [description=DESCRIPTION] [zone=ZONE] [commit=COMMIT]
Options
- profile=PROFILE
- Required. TrusGuard connect profile code
- interface=INTERFACE
- Required. Interface name
- name=NAME
- Required. Object name
- ip=IP
- Optional. IPv4 address
- ip-range=IP-RANGE
- Optional. IPv4 address range (e.g. 192.168.0.1-192.168.0.254)
- ip-prefix=IP-PREFIX
- Optional. IP prefix length (0-32)
- description=DESCRIPTION
- Optional. Object description
- zone=ZONE
- Optional. zone of network interface
- commit=COMMIT
- Optional. Commit configuration of TrusGuard (true/false, t/f, default: false)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | String | Connect profile | TrusGuard connect profile code |
| success | Bool | Success | true or false |