< Home

restart (interface view)

Function

The restart command restarts the current interface.

Format

restart

Parameters

None

Views

Ethernet interface view, Ethernet sub-interface view, Layer-2 Ethernet interface view, Layer-2 Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Layer-2 Eth-Trunk interface view, Layer-2 Eth-Trunk sub-interface view, VLANIF interface view, Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

The effect of the restart command is equal to executing the shutdown command and the undo shutdown command successively.

When an interface is configured with a sub-interface, the interval for consecutively running the restart command on the main interface needs to be 15 seconds at least.

Example

# Restart GigabitEthernet 0/0/1.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] restart
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >