Page 256 / 757 Scroll up to view Page 251 - 255
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
252
31
D-LINK UNIDIRECTIONAL LINK DETECTION (DULD)
COMMANDS
The unidirectional link detection referred in this document provides a mechanism that can be used to detect unidirectional
link for Ethernet switches. This function is established based on OAM, so OAM should be enabled before starting
detection.
The D-Link Unidirectional Link Detection (DULD) Resolver commands in the Command Line Interface (CLI) are listed
(along with the appropriate parameters) in the following table.
Command
Parameters
config duld ports
[<portlist> | all ] {state [enable |disable] | mode [shutdown | normal] |
discovery_time <sec 5-65535>}(1)
show duld ports
{<portlist>}
Each command is listed, in detail, in the following sections.
config duld ports
Purpose
Used to configure unidirectional link detection on port
Syntax
config duld ports [<portlist> | all ] {state [enable |disable] | mode [shutdown | normal] |
discovery_time <sec 5-65535>}(1)
Description
The command used to configure unidirectional link detection on ports.
Unidirectional link detection provides discovery mechanism based on 802.3ah to discovery its
neighbor. If the OAM discovery can complete in configured discovery time, it concludes the
link is bidirectional. Otherwise, it starts detecting task to detect the link status.
Parameters
<portlist>
- Specify a range of ports.
state
- Specifies these ports unidirectional link detection status. The default state is disabled.
mode
- See below:
shutdown
- If any unidirectional link is detected, disable the port and log an event.
normal
- Only log an event when a unidirectional link is detected.
discovery_time
- Specifies these ports neighbor discovery time. If the discovery is timeout,
the unidirectional link detection will start. The default discovery time is 5 seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable unidirectional link detection on port 1:
DGS-3627:admin# config duld ports 1 state enable
Commands: config duld ports 1 state enable
Success
DGS-3627:admin#
Page 257 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
253
show duld
Purpose
Used to show unidirectional link detection information
Syntax
show duld ports {<portlist>}
Description
The command used to show ports unidirectional link information including:
Admin state:
port’s unidirectional link detection configuration state.
Discovery Time:
the neighbor discovery timer.
Link Status:
port’s link detection result. It maybe
Unknown: either local or remote do not support OAM or unidirectional detection.
Bidirectional
TX Fault
RX Fault
Link Down
Oper Status:
indicates the detection is operational or not.
Enabled: the port supports OAM and unidirectional detection and discover remote peer
supporting this detection capability.
Disabled: either local or remote do not support OAM or unidirectional detection.
So we should enable OAM when we need to detect the unidirectional link.
Parameters
<portlist>
- Specify a range of ports to display.
If no port specified, all ports will be displayed.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To show ports 1-4 unidirectional link detection information:
DGS-3627:admin# config duld ports 1,2,4 state enable
Commands: config duld ports 1,2,4 state enable
Success
DGS-3627:admin# show duld ports 1-4
Commands: show duld ports 1-4
port
Admin State
Oper Status
Mode
Link Status
Discovery Time(Sec)
----
-----------
-----------
----------
--------------
-------------------
1
Enabled
Enabled
Shutdown
Bidirectional
5
2
Enabled
Enabled
Normal
RX Fault
5
3
Enabled
Enabled
Normal
TX Fault
5
4
Disabled
Disabled
Normal
Unknown
5
5
Enabled
Enabled
Normal
Link Down
5
DGS-3627:admin#
Page 258 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
254
32
DOMAIN NAME SERVER (DNS)RELAY COMMANDS
The Domain Name Server (DNS) relay commands in the Command Line Interface (CLI) are listed (along with the
appropriate parameters) in the following table.
Command
Parameters
config dnsr
[[primary | secondary] nameserver <ipaddr> | [add | delete] static
<domain_name 32> <ipaddr>]
enable dnsr
{[cache | static]}
disable dnsr
{[cache | static]}
show dnsr
{static}
Each command is listed, in detail, in the following sections.
config dnsr
Purpose
Used to configure the DNS relay function.
Syntax
config dnsr [[primary | secondary] nameserver <ipaddr> | [add | delete] static
<domain_name 32> <ipaddr>]
Description
This command is used to configure the DNS relay function on the Switch.
Parameters
primary
Indicates that the IP address below is the address of the primary DNS server.
secondary
Indicates that the IP address below is the address of the secondary DNS server.
nameserver <ipaddr>
The IP address of the DNS nameserver.
[add | delete]
– Indicates whether to add or delete the DNS relay function.
<domain_name 32>
The domain name of the entry.
<ipaddr>
The IP address of the entry.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set IP address 10.43.21.12 of primary.
DGS-3627:admin# config dnsr primary nameserver 10.43.21.12
Command: config dnsr primary nameserver 10.43.21.12
Success
DGS-3627:admin#
Example usage:
To add an entry domain name dns1, IP address 10.43.21.12 to DNS static table:
Page 259 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
255
DGS-3627:admin# config dnsr add static dns1 10.43.21.12
Command: config dnsr add static dns1 10.43.21.12
Success.
DGS-3627:admin#
Example usage:
To delete an entry domain name dns1, IP address 10.43.21.12 from DNS static table.
DGS-3627:admin# config dnsr delete static dns1 10.43.21.12
Command: config dnsr delete static dns1 10.43.21.12
Success.
DGS-3627:admin#
enable dnsr
Purpose
Used to enable DNS relay.
Syntax
enable dnsr {[cache | static]}
Description
This command is used, in combination with the
disable dnsr
command below, to enable and
disable DNS Relay on the Switch.
Parameters
cache
This parameter will allow the user to enable the cache lookup for the DNS rely on the
Switch.
static
This parameter will allow the user to enable the static table lookup for the DNS rely on
the Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable status of DNS relay:
DGS-3627:admin# enable dnsr
Command: enable dnsr
Success.
DGS-3627:admin#
Example usage:
To enable cache lookup for DNS relay.
DGS-3627:admin# enable dnsr cache
Command: enable dnsr cache
Success.
DGS-3627:admin#
Example usage:
Page 260 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
256
To enable static table lookup for DNS relay.
DGS-3627:admin# enable dnsr static
Command: enable dnsr static
Success.
DGS-3627:admin#
disable dnsr
Purpose
Used to disable DNS relay on the Switch.
Syntax
disable dnsr {[cache | static]}
Description
This command is used, in combination with the
enable dnsr
command above, to enable and
disable DNS Relay on the Switch.
Parameters
cache
– This parameter will allow the user to disable the cache lookup for the DNS relay on the
Switch.
static
– This parameter will allow the user to disable the static table lookup for the DNS relay on
the Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable status of DNS relay.
DGS-3627:admin# disable dnsr
Command: disable dnsr
Success.
DGS-3627:admin#
Example usage:
To disable cache lookup for DNS relay.
DGS-3627:admin# disable dnsr cache
Command: disable dnsr cache
Success.
DGS-3627:admin#
Example usage:
To disable static table lookup for DNS relay.
DGS-3627:admin# disable dnsr static
Command: disable dnsr static
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