![Huawei Quidway S8500 Series Command Manual Download Page 192](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479192.webp)
Command Manual – Network Protocol
Quidway S8500 Series Routing Switches
Chapter 1 IP Address Configuration Commands
Huawei Technologies Proprietary
1-5
Note:
When you use the
ip address
command to configure IP addresses of VLAN interfaces,
the system will prompts if you continue if the IP address you configure is in different
network segment from the existing IP address. If you do continue, the IP address of the
VLAN interface will be modified. In addition, if the ARP entries (including dynamic ARP
entries and static ARP entries) in the original network segment match the new network
segment, they will not be removed; otherwise, the ARP entries in the original network
segment will be removed.
Related command:
display ip interface
.
Example
# Assign 129.12.0.1 to VLAN interface 1, with a subnet mask of 255.255.255.0.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface vlan-interface 1
[Quidway-Vlan-interface1] ip address 129.12.0.1 255.255.255.0
# Assign 129.12.0.10 to Ethernet4/0/0, with a 24-bit subnet mask.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface M-Ethernet4/0/0
[Quidway-M-Ethernet4/0/0] ip address 129.12.0.10 24
1.1.4 ip host
Syntax
ip
host
hostname
ip-address
undo ip
host
hostname
[
ip-address
]
View
System view
Parameter
hostname
: Name of the host. It is a character string that consists of 1 to 20 characters,
including letters, numbers, "_", or ",", and it must contain at least one letter.
ip-address
: Host IP address (the corresponding IP address to the host name) in dotted
decimal notation.