Configuring an ethernet subinterface, Bringing up ethernet interfaces and subinterfaces – H3C Technologies H3C S12500 Series Switches User Manual

Page 16

Advertising
background image

8

Step Command

Remarks

15.

Set the duplex mode.

duplex { auto | full | half }

Optional.
The default setting is auto.
A fiber port does not support half
keyword.
10-GE interfaces do not support
this command.

16.

Set the transmission rate.

speed { 10 | 100 | 1000 | auto }

Optional.
The default setting is auto.

17.

Restore the default settings.

default

Optional.

18.

Set the intended bandwidth.

bandwidth bandwidth-value

Optional.

Configuring an Ethernet subinterface

Step Command

Remarks

19.

Enter system view.

system-view

N/A

20.

Enter Ethernet interface view. interface interface-type

interface-number

N/A

21.

Configure the interface to
operate in Layer 3 mode.

port link-mode route

By default, an Ethernet interface
operates in Layer 2 mode.

22.

Return to system view.

quit

N/A

23.

Create an Ethernet
subinterface.

interface interface-type
interface-number.subnumber

This command also leads you to
Ethernet subinterface view.

24.

Set the interface description. description text

Optional.
By default, the description of an

interface is in the format of
interface-name Interface. For

example, GigabitEthernet3/0/2.1

Interface.

25.

Restore the default settings.

default

Optional.

NOTE:

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

You can configure IP-related settings on an Ethernet subinterface. For more information, see Layer 3IP

Services Configuration Guide.

Bringing up Ethernet interfaces and subinterfaces

You can use the commands in this section to bring up a single Ethernet interface in Ethernet interface view,

or to bring up multiple Ethernet interfaces in port group view.
To bring up Ethernet interfaces:

Advertising