3Com 8807 Command Reference Manual page 104

8800 series
Hide thumbs Also See for 8807:
Table of Contents

Advertisement

102
C
7: IP A
HAPTER
DDRESS
n
ip host
C
C
ONFIGURATION
OMMANDS
By default, a VLAN interface/loopback interface/console interface does not have
an IP address configured.
Normally, a VLAN interface/loopback interface/console interface only needs to be
configured with one IP address. But you can also assign up to 21 IP addresses to a
VLAN interface/loopback interface/console interface to enable it to connect to
multiple subnets. Of all the IP addresses assigned to a VLAN interface/loopback
interface/console interface, one is the primary IP address, and the other are
secondary IP addresses. The relationship between primary and secondary
addresses is:
When you configure a primary IP address for an interface already has a primary
IP address configured, the newly configured one replaces the old one.
If you execute the undo ip address command without providing any
parameter, the switch removes both primary and secondary IP addresses of the
interface. The undo ip address [ ip-address { mask | mask-length } command
can be used to delete the primary IP address, while the undo ip address [
ip-address { mask | mask-length } sub command can be used to delete the
secondary IP address.
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.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] interface vlan-interface 1
[3Com-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.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] interface M-Ethernet4/0/0
[3Com-M-Ethernet4/0/0] ip address 129.12.0.10 24
Syntax
ip host hostname ip-address
undo ip host hostname [ ip-address ]
View
System view

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

88148810

Table of Contents