By default, the duplex mode is auto for Ethernet interfaces.
Fiber ports do not support the half keyword.
5.
Set the speed for the Ethernet interface.
speed { 10 | 100 | 1000 | 10000 | 25000 | 40000 | 100000 | auto }
By default, an Ethernet interface negotiates a speed with its peer.
6.
Set the expected bandwidth for the Ethernet interface.
bandwidth bandwidth-value
By default, the expected bandwidth (in kbps) is the interface baud rate divided by 1000.
7.
Bring up the Ethernet interface.
undo shutdown
By default, Ethernet interfaces are in up state.
Configuring basic settings of an Ethernet subinterface
Restrictions and guidelines for Ethernet subinterface basic settings
The shutdown command cannot be configured on an Ethernet interface in a loopback test.
Procedure
1.
Enter system view.
system-view
2.
Create an Ethernet subinterface.
interface interface-type interface-number.subnumber
3.
Set the description for the Ethernet subinterface.
description text
The default setting is interface-name Interface. For example, Twenty-FiveGigE1/0/1.1
Interface.
4.
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.
5.
Bring up the Ethernet subinterface.
undo shutdown
By default, Ethernet subinterfaces are in up state.
Configuring the link mode of an Ethernet interface
About the link mode of an Ethernet interface
Interfaces on the device can operate either as Layer 2 or Layer 3 Ethernet interfaces. You can use
commands to set the link mode to bridge or route.
Restrictions and guidelines
After you change the link mode of an Ethernet interface, all commands (except the speed ,
shutdown ) on the Ethernet interface are restored to their defaults in the new link mode.
Procedure
1.
Enter system view.
system-view
9