Ip Host - 3Com Switch 4500 Family Manual

4500 series
Hide thumbs Also See for Switch 4500 Family:
Table of Contents

Advertisement

A newly specified IP address overwrites the previous one if there is any.
The IP address of a VLAN interface must not be on the same network segment as that of a
loopback interface on a device.
Related commands: display ip interface.
Examples
# Assign the IP address 129.12.0.1 to VLAN-interface 1 with subnet mask 255.255.255.0.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] ip address 129.12.0.1 255.255.255.0

ip host

Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view
Parameters
hostname: Host name, a string of 1 to 20 characters which can be letters, numbers, hyphens (-), or dots
(.). The host name must include at least one letter.
ip-address: IP address of the specified host, in dotted decimal notation.
Description
Use the ip host command to create a mapping between host name and IP address in the static DNS
database.
Use the undo ip host command to remove the mapping.
No mappings are created by default.
Each host name can correspond to only one IP address. When IP addresses are configured for the
same host for multiple times, only the IP address configured last time is valid.
Related commands: display ip host.
Examples
# Configure IP address 10.110.0.1 for host aaa.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ip host aaa 10.110.0.1
1-6

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 26-port4500 50-port4500 pwr 26-port

Table of Contents