Configuring a service object – Cisco ASA 5505 User Manual
Page 366
13-4
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter 13 Configuring Objects
Configuring Objects and Groups
Detailed Steps
Examples
To create a network object, enter the following commands:
hostname (config)# object network OBJECT1
hostname (config-network-object)# host 10.2.2.2
Configuring a Service Object
A service object contains a protocol and optional source and/or destination port.
Command
Purpose
Step 1
object network
obj_name
Example:
hostname(config)# object-network OBJECT1
Creates a new network object. The obj_name is a text string up to
64 characters in length and can be any combination of letters,
digits, and the following characters:
•
underscore “_”
•
dash “-”
•
period “.”
The prompt changes to network object configuration mode.
Step 2
{host ip_addr | subnet net_addr net_mask |
range
ip_addr_1 ip_addr_2}
Example:
hostname(config-network-object)# host
10.2.2.2
Assigns the IP address to the named object. You can configure a
host address, a subnet, or a range of addresses.
Step 3
description
text
Example:
hostname(config-network-object)#
description Engineering Network
Adds a description to the object.