Example 2.12. Displaying a Configuration Object
The simplest operation on a configuration object is to show the values of its properties. This
example shows how to display the contents of a configuration object representing the
telnet
service.
Command-Line Interface
gw-world:/> show Service ServiceTCPUDP telnet
Property
Value
-----------------
-------
Name:
telnet
DestinationPorts:
23
Type:
TCP
SourcePorts:
0-65535
SYNRelay:
No
PassICMPReturn:
No
ALG:
<empty>
MaxSessions:
1000
Comments:
Telnet
The Property column lists the names of all properties in the ServiceTCPUDP class and the Value
column lists the corresponding property values.
Web Interface
1.
Go to: Objects > Services
2.
Select the telnet entry in the list
3.
A web page displaying the telnet service will be presented
Note
When accessing object via the CLI you can omit the category name and just use the type
name. The CLI command in the above example, for instance, could be simplified to:
gw-world:/> show ServiceTCPUDP telnet
Example 2.13. Editing a Configuration Object
When the behavior of NetDefendOS is changed, it is most likely necessary to modify one or
several configuration objects. This example shows how to edit the
Comments
property of the
telnet
service.
Command-Line Interface
gw-world:/> set Service ServiceTCPUDP telnet Comments="Modified Comment"
Show the object again to verify the new property value:
gw-world:/> show Service ServiceTCPUDP telnet
Property
Value
-----------------
-------
Chapter 2: Management and Maintenance
73
Summary of Contents for NetDefendOS
Page 30: ...Figure 1 3 Packet Flow Schematic Part III Chapter 1 NetDefendOS Overview 30 ...
Page 32: ...Chapter 1 NetDefendOS Overview 32 ...
Page 144: ...Chapter 2 Management and Maintenance 144 ...
Page 284: ...Chapter 3 Fundamentals 284 ...
Page 392: ...Chapter 4 Routing 392 ...
Page 419: ... Host 2001 DB8 1 MAC 00 90 12 13 14 15 5 Click OK Chapter 5 DHCP Services 419 ...
Page 420: ...Chapter 5 DHCP Services 420 ...
Page 573: ...Chapter 6 Security Mechanisms 573 ...
Page 607: ...Chapter 7 Address Translation 607 ...
Page 666: ...Chapter 8 User Authentication 666 ...
Page 775: ...Chapter 9 VPN 775 ...
Page 819: ...Chapter 10 Traffic Management 819 ...
Page 842: ...Chapter 11 High Availability 842 ...
Page 866: ...Default Enabled Chapter 13 Advanced Settings 866 ...
Page 879: ...Chapter 13 Advanced Settings 879 ...