Command Manual – Network Protocol
Quidway S8500 Series Routing Switches
Chapter 1 IP Address Configuration Commands
Huawei Technologies Proprietary
1-6
Description
Use the
ip host
command to configure the host name and the host IP address.
Use the
undo ip host
command to cancel the host name and the host IP address.
By default, host name and corresponding IP address are null.
Related command:
display ip host
.
Example
# Set Lanswtich1’s IP address to be 10.110.0.1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] ip host Lanswitch1 10.110.0.1
1.1.5 ip-protect enable
Syntax
ip-protect enable
undo ip-protect
View
VLAN interface view
Parameter
None
Description
Use the
ip-protect enable
command to enable IP address protection.
Use the
undo ip-protect
command to disable IP address protection.
After IP address protection is enabled, the current interface will no longer dynamically
learn ARP mapping entries, and existing dynamic ARP mapping entries will be
removed. At the same time, the switch will enable the MAC address auto filling function,
so that the user can configure static ARP entries that have only IP address.
By default, IP address protection is disabled.
You can use the
display this
command to view the status of IP address protection
(enabled/disabled) for the current VLAN interface.
Example
# Enable IP address protection for Vlan-interface 2.
<Quidway> system-view
System View: return to User View with Ctrl+Z.