11
Step Command
Remarks
3.
Set the MDIX mode of the
Ethernet interface.
mdix-mode
{
automdix
|
mdi
|
mdix
}
By default, a copper Ethernet
interface operates in auto mode to
negotiate pin roles with its peer.
Testing the cable connection of an Ethernet interface
IMPORTANT:
•
If the link of an Ethernet port is up, testing its cable connection will cause the link to go down and
then come up.
•
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
1.
Enter system view.
system-view
2.
Enter Ethernet interface view.
interface interface-type interface-number
3.
Test the cable connected to the Ethernet
interface.
virtual-cable-test
Enabling bridging on an Ethernet interface
When a packet arrives at an interface, the switch looks up the destination MAC address of the packet
in the MAC address table. If an entry is found and the outgoing interface is the same as the incoming
interface, the switch drops the packet.
To enable the switch to forward such packets rather than drop them, enable the bridging feature on
the Ethernet interface.
To enable bridging on 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.
Enable bridging on the
Ethernet interface.
port bridge enable
By default, bridging is disabled.
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