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
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:
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module