142
Usage guidelines
This command deletes the next-startup configuration file from the storage medium, and then reboots
the device with the factory-default configuration.
Make sure you understand the impact on the network when you use this command.
Examples
# Initialize the device.
<Sysname> initialize
The startup configuration file will be deleted and the system will be rebooted.Continue?
[Y/N]y
Now rebooting, please wait...
ipsetup dhcp
Use
ipsetup dhcp
to configure VLAN-interface 1 to obtain an IPv4 address through DHCP.
Syntax
ipsetup dhcp
Default
No IPv4 address for VLAN-interface 1 can be obtained through DHCP.
Views
User view
Predefined user roles
network-admin
Usage guidelines
You can use either of the following methods to assign an IPv4 address to VLAN-interface 1:
•
DHCP
—VLAN-interface 1 acts as a DHCP client to dynamically obtain an IPv4 address from
the DHCP server.
•
Manual
—Allows you to use the
ipsetup ip address
command to assign an IPv4 address to
this interface.
Whichever method is used, the newly obtained IPv4 address overwrites the existing IPv4 address.
Examples
# Configure VLAN-interface 1 to obtain an IPv4 address through DHCP.
<Sysname> ipsetup dhcp
Related commands
ipsetup ip address
ipsetup ip address
Use
ipsetup ip address
to assign an IPv4 address to VLAN-interface 1.
Syntax
ipsetup ip-address ip-address
{
mask-length
|
mask
} [
default-gateway ipv4-gateway-address
]
Default
No IPv4 address is assigned to VLAN-interface 1.