Editing a configuration object, Adding a configuration object, Important – D-Link DFL-2500 User Manual

Page 31

Advertising
background image

Example 2.5. Editing a Configuration Object

When you need to modify the behavior of NetDefendOS, you will most likely need to modify one or several
configuration objects. This example shows how to edit the Comments property of the telnet service.

CLI

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

-----------------

-------

Name:

telnet

DestinationPorts:

23

Type:

TCP

SourcePorts:

0-65535

SYNRelay:

No

PassICMPReturn:

No

ALG:

(none)

MaxSessions:

1000

Comments:

Modified Comment

Web Interface

1.

Go to Objects > Services

2.

Click on the telnet hyperlink in the list

3.

In the Comments textbox, enter your new comment

4.

Click OK

Verify that the new comment has been updated in the list.

Important

Changes to a configuration object will not be applied to a running system until you
activate and commit the changes.

Example 2.6. Adding a Configuration Object

This example shows how to add a new IP4Address object, here creating the IP address 192.168.10.10, to the
Address Book.

CLI

gw-world:/> add Address IP4Address myhost Address=192.168.10.10

Show the new object:

gw-world:/> show Address IP4Address myhost

Property

Value

---------------------

-------------

Name:

myhost

Address:

192.168.10.10

UserAuthGroups:

(none)

NoDefinedCredentials:

No

Comments:

(none)

Web Interface

2.1.5. Working with Configurations

Chapter 2. Management and Maintenance

31

Advertising