Page 726 / 757 Scroll up to view Page 721 - 725
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
722
102
UTILIZATION COMMANDS
The Utilization commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
show utilization
[cpu | ports | dram { unit <unit_id>}| flash {unit <unit_id>}]
Each command is listed, in detail, in the following sections.
show utilization
Purpose
Used to display real-time port utilization statistics.
Syntax
show utilization [cpu | ports | dram { unit <unit_id>}| flash {unit <unit_id>}]
Description
The show utilization command displays real-time CPU, ports, DRAM or flash utilization
statistics.
Parameters
ports
- Specifies a range of ports to be displayed. (UnitID:port number).
dram
- To show dram memory utilization.
flash
- To show flash memory utilization.
unit
- Specifies the unit to be displayed.
Restrictions
None.
Example usage:
To display the ports utilization:
Page 727 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
723
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
Port
TX/sec
RX/sec
Util
Port
TX/sec
RX/sec
Util
------
--------
--------
------
------
----------
----------
----
2:17
0
0
0
2:18
0
0
0
2:19
0
0
0
2:20
0
0
0
2:21
0
0
0
2:22
0
0
0
2:23
0
0
0
2:24
0
0
0
2:25
0
0
0
2:26
11
2
1
To display the CPU utilization:
DGS-3627:admin# show utilization cpu
Command: show utilization cpu
CPU utilization :
-------------------------------------------------------------------------------
Five seconds – 20%
One minute – 10%
Five minutes – 70%
Success.
DGS-3627:admin#
To display DRAM utilization:
Page 728 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
724
DGS-3627:admin# show utilization dram
Command: show utilization dram
DRAM Utilization :
Total DRAM : 262,144 KB
Used DRAM : 212,568 KB
Utilization : 81%
Success.
DGS-3627:admin#
To display FLASH utilization:
DGS-3627:admin# show utilization flash
Command: show utilization flash
FLASH Memory Utilization :
Total FLASH : 16,384 KB
Used FLASH : 13,440 KB
Utilization : 82%
Success.
DGS-3627:admin#
Page 729 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
725
103
VLAN TRUNKING COMMANDS
The VLAN Trunking commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
enable vlan_trunk
disable vlan_trunk
config vlan_trunk
ports [<portlist> | all] | state [enable | disable]
show vlan_trunk
Each command is listed, in detail, in the following sections.
enable vlan_trunk
Purpose
Used to enable the VLAN trunk function.
Syntax
enable vlan_trunk
Description
When the VLAN trunk function is enabled, the VLAN trunk ports shall be able to forward all
tagged frames with any VID.
Parameters
None.
Restrictions
Only Administrator can issue this command.
Example usage:
To enable the VLAN Trunk:
DGS-3627:admin# enable vlan_trunk
Command: enable vlan_trunk
Success.
DGS-3627:admin#
disable vlan_trunk
Purpose
Used to disable the VLAN trunk function.
Syntax
disable vlan_trunk
Description
This command disables the VLAN trunk function.
Parameters
None.
Restrictions
Only Administrator can issue this command.
Example usage:
To disable the VLAN Trunk:
Page 730 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
726
DGS-3627:admin# disable vlan_trunk
Command: disable vlan_trunk
Success.
DGS-3627:admin#
config vlan_trunk
Purpose
Used to configure a port as a the VLAN trunk port.
Syntax
config vlan_trunk ports [<portlist> | all] | state [enable | disable]
Description
This command is used to configure a port as a VLAN trunk port. By default, none of the port
is a VLAN trunk port.
If the user enables the global VLAN trunk function and configurethe VLAN trunk ports, then
the trunk port will be member port of all VLANs. That is, if a VLAN is already configured by
the user, but the trunk port is not member port of that VLAN, this trunk port will atutomatically
become tagged member port of that VLAN. If a VLAN is not created yet, the VLAN will be
automatically created, and the trunk port will become tagged member of this VLAN.
When the user disables the VLAN trunk globally, all VLANs automatically created by VLAN
Trunk enabled shall be destroyed, and all the automatically added port membership will be
removed.
A VLAN trunk port and a non-VLAN trunk port cannot be grouped as an aggregated link. To
change the VLAN trunk setting for an aggregated link, the user must apply the command to
the master port. However, this setting will disappear as the aggregated link is destroyed, and
the VLAN trunk setting of the individual port will follow the original setting of the port.
If the command is applied to link aggregation member port excluding the master, the
command will be rejected.
The ports with different VLAN configuration is not allowed to form an aggregated link.
However, if they are specified as VLAN trunk port, they are allowed to form an aggregated
link.
For a VLAN trunk port, the VLANs on which the packets can be by passed will not be
advertised
by GVRP on this port. However, since the traffic on these VLANs are forwarded,
this vlan trunk port should participate the MSTP instances corresponding to these VLAN.
Parameters
portlist
- Specify the list of ports to be configured.
enable
- Specifies that the port is a VLAN trunk port.
disable
- Specifies that the port is not a VLAN trunk port.
Restrictions
Only Administrator can issue this command.
Example usage:
To config vlan_trunk port:
DGS-3627:admin# config vlan_trunk ports 1-5 state enable
Command: config vlan_trunk ports 1-5 state enable
Success.
DGS-3627:admin#
show vlan_trunk
Purpose
Used to show the VLAN trunk configuration.
Syntax
show vlan_trunk

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top