Operation Manual – Ethernet Interface
H3C S9500 Series Routing Switches
Chapter 1 Ethernet Interface Configuration
1-10
To do...
Use the command...
Remarks
Configure the MDI mode
of the Ethernet interface
mdi
{
across
|
auto
|
normal
}
Optional
The default is auto, that is,
the system decides the
role of the pins (to send
packets or receive
packets) through auto
negotiation.
Caution:
You can configure the cable type of 10/100 Mbps and 10/100/1000 Mbps electrical
interfaces only. The cable type of optical Ethernet interfaces is not configurable.
1.1.12 Configuring the Source MAC Address for an Interface
Normally, when a packet is forwarded by an S9500 switch on Layer 3, its source MAC
address is that of the VLAN interface which the outbound interface corresponds to.
However, It is required in some cases that the source MAC addresses of packets
forwarded through different interfaces be different for forwarding policies to take effect
on the peer devices.
By configuring the source MAC address for an interface, you can set the least octet of
the source MAC addresses of the packets forwarded through the interface for
forwarding policies to take effect on the peer devices.
Follow these steps to configure the source MAC address for an interface:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface
view
interface interface-type
interface-number
—
Configure the source
MAC address
source-mac-tail last-byte
Required
By default, the source
MAC address of an
interface is that of the
corresponding VLAN
interface.