Page 181 / 757 Scroll up to view Page 176 - 180
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
177
show config
For example, if the following expression is specified, Include “stp” exclude “port”
The result of the above example is all lines that include the “stp” string but exclude the “port”
string.
Parameters
active
– Specify to display the active configuration.
boot_up
– Specify to display the boot-up configuration.
<drive_id>
- Specify the drive ID here
pathname
- The pathname specifies an absolute pathname on the device file system. If
pathname is not specified, the boot up configuration is implied.
filter_string
- A filter string is enclosed by symbol ". Thus, the filter string itself cannot contain
the “character. The filter string is case sensitive.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
The following example illustrates how the special filters account affect the configuration display:
DGS-3627:admin# show config active include "account"
Command: show config active include "account"
config accounting service network state disable
config accounting service shell state disable
config accounting service system state disable
DGS-3627:admin#
config configuration
Purpose
Used to select a configuration file as the next boot up configuration or to apply a specific
configuration to the system. This command is required when multiple configuration files are
supported.
Syntax
config configuration {<drive_id>} <pathename 64> {delete | boot_up | active}
Description
Used to select a configuration file as the next boot up configuration or to apply a specific
configuration to the system. This command is required when multiple configuration files are
supported.
Parameters
<drive_id> -
Specify the drive ID here.
pathname
- Specifies a configuration file on the device file system.
boot_up
- Specifies it as a boot up file.
active
- Specifies to apply the configuration.
delete
- Specifies to delete the configuration.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure configuration as boot-up 1:
DGS-3627:admin#config configuration 1 boot_up
Command: config configuration 1 boot_up
Success.
DGS-3627:admin#
Page 182 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
178
save config
Purpose
Used to save the current configuration to a file.
Syntax
save config {<drive_id>} <pathname 64>
Description
Used to save the current configuration to a file. This command is required to be supported
regardless of whether file system is supported or whether multiple configuration files are
supported. The configuration will only save to the master unit.
Parameters
<drive_id> -
Specify the drive ID here.
pathname
- The pathname specifies the absolute pathname on the device file system.
If pathname is not specified, it refers to the boot up configuration file.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To save the configuration:
DGS-3627:admin#save config 123
Command: save config 123
Saving all configurations to NV-RAM
..........
Done.
DGS-3627:admin#
Page 183 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
179
21
COUNTER COMMANDS
The Counter commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
show packet ports
<portlist>
show error ports
<portlist>
show utilization ports
clear counters
{ports <portlist>}
Each command is listed, in detail, in the following sections.
show packet ports
Purpose
Used to show statistics about the packets which were sent and received by the switch.
Syntax
show packet ports <portlist>
Description
The show packet ports command shows statistics about the packets which were sent and
received by the switch.
Parameters
portlist
- Specifies a range of ports to be displayed. (Unit ID: port number).
Restrictions
None.
Example usage:
To display the packets analysis for port 7 of unit 2:
Page 184 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
180
DGS-3627:admin# show packet ports 2:7
Command: show packet ports 2:7
Port number : 2:7
Frame Size/Type
Frame Counts
Frames/sec
---------------
----------------------
-----------
64
30284
3
65-127
5998
0
128-255
11985
1
256-511
1004
0
512-1023
1363
0
1024-1518
15
0
1519-1522
0
0
1519-2047
0
0
2048-4095
0
0
4096-9216
0
0
Unicast RX
1
0
Multicast RX
0
0
Broadcast RX
5
0
Frame Type
Total
Total/sec
---------------
----------------------
-----------
RX Bytes
384
0
RX Frames
6
0
TX Bytes
5619310
340
TX Frames
50673
4
show error ports
Purpose
Use to show error statistics information for a range of ports.
Syntax
show error ports <portlist>
Description
The show error ports command shows error statistics for a range of ports.
Parameters
portlist
- Specifies a range of ports to be displayed. (Unit ID: port number).
Restrictions
None.
Example usage:
To display the errors of the port 3 of unit 1:
DGS-3627:admin# show error ports 1:3
Command: show error ports 1:3
Port number : 1:3
RX Frames
TX Frames
------------------------------------------
---------------------------
CRC Error
0
Excessive Deferral
0
Undersize
0
CRC Error
0
Oversize
0
Late Collision
0
Fragment
0
Excessive Collision
0
Jabber
0
Single Collision
0
Drop Pkts
0
Collision
0
Buffer Full Drop
0
ACL Drop
0
Multicast Drop
0
VLAN Ingress Drop
0
Page 185 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
181
show utilization
Purpose
Use to show real-time port utilization statistics.
Syntax
show utilization ports {<portlist>}
Description
The show utilization command displays real-time port utilization statistics.
Parameters
portlist
- Specifies a range of ports to be displayed. (Unit ID: port number).
Restrictions
None.
Example usage:
To show the ports utilization:
DGS-3627:admin#
show utilization ports
Command: show utilization ports
Port
TX/sec
RX/sec
Util
Port
TX/sec
RX/sec
Util
------
----------
----------
----
------
----------
----------
----
1:1
0
0
0
1:22
0
0
0
1:2
0
0
0
1:23
0
0
0
1:3
0
0
0
1:24
0
0
0
1:4
0
0
0
1:25
0
0
0
1:5
0
0
0
1:26
19
49
1
1:6
0
0
0
2:1
0
0
0
1:7
0
0
0
2:2
0
0
0
1:8
0
0
0
2:3
0
0
0
1:9
0
0
0
2:4
0
0
0
1:10
0
0
0
2:5
0
0
0
1:11
0
0
0
2:6
0
0
0
1:12
0
0
0
2:7
0
30
1
1:13
0
0
0
2:8
0
0
0
1:14
0
0
0
2:9
30
0
1
1:15
0
0
0
2:10
0
0
0
1:16
0
0
0
2:11
0
0
0
1:17
0
0
0
2:12
0
0
0
1:18
0
0
0
2:13
0
0
0
1:19
0
0
0
2:14
0
0
0
1:20
0
0
0
2:15
0
0
0
1:21
0
0
0
2:16
0
0
0
clear counter
Purpose
Used to clear the switch’s statistics counters.
Syntax
clear counters {ports <portlist>}
Description
The clear counters command clears the switch’s statistics counters.
Parameters
portlist
- Specifies a range of ports to be configured. The port list is specified by listing the
lowest switch number and the beginning port number on that switch, separated by a colon.
Then highest switch number, and the highest port number of the range (also separated by a
colon) are specified. The beginning and the end of the port list range are separated by a
dash.
For example:
1:3 would specify unit 1, port 3;
2:4 specifies unit 2, port 4;
1:3-2:4 specifies all of the ports between unit 1, port 3 and unit 2, port 4
− in numerical order.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top