Page 291 / 757 Scroll up to view Page 286 - 290
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
287
DGS-3627:admin#dir C:\
Command: dir C:\
----------------------------------------------------------------
Current Unit ID: 1
Current Directory: C:\
File Name
Size(byte)
Update Time
------------------------
--------------
----------------
612.CFG
19915 bytes
2010/06/12 14:52
LOG.TXT
1835008 bytes
2010/05/11 17:06
R250B51.HAD
3548272 bytes
2010/04/29 15:51
RUN.HAD
(*)
4672664 bytes
2010/06/17 10:38
STARTUP.CFG
(*)
19166 bytes
2010/06/17 15:30
TESTCFG
18329 bytes
2010/05/07 14:09
----------------------------------------------------------------
Total Files
6
Total Size
10113354 bytes
Free Space
5177344 bytes
'*' means boot up section
DGS-3627:admin#
List ALL files (include the removed files) by specifies the parameter “all”:
DGS-3650:admin#dir unit all C:\
Command: dir unit all C:\
----------------------------------------------------------------
Current Unit ID: 1
Current Directory: C:\
File Name
Size(byte)
Update Time
------------------------
--------------
----------------
612.CFG
19915 bytes
2010/06/12 14:52
LOG.TXT
1835008 bytes
2010/05/11 17:06
R250B51.HAD
3548272 bytes
2010/04/29 15:51
RUN.HAD
(*)
4672664 bytes
2010/06/17 10:38
STARTUP.CFG
(*)
19166 bytes
2010/06/17 15:30
TESTCFG
18329 bytes
2010/05/07 14:09
----------------------------------------------------------------
Total Files
6
Total Size
10113354 bytes
Free Space
5177344 bytes
'*' means boot up section
----------------------------------------------------------------
Current Unit ID: 2
Current Directory: C:\
File Name
Size(byte)
Update Time
------------------------
--------------
----------------
429
19866 bytes
2010/04/29 16:05
LOG.TXT
1835008 bytes
2010/04/01 14:27
R250B51.HAD
3548272 bytes
2010/04/29 15:51
RUN.HAD
(*)
4672664 bytes
2010/06/17 10:38
STARTUP.CFG
(*)
19129 bytes
2010/06/17 15:30
----------------------------------------------------------------
Page 292 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
288
Total Files
5
Total Size
10094939 bytes
Free Space
4063232 bytes
'*' means boot up section
DGS-3627:admin#
rename
Purpose
This command is used to rename a file.
Syntax
rename {{unit <unit_id 1-12>} <drive_id>} <pathname 64> <filename 64>
Description
This command is used to rename a file. Note that for standalone device, the unit argument is
not needed. This command is used to rename a file in the file system. The pathname
specifies the file (in path form) to be renamed and the filename specifies the new filename. If
the pathname is not a full path, then it refers to a path under the current directory for the
drive. The renamed file will stay in the same directory.
Parameters
unit
- (Optional) Specifies a unit ID if in the stacking system. If not specified, it refers to the
master unit.
<unitid 1-12>
- Enter the unit ID here. This value must be between 1 and 12.
<drive_id>
- Specifies the drive ID used.
<pathname 64>
- Specified the file (in path form) to be renamed. This name can be up to 64
characters long.
<filename 64>
- Specified the new name of the file. This name can be up to 64 characters
long.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To rename a file:
DGS-3627:admin#rename run.had run1.had
Command: rename run.had run1.had
Please wait, do not power off!
Process
......................
Done.
Success.
DGS-3627:admin#
erase
Purpose
This command is used to delete a file stored in the file system.
Syntax
erase {{unit <unit_id 1-12>} <drive_id>} <pathname 64>
Description
System will prompt if the target file is a FW or configuration whose type is boot up or backup.
Parameters
unit
- (Optional) Specifies a unit ID if in the stacking system. If not specified, it refers to the
master unit.
<unit 1-12>
- Enter the unit ID here. This value must be between 1 and 12.
<drive_id>
- Specifies the drive ID used.
<pathname 64>
- Specifies the file to be deleted. If it is specified in the associated form, then
it is related to the current directory. This name can be up to 64 characters long.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 293 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
289
Example usage:
To erase a file:
DGS-3627:admin#dir C:\
Command: dir C:\
----------------------------------------------------------------
Current Unit ID: 1
Current Directory: C:\
File Name
Size(byte)
Update Time
------------------------
--------------
----------------
612
19915 bytes
2010/06/12 14:52
LOG.TXT
1835008 bytes
2010/05/11 17:06
R250B51.HAD
3548272 bytes
2010/04/29 15:51
RUN.HAD
(*)
4672664 bytes
2010/06/17 10:38
STARTUP.CFG
(*)
19166 bytes
2010/06/17 15:30
TESTCFG
18329 bytes
2010/05/07 14:09
----------------------------------------------------------------
Total Files
6
Total Size
10113354 bytes
Free Space
5177344 bytes
'*' means boot up section
DGS-3627:admin#erase C:\ R250B51.had
Command: erase C:\ R250B51.had
Please wait, do not power off!
Process
......................
Done.
Success.
DGS-3627:admin#
copy
Purpose
This command is used to copy a file to another file in the file system.
Syntax
copy {<drive_id>} <pathname 64> {{unit <unit_id 1-12>} <drive_id>} <pathname 64>
Description
A file located in a drive of a unit can be copied to another file located in another drive of
another unit.
For project that does not support file system on the flash, the system file such as runtime
image/configuration / prom /log can still be copied to media or from media that support sfile
system via this command using the reserved keyword. The keyword here refers to image_id,
config_id, prom, or log.
Parameters
<drive_id>
- Specifies the drive ID used.
unit
- (Optional) Unit ID in the stacking system. If not specified, it refers to the master unit.
<unitid 1-12>
- Enter the unit ID here. This value must be between 1 and 12.
<pathname 64>
- Specifies the file to be copied. The path name can be specified either as a
full path name or partial name. For partial path name, it indicates the file is in the current
directory. This name can be up to 64 characters long.
<pathname 64>
- Specifies the file to copy to. The path name can be specified either as a full
path name or partial name. For partial path name, it indicates the file is in the current
directory. This name can be up to 64 characters long.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 294 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
290
Example usage:
To copy a file:
DGS-3627:admin#copy C:\ config C:\ test.cfg
Command: copy C:\ config C:\ test.cfg
Please wait, do not power off!
Process
......................
Done.
Success.
DGS-3627:admin#
Page 295 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
291
38
GRATUITOUS ARP COMMANDS
The Gratuitous ARP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
config gratuitous_arp send
ipif_status_up
[enable | disable]
config gratuitous_arp send
dup_ip_detected
[enable | disable]
config gratuitous_arp learning
[enable | disable]
config gratuitous_arp send
periodically
ipif <ipif_name 12> interval <value 0-65535>
enable gratuitous_arp
{ipif <ipif_name 12>} {trap | log}
disable gratuitous_arp
{ipif <ipif_name 12>} {trap | log}
show gratuitous_arp
{ipif <ipif_name 12>}
Each command is listed, in detail, in the following sections.
config gratuitous_arp send ipif_status_up
Purpose
Used to enable or disable send gratuitous ARP request while IP interface status become up.
Syntax
config gratuitous_arp send ipif_status_up [enable | disable]
Description
The command is used to enable/disable sending of gratuitous ARP request packet while IPIF
interface become up. This is used to automatically announce the interface’s IP address to
other nodes. By default, the state is disabled. After enable this state, one gratuitous ARP
packet will be broadcast.
Parameters
enable
- Enable sending of gratuitous ARP when IPIF status become up.
disable
- Disable sending of gratuitous ARP when IPIF status become up.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable send gratuitous ARP request in normal situation:
DGS-3627:admin# config gratuitous_arp send ipif_status_up enable
Command: config gratuitous_arp send ipif_status_up enable
Success.
DGS-3627:admin#
config gratuitous_arp send duplicate_ip_detected
Purpose
Used to enable or disable sending of gratuitous ARP request while duplicate IP address is
detected.
Syntax
config gratuitous_arp send dup_ip_detected [enable | disable]

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top