beautypg.com

Displaying and maintaining an ethernet interface, Configuring a layer 2 ethernet interface, Configuring storm suppression – H3C Technologies H3C S12500-X Series Switches User Manual

Page 24

background image

13

Typically, set the MDIX mode of the interface to AutoMDIX. Set the MDIX mode of the interface to

MDI or MDIX only when the device cannot determine the cable type.

When a straight-through cable is used, set the interface to operate in the MDIX mode different from
its peer.

When a crossover cable is used, set the interface to operate in the same MDIX mode as its peer, or
set either end to operate in AutoMDIX mode.

To set the MDIX mode 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 MDIX
mode of the

Ethernet interface.

mdix-mode { automdix | mdi | mdix }

By default, an Ethernet interface
operates in auto mode to negotiate
pin roles with its peer.

Testing the cable connection of an Ethernet interface

IMPORTANT:

Fiber ports do not support this feature.

This feature tests the cable connection of an Ethernet interface and displays cable test results within 5

seconds. The test results include the cable's status and some physical parameters. If any fault is detected,
the test results include the length of the faulty cable segment.
To test the cable connection 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.

Test the cable
connected to the

Ethernet interface.

virtual-cable-test

If the link of an Ethernet port is up,
testing its cable connection will cause

the link to come down and then go

up.

Displaying and maintaining an Ethernet interface

Execute display commands in any view and reset commands in user view.

Task Command

Display interface traffic statistics.

display counters { inbound | outbound } interface [ interface-type
[ interface-number ] ]

This manual is related to the following products: