beautypg.com

Enabling dldp – H3C Technologies H3C S12500 Series Switches User Manual

Page 54

background image

43

Configuring the duplex mode and speed of an

Ethernet interface

To make sure that DLDP works correctly on a link, you must configure the full duplex mode for the ports

at two ends of the link, and configure a speed for the two ports, rather than letting them negotiate a

speed.
To configure the duplex mode and speed of an Ethernet interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface

view.

interface interface-type
interface-number

N/A

3.

Set the duplex mode.

duplex full

Optional.
By default, full for a 10-GE interface,
and auto for other Ethernet interfaces.

4.

Set the port speed.

speed { 10 | 100 | 1000 }

Optional.

For more information about the duplex and speed commands, see Ethernet interface configuration

commands in the Interface Command Reference.

Enabling DLDP

IMPORTANT:

Before enabling DLDP, make sure that optical fibers or copper twisted pairs are connected, because DLDP
can detect unidirectional links only after all physical links are connected.

To correctly configure DLDP on the switch, first enable DLDP globally, and then enable it on each port.
To enable DLDP:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable DLDP globally.

dldp enable

Globally disabled by default.

3.

Enter Ethernet port view or
port group view.

Enter Ethernet port view:
interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Use either command.
Configurations made in Ethernet
port view apply to the current port

only. Configurations made in port

group view apply to all ports in the
port group.

4.

Enable DLDP.

dldp enable

Disabled on a port by default.

NOTE:

DLDP takes effect only on Ethernet interfaces (optical or copper).

This manual is related to the following products: