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

Table Of Contents
13
View
Ethernet interface view, Ethernet subinterface view
Default level
2: System level
Parameters
None
Description
Use the shutdown command to shut down an Ethernet interface or subinterface.
Use the undo shutdown command to bring up an Ethernet interface or subinterface.
By default, Ethernet interfaces and subinterfaces are in the up state.
You may need to shut down and then bring up an Ethernet interface to activate configuration changes
such as the speed or duplex mode changes.
Examples
# Shut down interface GigabitEthernet 0/0.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] shutdown
# Shut down subinterface GigabitEthernet 0/0.1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0.1
[Sysname-GigabitEthernet0/0.1] shutdown
# Bring up interface GigabitEthernet 0/0.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/0
[Sysname-GigabitEthernet0/0] undo shutdown
speed
Syntax
speed { 10 | 100 | 1000 | auto }
undo speed
View
Ethernet interface view
Default level
2: System level
Parameters
10: Sets the interface speed to 10 Mbps. This keyword is not available for fiber ports.
100: Sets the interface speed to 100 Mbps. This keyword is not available for fiber ports.
1000: Sets the interface speed to 1000 Mbps.
auto: Enables the interface to negotiate a speed with its peer.