Configuring flow control on an ethernet interface – H3C Technologies H3C SR8800 User Manual

Page 12

Advertising
background image

5

NOTE:

You can configure IP addresses for Ethernet subinterfaces. For more information about IP addressing,
see

Layer 3—IP Services Configuration Guide.

For the local and remote Ethernet subinterfaces to transmit traffic correctly, configure them with the same
subinterface number and VLAN ID.

Shutting down an Ethernet interface or subinterface

You may need to shut down and then bring up an Ethernet interface or subinterface to activate some

configuration changes, for example, the speed or duplex mode changes.
To shut down an Ethernet interface or subinterface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface or

subinterface view, or port
group view.

Enter Ethernet interface view:

interface interface-type

interface-number

Enter port group view:

port-group manual

port-group-name

Enter Ethernet subinterface

view:

interface interface-type
interface-number.subnumber

Use any command.
To shut down an Ethernet interface

or subinterface, enter Ethernet
interface or subinterface view. To

shut down all Ethernet interfaces in

a port group, enter port group
view.

3.

Shut down the Ethernet

interface or subinterface.

shutdown

By default, Ethernet interfaces and
subinterfaces are up.

Configuring flow control on an Ethernet interface

You can avoid packet drops on a link by enabling flow control at both ends of the link. When traffic

congestion occurs at the receiving end, the receiving end sends a flow control (Pause) frame to ask the
sending end to suspend sending packets. In this way, flow control helps avoid packet drops.
To enable flow control 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 flow control.

flow-control

By default, flow control is
disabled.

Advertising