H3C Technologies H3C SecPath F1000-E User Manual

Page 39

Advertising
background image

14

Step Command

Remarks

5.

Set the port speed.

speed { 10 | 100 | 1000 |
auto }

Optional.
auto by default.

6.

Restore the default settings
for the interface.

default

Optional.

To configure an Ethernet subinterface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create an Ethernet
subinterface.

interface interface-type
interface-number.subnumber

This command also leads you to
Ethernet subinterface view.

3.

Set the interface description. description text

Optional.
By default, the description of an
interface is in the format of

interface-name Interface. For

example, GigabitEthernet0/1.1
Interface.

4.

Restore the default settings for

the interface.

default

Optional.

NOTE:

You can configure IP-related settings on an Ethernet subinterface. For more information, see
"Configuring IPv4 address."

To use an Ethernet subinterface to transmit and receive packets, you must associate it with a VLAN.

For the local and remote Ethernet subinterfaces to transmit traffic correctly, configure them with the same
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.

(Approach 1) Enter Ethernet interface
view:

interface interface-type

interface-number

(Approach 2) Enter Ethernet

subinterface view:

interface interface-type
interface-number.subnumber

Use either appraoch.

3.

Shut down the Ethernet
interface or subinterface.

shutdown

By default, Ethernet
interfaces and subinterfaces

are up.

Advertising