Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 1 IP Address Configuration Commands
3Com Corporation
1-1
Chapter 1 IP Address Configuration Commands
1.1 IP Address Configuration Commands
1.1.1 ip address
Syntax
ip address ip-address net-mask [ sub ]
undo ip address [ ip-address net-mask [sub] ]
View
Interface view
Parameter
ip-address: Interface IP address, in dot delimitated decimal format.
net-mask: The mask of the corresponding subnet, in dot delimitated decimal format.
sub: To enable communications among different subnets, the configured slave IP
address should be used.
Description
Use the ip address command to set an IP address for an interface.
Use the undo ip address command to delete an IP address of the interface.
By default, no IP address is configured.
IP address is classified into five types, and users can select proper IP subnet according
to actual conditions. Moreover, in the case that part of the host address is composed of
0 or the entire host address is composed of 1, the address has some special use and
can not be used as ordinary IP address.
The mask identifies the network number in an IP address.
Under normal conditions, one interface only needs to be configured with one IP
address. However, to enable one interface of a router to connect to several subnets,
one interface can be configured with several IP addresses. Among them, one is master
IP address, and others are slave IP addresses. Following is the relationship between
the master and slave IP addresses:
z If a master IP address is configured while there’s already an existing master IP
address, the original one will be deleted and the newly configured will take effect.
z The command undo ip address without parameters indicates to delete all the IP
addresses of the interface. The command undo ip address ip-address net-mask