You can use the network-object command to create a new network object or modify the properties of an existing network object.
network-object <name> {subnet|location|subnet-report}
To create a new network object:
[no] network-object <name>
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
E X A M P L E 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 |
E X A M P L E Create an 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 |
To see whether inherit resolved to internal or external:
show network-object <name>
|
|