14
•
In auto mode, the interface negotiates pin roles with its peer.
To enable the interface to communicate with its peer, make sure that its transmit pins are connected to the
remote receive pins. If the interface can detect the connection cable type, set the interface in auto MDI
mode. If not, set its MDI mode by using the following guidelines:
•
When a straight-through cable is used, set the interface to operate in the MDI mode different than
its peer.
•
When a crossover cable is used, set the interface to operate in the same MDI mode as its peer, or
set either end to operate in auto mode.
To set the MDI 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 MDI mode of the
Ethernet interface.
mdi
{
across
|
auto
|
normal
}
Optional.
By default, a copper Ethernet
interface operates in auto mode to
negotiate pin roles with its peer.
Enabling bridging on an Ethernet interface
When an incoming packet arrives, the device looks up the destination MAC address of the packet in the
MAC address table. If an entry is found, but the outgoing interface is the same as the receiving interface,
the device discards the packet.
To enable the device to forward such packets rather than drop them, enable the bridging function 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
Disabled by default.
Testing the cable connection of an Ethernet interface
IMPORTANT:
•
Fiber ports do not support this feature.
•
If the link of an Ethernet port is up, testing its cable connection will cause the link to come down and then
go up.