
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)# | 
 | ||
| Router(config)# | |||
| Router(config)# | 10.1.1.0/24 | 
 | |
| Router(config)# | show  | Address | |
| Object name | Type | ||
| Note | Ref. | 
 | 
 | 
===========================================================================
| ==== | INTERFACE SUBNET | 192.168.1.0/24 | 
| LAN_SUBNET | ||
| vlan0 | 0 | 10.1.1.1 | 
| A0 | HOST | |
| A1 | 0 | |
| RANGE | ||
| A2 | 0 | 10.1.1.0/24 | 
| SUBNET | ||
| Router(config)# | 0 | 
 | 
| no  | 
 | |
| Router(config)# | show  | Address | 
| Object name | Type | |
| Note | Ref. | 
 | 
===========================================================================
====
| LAN_SUBNET | INTERFACE SUBNET | 192.168.1.0/24 | 
| vlan0 | 0 | 10.1.1.1 | 
| A0 | HOST | |
| A1 | 0 | |
| RANGE | ||
| Router(config)# | 0 | 
 | 
| 
 | 
 | 
25.2.2 Address Group Commands
This table lists the commands for address groups.
Table 104 
| COMMAND | DESCRIPTION | 
| show  | Displays information about the specified address | 
| 
 | group or about all address groups. | 
| [no]  | Creates the specified address group if necessary | 
| 
 | and enters  | 
| 
 | deletes the specified address group. | 
| [no]  | Adds the specified address to the specified | 
| 
 | address group. The no command removes the | 
| 
 | specified address from the specified group. | 
| [no]  | 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. | 
| 
 | 
 | 
| 
 | 179 | 
| NXC CLI Reference Guide | |
| 
 | 
 |