3Com Switch 8800 Advanced Software V5 Configuration Guide

60 CHAPTER 6: ETHERNET INTERFACE CONFIGURATION
Configuring the Cable
Type for an Ethernet
Interface
Follow these steps to configure the cable type for an Ethernet Interface:
Configuring the Source
MAC Address for an
Interface
Normally, when a packet is forwarded by a Switch 8800 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:
c
CAUTION: After you configure the source MAC address for an interface, packets
forwarded on Layer 3 through the interface use the MAC address of the
corresponding VLAN interface as their source MAC addresses, with the least octet
being replaced with value specified by the source-mac-tail command.
n
Currently, this command is not supported on the 3C17532, 3C17538, and
3C17526 modules.
Maintaining and
Displaying an
Ethernet Interface
To do... Use the command... Remarks
Enter system view system-view -
Enter Ethernet interface view interface interface-type
interface-number
-
Configure the cable type for
an Ethernet interface
mdi { across | auto | normal
}
Optional
Defaults to auto, that is, the
system automatically detects
the type of cable in use.
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.
To do... Use the command... Remarks
Display the information about
a interface
display interface [
interface-type [
interface-number ] ]
Available in any view
Display the information about
an interface in brief
display brief interface [
interface-type [
interface-number ] ] [ | { begin
| include | exclude} text ]
Available in any view