
Chapter 26 Addresses
ZyWALL (ZLD) CLI Reference Guide
242
The following sections list the address object and address group commands.
26.2.1 Address Object Commands
This table lists the commands for address objects.
26.2.1.1 Address Object Command Examples
The following example creates three address objects and then deletes one.
Table 137 address-object Commands: Address Objects
COMMAND DESCRIPTION
show address-object [object_name] Displays information about the specified address or
all the addresses.
address-object object_name {ip | ip_range |
ip_subnet | interface-ip | interface-subnet |
interface-gateway} {interface}
Creates the specified address object using the
specified parameters.
ip_range: <1..255>.<0..255>.<0..255>.<1..255>-
<1..255>.<0..255>.<0..255>.<1..255>
ip_subnet:
<1..255>.<0..255>.<0..255>.<0..255>/<1..32>
interface: You only need to specify an interface
with you create an object based on an interface.
no address-object object_name Deletes the specified address.
address-object rename object_name object_name Renames the specified address (first
object_name) to the second object_name.
Router# configure terminal
Router(config)# address-object A0 192.168.1.1
Router(config)# address-object A1 192.168.1.1-192.168.1.20
Router(config)# address-object A2 192.168.1.0/24
Router(config)# show address-object
Object name Type Address Ref.
=====================================================================
A0 HOST 192.168.1.1 0
A1 RANGE 192.168.1.1-192.168.1.20 0
A2 SUBNET 192.168.1.0/24 0
Router(config)# no address-object A2
Router(config)# show address-object
Object name Type Address Ref.
=====================================================================
A0 HOST 192.168.1.1 0
A1 RANGE 192.168.1.1-192.168.1.20 0
Comentarios a estos manuales