R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
10
half: Sets the interface to operate in half-duplex mode. This keyword is not available for the fiber combo
ports.
Description
Use the duplex command to set the duplex mode for an Ethernet interface.
Use the undo duplex command to restore the default duplex mode of the Ethernet interface.
By default, an Ethernet interface operates in auto-negotiation mode.
Related commands: speed.
Examples
# Configure interface GigabitEthernet 0/0 to operate in full-duplex mode.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] duplex full
interface
Syntax
interface interface-type { interface-number | interface-number.subnumber }
View
System view
Default level
2: System level
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number, and subnumber is the number of a subinterface created under the interface. The subnumber
argument ranges from 1 to 4094.
Description
Use the interface command to enter interface or subinterface view. With the
interface-number.subnumber argument specified, if the subinterface identified by the argument does not
exist, this command creates the subinterface first, and then enters subinterface view.
Examples
# Enter GigabitEthernet 0/3 interface view (assuming that the interface is a Layer 2 Ethernet interface).
<Sysname> system-view
[Sysname] interface gigabitethernet 0/3
[Sysname-GigabitEthernet0/3]
# Create Ethernet subinterface GigabitEthernet 0/3.1 and enter GigabitEthernet 0/3.1 subinterface view
(assuming that GigabitEthernet 0/3 is a Layer 2 Ethernet interface and the subinterface does not exist).
<Sysname> system-view
[Sysname] interface gigabitethernet 0/3.1
[Sysname-GigabitEthernet0/3.1]