H3C Technologies H3C SR8800 User Manual

Page 19

Advertising
background image

12

Configuring a Layer 3 Ethernet interface or

subinterface

Layer 3 Ethernet interface or subinterface configuration task list

Complete the following task to configure a Layer 3 Ethernet interface or subinterface:

Task Remarks

Setting the MTU for an Ethernet interface
or subinterface

Optional
Applicable to Layer 3 Ethernet interfaces and subinterfaces

Enabling traffic statistics collection on an
Ethernet subinterface

Optional
Applicable to Layer 3 Ethernet subinterfaces

Setting the MTU for an Ethernet interface or subinterface

The value of maximum transmission unit (MTU) affects the fragmentation and re-assembly of IP packets.
To set the MTU for an Ethernet interface or subinterface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface or

subinterface view.

interface interface-type
{ interface-number |

interface-number.subnumber }

N/A

3.

Set the MTU.

mtu size

The default setting is 1500 bytes.

Enabling traffic statistics collection on an Ethernet subinterface

This feature enables you to monitor traffic by providing the statistics about the inbound and outbound

unicast packets, multicasts, and broadcasts of a subinterface.
To enable traffic statistics collection on an Ethernet subinterface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet subinterface
view.

interface interface-type
interface-number.subnumber

N/A

3.

Enable traffic statistics
collection on the Ethernet

subinterface.

traffic-statistic enable

By default, traffic statistics
collection is disabled on an

Ethernet subinterface.

Advertising