Chapter 52 Addresses
ZyWALL Series CLI Reference Guide
461
52.2.1 Address Object Commands
There are the types of address objects:
• HOST - the object uses an IP Address to define a host address
• RANGE - the object uses a range address defined by a Starting IP Address and an Ending IP Address
• SUBNET - the object uses a network address defined by a Network IP address and Netmask subnet
mask
• INTERFACE IP - the object uses the IP address of one of the Zyxel Device’s interfaces
• INTERFACE SUBNET - the object uses the subnet mask of one of the Zyxel Device’s interfaces
• INTERFACE GATEWAY - the object uses the gateway IP address of one of the Zyxel Device’s interfaces
• GEOGRAPHY - the object uses the IP addresses of a country to represent a country
• FQDN - the object uses a FQDN (Fully Qualified Domain Name). An FQDN consists of a host and
domain name. For example, www.zyxel.com is a fully qualified domain name. FQDN in address
objects can be used in Security Policy, Policy Route, BWM and Web Authentication profiles as source
and destination criteria. FQDN with a wildcard (for example, *.zyxel.com) can be used in these
profiles as destination criteria only. An FQDN is resolved to its IP address using the DNS server
configured on the Zyxel Device. If the Zyxel Device receives a DNS query for an FQDN and the Zyxel
Device has an FQDN cache entry, the Zyxel Device can map the IP address in a DNS response
without having to query a DNS name server.
This table lists the commands for address objects.
Table 260 address-object and address6-object Commands
COMMAND DESCRIPTION
show {address-object | address6-object
| service-object | schedule-object}
[object_name]
Displays information about the specified object or all the
objects of the specified type.
address-object object_name {ip |
ip_range | ip_subnet | fqdn fqdn|
geography country code
| interface-ip |
interface-subnet | interface-gateway}
{interface_name | virtual interface
name}
Creates the specified IPv4 address object using the
specified parameters.
ip <W.X.Y.Z> Enter an IPv4 address.
ip_range <W.X.Y.Z>-<W.X.Y.Z> Enter an IPv4 address
range.
ip_subnet <W.X.Y.Z>/<1..32> Enter an IPv4 subnet in
CIDR format. For example, 192.168.1.0/32.
fqdn Enter a fully-qualified domain name.
country code Enter a country or continent code
(represents an IP address for that country/continent).
interface-gateway
/ interface-ip /interface-
subnet Enter an interface_name or a
virtual_interface_name
address-object object_name geography
<country code> all
Creates a GEOGRAPHY object representing all IPv4
address of the specified country.
Use the command, geo-ip [no] geography
<country_code> all address {ipv4 | ip6}, to
configure the custom country-to-IP/continent-to-IP
address mappings for a GEOGRAPHY object.
no address-object object_name
Deletes the specified address object.