1-4
ip address
Syntax
ip
address
ip-address
{
mask | mask-length
} [
sub
]
undo ip address
[
ip-address
{
mask | mask-length
} [
sub
] ]
View
VLAN interface view, loopback interface view
Parameters
ip-address
: IP address, in dotted decimal notation.
mask
: Subnet mask, in dotted decimal notation.
mask-length
: Subnet mask length, the number of consecutive ones in the mask. It is in the range of 0 to
32.
sub
: Specifies a secondary IP address of a VLAN or loopback interface.
Description
Use the
ip address
command to specify an IP address and mask for a VLAN or loopback interface.
Use the
undo ip address
command to remove an IP address and mask of a VLAN or loopback
interface.
By default, no IP address is configured for VLAN or loopback interface.
Note that:
z
If you execute the
undo ip address
command without any parameter, the switch deletes both
primary and secondary IP addresses of the interface.
z
The
undo ip address
ip-address
{
mask | mask-length
} command is used to delete the primary IP
address.
z
The
undo ip address
ip-address
{
mask | mask-length
}
sub
command is used to delete specified
secondary IP addresses.
z
You can assign at most five IP address to an interface, among which one is the primary IP address
and the others are secondary IP addresses. A newly specified primary IP address overwrites the
previous one if there is any.
z
The primary and secondary IP addresses of an interface cannot reside on the same network
segment; the IP address of a VLAN interface must not be in the same network segment as that of a
loopback interface on a device.
z
A VLAN interface cannot be configured with a secondary IP address if the interface has been
configured to obtain an IP address through BOOTP or DHCP.
Related commands:
display ip interface
.
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...