20
Configuration restrictions and guidelines
Fiber ports do not support the MDIX mode setting.
Configuration procedure
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, 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 interface is up, testing its cable connection will cause the link to go down
and then come up.
•
Fiber ports do not support this feature.
•
Ethernet copper ports on the LSQM1TGT24FD0 interface module do not support this feature.
This feature tests the cable connection of an Ethernet interface and displays cable test result within 5
seconds. The test result includes the cable's status and some physical parameters. If any fault is
detected, the test result shows the length from the local port to the faulty point.
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.
Perform a test for 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 the outgoing interface of the entry found 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
bridging on the Ethernet interface.
•
If no entry is found for the destination MAC address, the switch sends an ARP packet out of all
interfaces except the incoming interface. To enable the switch to send the ARP packet out of the
incoming interface, enable bridging on the Ethernet interface.
To enable bridging on an Ethernet interface: