Enabling bridging on an ethernet interface, Configuring a layer 3 ethernet interface, Setting the mtu for an ethernet interface – H3C Technologies H3C S5560 Series Switches User Manual

Page 30

Advertising
background image

16

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.

Configuring a Layer 3 Ethernet interface

Setting the MTU for an Ethernet interface

The value of maximum transmission unit (MTU) affects the fragmentation and reassembly of IP packets.

Typically, you do not need to modify the MTU of an interface.
To set the MTU for an Ethernet interface:

Advertising