Page 666 / 757 Scroll up to view Page 661 - 665
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
662
DGS-3627:admin# config ports 1:1-1:3 speed 10_full learning enable state enable
flow_control enable
Command: config ports 1:1-1:3 speed 10_full learning enable state enable flow_control
enable
Success.
DGS-3627:admin#
To configure the speed of ports 1 to 3 of unit 1 to be auto, capability advertised with half duplex and full duplex ports:
DGS-3627:admin# config ports 1:1-1:3 speed auto capability_advertised 10_half 10_full
Command: config ports 1:1-1:3 speed auto capability_advertised 10_half 10_full
Success.
DGS-3627:admin#
show ports
Purpose
Used to display the current configuration of a range of ports.
Syntax
show ports {<portlist>} {[description | err_disabled | auto_negotiation | details |
media_type]}
Description
This command is used to display the current configuration of a range of ports.
Parameters
<portlist>
Specifies a port or range of ports to be displayed. The beginning and end of the port
list range are separated by a dash.
{description}
– Adding this parameter to the show ports command indicates that a previously
entered port description will be included in the display.
err_disabled
– Choosing this parameter will display ports that have been disconnected due to
an error on the port, such as a Loopback Detection.
auto_negoriation – Choosing this parameter will display the port auto-negotiation information in
the display.
details
- Displays the port detailed information
media_type
- Displays port transceiver type.
Restrictions
None.
Example usage:
To display the configuration of all ports on a switch:
Page 667 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
663
DGS-3627:admin# show ports
Command: show ports
Port
Port
Settings
Connection
Address
State
Speed/Duplex/FlowCtrl
Speed/Duplex/FlowCtrl
Learning
-------
--------
---------------------
----------------------
---------
1:1
Enabled
Auto/Disabled
Link Down
Enabled
1:2
Enabled
Auto/Disabled
Link Down
Enabled
1:3
Enabled
Auto/Disabled
Link Down
Enabled
1:4
Enabled
Auto/Disabled
Link Down
Enabled
1:5
Enabled
Auto/Disabled
Link Down
Enabled
1:6
Enabled
Auto/Disabled
Link Down
Enabled
1:7
Enabled
Auto/Disabled
Link Down
Enabled
1:8
Enabled
Auto/Disabled
Link Down
Enabled
1:9
Enabled
Auto/Disabled
Link Down
Enabled
1:10
Enabled
Auto/Disabled
Link Down
Enabled
1:11
Enabled
Auto/Disabled
Link Down
Enabled
1:12
Enabled
Auto/Disabled
Link Down
Enabled
1:13
Enabled
Auto/Disabled
Link Down
Enabled
1:14
Enabled
Auto/Disabled
Link Down
Enabled
1:15
Enabled
Auto/Disabled
Link Down
Enabled
1:16
Enabled
Auto/Disabled
Link Down
Enabled
1:17
Enabled
Auto/Disabled
Link Down
Enabled
1:18
Enabled
Auto/Disabled
Link Down
Enabled
1:19
Enabled
Auto/Disabled
Link Down
Enabled
CTRL+C ESC q
Quit
SPACE n
Next Page
p
Previous Page
r
Refresh
To display the configuration of all ports on the Switch, with a description:
DGS-3627:admin# show ports description
Command: show ports description
Port
Port
Settings
Connection
Address
State
Speed/Duplex/FlowCtrl
Speed/Duplex/FlowCtrl
Learning
-------
--------
---------------------
----------------------
---------
1:1
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:2
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:3
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:4
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:5
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:6
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:7
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:8
Enabled
Auto/Disabled
Link Down
Enabled
Description:
1:9
Enabled
Auto/Disabled
Link Down
Enabled
Description:
CTRL+C ESC q
Quit
SPACE n
Next Page
p
Previous Page
r
Refresh
Page 668 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
664
To display the Error Disabled ports:
DGS-3627:admin# show ports err_disabled
Command : show ports err_disabled
Port
Port
Connection status
Reason
State
------
--------
---------------------
----------------
1:2
Enabled
Err-disabled
Storm control
Desc: Port 2
1:8
Enabled
Err-disabled
Storm control
Desc: Port 8
DGS-3627:admin#
To display the Error Disabled ports:
DGS-3627:admin# show ports err_disabled
Command : show ports err_disabled
Port
Port
Connection status
Reason
State
------
--------
---------------------
----------------
1:2
Enabled
Err-disabled
Storm control
Desc: Port 2
1:8
Enabled
Err-disabled
Storm control
Desc: Port 8
DGS-3627:admin#
To display the auto_negotiation ports:
DGS-3627:admin#
show ports 1:1-1:3 auto_negotiation
Command: show ports 1:1-1:3 auto_negotiation
Port : 1:1
--------------------
Auto Negotiation
: Enabled
Capability Bits
: 1000M_Full
Capbility Advertised Bits : 1000M_Full
Capbility Received Bits
:
Port : 1:2
--------------------
Auto Negotiation
: Enabled
Capability Bits
: 1000M_Full
Capbility Advertised Bits : 1000M_Full
Capbility Received Bits
:
Port : 1:3
--------------------
Auto Negotiation
: Enabled
Capability Bits
: 1000M_Full
Capbility Advertised Bits : 1000M_Full
Capbility Received Bits
:
DGS-3627:admin#
Page 669 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
665
Page 670 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
666
90
SYSLOG OR TRAP SOURCE-INTERFACE COMMANDS
The syslog or trap source-interface function is used for selecting a fixed interface as the source interface to send syslog
or trap message. It also provides a mechanism to select a certain IP address from the specified interface as the source
address to send the message. The servers beyond different networks receive the syslog or trap message always come
from a fixed source IP address, it is helpful to use the source IP address to identify the switch.
The Syslog or Trap Source-Interface commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
config syslog source_ipif
[<ipif_name> {<ipaddr>} | none]
show syslog source_ipif
config trap source_ipif
[<ipif_name> {<ipaddr> | <ipv6addr>} | none]
show trap source_ipif
Each command is listed, in detail, in the following sections.
config syslog source_ipif
Purpose
Configure syslog source IP interface.
Syntax
config syslog source_ipif [<ipif_name> {<ipaddr>} | none]
Description
This command is used to configure syslog source IP interface.
Parameters
ipif_name
- IP interface name. If only specify this parameter, the least IPv4 address and the
smallest IPv6 address of ipif_name will be used as source IP addresses.
none
- For clear the configured source IP interface.
ipaddr
- Specify the IPv4 address.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Configure syslog source IP interface:
DGS-3627:admin# config syslog source_ipif ipif3 14.0.0.5
Command: config syslog source_ipif ipif3 14.0.0.5
Success
DGS-3627:admin#
To clear the configured source IP interface for syslog:
DGS-3627:admin# config syslog source_ipif none
Command: config syslog source_ipif none
Success
DGS-3627:admin#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top