5
Step Command
Remarks
7.
Restore the default
settings for the Ethernet
interface.
default
N/A
8.
Bring up the Ethernet
interface.
undo shutdown
By default, the Ethernet interface is up.
Configuring an Ethernet subinterface
When you configure an Ethernet subinterface, follow these restrictions and guidelines:
•
To transmit and receive packets through an Ethernet subinterface, you must associate it with a VLAN.
For more information, see
Layer 2—LAN Switching Configuration Guide
.
•
To transmit packets between a local Ethernet subinterface and a remote Ethernet subinterface,
configure them with the same subinterface number and VLAN ID.
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
N/A
3.
Set the description for the
Ethernet subinterface.
description
text
The default setting is
interface-name
Interface
. For
example,
GigabitEthernet1/0/1.1
Interface
.
4.
Restore the default settings for
the Ethernet subinterface.
default
N/A
5.
Set the expected bandwidth
for the Ethernet subinterface.
bandwidth
bandwidth-value
By default, the expected
bandwidth (in kbps) is the interface
baud rate divided by 1000.
6.
Bring up the Ethernet
subinterface.
undo shutdown
By default, the Ethernet
subinterface is up.
Configuring the link mode of an Ethernet interface
CAUTION:
After you change the link mode of an Ethernet interface, all commands (except the
shutdown
and
combo
enable
commands) on the Ethernet interface are restored to their defaults in the new link mode.
The following matrix shows the feature and hardware compatibility:
Hardware
Link mode configuration compatibility
F5020/F5040 Yes
M9006/M9010/M9014 Yes
VFW1000 No