R0106-HP MSR Router Series Interface Command Reference(V7)
40
Parameters
mac-address: Specifies a MAC address in the format of H-H-H.
Examples
# Configure the MAC address of Layer 3 Ethernet interface GigabitEthernet 2/0/1 as 0001-0001-0001.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] mac-address 1-1-1
mtu
Use mtu to set the MTU for an Ethernet interface or subinterface.
Use undo mtu to restore the default.
Syntax
mtu size
undo mtu
Default
The MTU of an Ethernet interface or subinterface is 1500 bytes.
Views
Layer 3 Ethernet interface view, Layer 3 Ethernet subinterface view
Predefined user roles
network-admin
Parameters
size: Sets the maximum transmission unit (MTU) in bytes.
The following matrix shows the value ranges for the size argument:
Hardware Value ran
g
e
MSR2000 46 to 1560
MSR3000 46 to 1560
MSR4000
Layer 3 Ethernet interface and subinterface: 46 to
1560
10-GE interface: 46 to 9600
Usage guidelines
As the MTU size decreases, the number of fragments grows. When you set the MTU for an interface,
consider QoS queue lengths to prevent a too small MTU from causing packet drops in QoS queuing. For
example, consider that the default FIFO queue length is 75. To achieve the best result, you can tune the
MTU with the mtu command or tune QoS queue lengths with the qos fifo queue-length command. For
more information about the qos fifo queue-length command, see ACL and QoS Command Reference.
Examples
# Set the MTU to 1430 bytes for Layer 3 Ethernet interface GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1










