Overview
This article provides information regarding the Exinda CLI command network-object
.
You can use the network-object
command to create a new network object or modify the properties of an existing network object.
A network-object is a logical definition created and stored in the Exinda library, which can represent any network component.
Information
- {}: Options are enclosed in braces and are separated by '|'
- []: Optional keywords are enclosed in brackets
- <>: User input is required where variables are enclosed in greater-than and less-than symbols
The following table describes the commands used for performing common actions related to network-objects:
Action Description | Command |
Parameter Description |
To create a new network object | [no] network-object <name> |
This creates a network object if it does not already exist |
To add a subnet to a network object | network-object <name> subnet <ip-address> <netmask or mask length> |
|
To set the location of the network object with respect to the appliance | network-object <name> location {internal, external, inherit} |
|
To include this network object in the subnet report |
network-object <name> subnet-report |
Not Applicable |
To see whether inherit resolved to internal or external |
show network-object <name> |
Not Applicable |
Example
-
Create a network object called 'localServer' that is an internal host on 192.168.1.1/255.255.255.255, and enable subnet reporting:
network-object localServer subnet 192.168.1.1 /32
network-object localServer location internal
network-object localServer subnet-report
-
Create a network object called 'IPv6 Server' that is an external host on 2001:db8::1234:5678/128
network-object "IPv6 Server" subnet 2001:db8::1234:5678 /128
network-object "IPv6 Server" location external
Find more CLI commands.