Download ZyXEL Communications Network Router NOT AVAILABLE User's Manual

Transcript
Chapter 25 Addresses
25.2.1.1 Address Object Command Examples
The following example creates three address objects and then deletes one.
Router# configure terminal
Router(config)# address-object A0 10.1.1.1
Router(config)# address-object A1 10.1.1.1-10.1.1.20
Router(config)# address-object A2 10.1.1.0/24
Router(config)# show address-object
Object name
Type
Address
Note
Ref.
===========================================================================
====
LAN_SUBNET
INTERFACE SUBNET
192.168.1.0/24
vlan0
0
A0
HOST
10.1.1.1
0
A1
RANGE
10.1.1.1-10.1.1.20
0
A2
SUBNET
10.1.1.0/24
0
Router(config)# no address-object A2
Router(config)# show address-object
Object name
Type
Address
Note
Ref.
===========================================================================
====
LAN_SUBNET
INTERFACE SUBNET
192.168.1.0/24
vlan0
0
A0
HOST
10.1.1.1
0
A1
RANGE
10.1.1.1-10.1.1.20
0
Router(config)#
25.2.2 Address Group Commands
This table lists the commands for address groups.
Table 104 object-group Commands: Address Groups
COMMAND
DESCRIPTION
show object-group address [group_name]
Displays information about the specified address
group or about all address groups.
[no] object-group address group_name
Creates the specified address group if necessary
and enters sub-command mode. The no command
deletes the specified address group.
[no] address-object object_name
Adds the specified address to the specified
address group. The no command removes the
specified address from the specified group.
[no] object-group group_name
Adds the specified address group (second
group_name) to the specified address group (first
group_name). The no command removes the
specified address group from the specified address
group.
NXC CLI Reference Guide
179