D-Link DFL-800 CLI Guide - Page 23

Options

Page 23 highlights

2.1.8. pskgen Chapter 2. Command Reference Example 2.3. Delete an object Delete an unreferenced object: gw-world:/> delete Address IP4Address example_ip Delete a referenced object: (will cause error in examplerule) gw-world:/> set IPRule examplerule SourceNetwork=examplenet gw-world:/> delete Address IP4Address examplenet -force Usage delete [] [] [-force] Options -force Force object to be deleted even if it's used by other objects or has children. Category that groups object types. The property that identifies the configuration object. May not be applicable depending on the specified . Type of configuration object to perform operation on. Note Requires Administrator privilege. 2.1.8. pskgen Generate random pre-shared key. Description Generate a pre-shared key of specified size, containing randomized key data. If a key with the specified name exists, the existing key is modified. Otherwise a new key object is created. Usage pskgen [-comments=] [-size={64 | 128 | 256 | 512 | 1024 | 2048 | 4096}] Options -comments= -size={64 | 128 | 256 | 512 | 1024 | 2048 | 4096} Comments for this key. Number of bits of data in the generated key. (Default: 64) Name of key. 23

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166

Example 2.3. Delete an object
Delete an unreferenced object:
gw-world:/> delete Address IP4Address example_ip
Delete a referenced object:
(will cause error in examplerule)
gw-world:/> set IPRule examplerule SourceNetwork=examplenet
gw-world:/> delete Address IP4Address examplenet -force
Usage
delete [<Category>] <Type> [<Identifier>] [-force]
Options
-force
Force object to be deleted even if it's used by other objects or has children.
<Category>
Category that groups object types.
<Identifier>
The property that identifies the configuration object. May not be applicable
depending on the specified <Type>.
<Type>
Type of configuration object to perform operation on.
Note
Requires Administrator privilege.
2.1.8. pskgen
Generate random pre-shared key.
Description
Generate a pre-shared key of specified size, containing randomized key data. If a key with the spe-
cified name exists, the existing key is modified. Otherwise a new key object is created.
Usage
pskgen <Name> [-comments=<String>] [-size={64 | 128 | 256 | 512 |
1024 | 2048 | 4096}]
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.
2.1.8. pskgen
Chapter 2. Command Reference
23