Configuring an ethernet subinterface – H3C Technologies H3C S10500 Series Switches User Manual
Page 15

4
Configuring an Ethernet subinterface
Follow these steps to configure an Ethernet subinterface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create an Ethernet
subinterface
interface interface-type
interface-number.subnumber
Required
This command also leads you to Ethernet
subinterface view.
Set the interface
description
description text
Optional
By default, the description of an Ethernet
subinterface is in the format of interface-name
Interface. For example, GigabitEthernet
1/0/1.1 Interface.
Restore the default settings
for the subinterface
default
Optional
NOTE:
•
You can configure IP- or IPX-related settings on an Ethernet subinterface. For more information, 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 might 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.
Follow these steps to shut down an Ethernet interface or subinterface, or a group of Ethernet interfaces:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet interface or
subinterface view, or port
group view
•
Enter Ethernet interface view:
interface interface-type interface-number
•
Enter Ethernet subinterface view:
interface interface-type
interface-number.subnumber
•
Enter port group view:
port-group manual port-group-name
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.
Shut down the Ethernet
interface or subinterface
shutdown
Required
By default, Ethernet interfaces and
subinterfaces are up.
CAUTION:
Use this command with caution. After you manually shut down an Ethernet interface, the Ethernet interface
cannot forward packets even if it is physically connected.