Options
-comments=<String>
Comments for this key.
-size={64 | 128 | 256 | 512 | 1024 | 2048 |
4096}
Number of bits of data in the generated key.
(Default: 64)
<Name>
Name of key.
Note
Requires Administrator privileges.
2.1.8. reject
Reject changes.
Description
Reject the changes made to the specified object by reverting to the values of the last committed
configuration.
All changes made to the object will be lost. If the object is added after the last commit, it will be
removed.
To reject the changes in more than one object, use either the
-recursive
flag to delete a
context and all its children recursively or the
-all
flag to reject the changes in
all
objects in the
configuration.
Example 2.4. Reject changes
Reject changes in individual objects:
gw-world:/> set Address IP4Address example_ip
Comments="This comment will be rejected"
gw-world:/> reject Address IP4Address example_ip
gw-world:/> add Address IP4Address example_ip2 Address=1.2.3.4
Comments="This whole object will be removed"
gw-world:/> reject Address IP4Address example_ip2
Reject changes recursively:
(will reject changes in the user database and all users)
gw-world:/exampledb> set User user1 Comments="Something"
gw-world:/exampledb> set User user2 Comments="that will be"
gw-world:/exampledb> set User user3 Comments="rejected"
gw-world:/exampledb> cc ..
gw-world:/> reject LocalUserDatabase exampledb -recursive
Reject all changes:
gw-world:/anycontext> reject -all
All changes since the last commit will be rejected:
(example_ip will be removed since it is newly added)
gw-world:/> add IP4Address example_ip Address=1.2.3.4
gw-world:/> delete IP4Address example_ip
gw-world:/> reject IP4Address example_ip
Chapter 2: Command Reference
27
Содержание NetDefend DFL-260E
Страница 21: ...Chapter 1 Introduction 21...
Страница 104: ...Chapter 2 Command Reference 104...
Страница 215: ...3 63 7 IPRule The definitions here are the same as in Section 3 62 IPRule Chapter 3 Configuration Reference 215...
Страница 240: ...Comments Text describing the current object Optional Chapter 3 Configuration Reference 240...
Страница 297: ...3 117 SLBPolicy The definitions here are the same as in Section 3 63 2 SLBPolicy Chapter 3 Configuration Reference 297...
Страница 317: ...Comments Text describing the current object Optional Chapter 3 Configuration Reference 317...
Страница 324: ...Chapter 3 Configuration Reference 324...